Skip to content

Commit 825ce94

Browse files
committed
version beta 11
1 parent 9d73264 commit 825ce94

File tree

76 files changed

+1606
-1058
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1606
-1058
lines changed
File renamed without changes.

website/versioned_docs/version-2.0.0-beta.9/api/docusaurus.config.js.md renamed to website/versioned_docs/version-2.0.0-beta.11/api/docusaurus.config.js.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
sidebar_position: 0
23
id: docusaurus.config.js
34
description: API reference for Docusaurus configuration file.
45
slug: /api/docusaurus-config
@@ -360,6 +361,20 @@ Attempting to add unknown field in the config will lead to error in build time:
360361
Error: The field(s) 'foo', 'bar' are not recognized in docusaurus.config.js
361362
```
362363

364+
### `staticDirectories` {#staticdirectories}
365+
366+
An array of paths, relative to the site's directory or absolute. Files under these paths will be copied to the build output as-is.
367+
368+
- Type: `string[]`
369+
370+
Example:
371+
372+
```js title="docusaurus.config.js"
373+
module.exports = {
374+
staticDirectories: ['static'],
375+
};
376+
```
377+
363378
### `scripts` {#scripts}
364379

365380
An array of scripts to load. The values can be either strings or plain objects of attribute-value maps. The `<script>` tags will be inserted in the HTML `<head>`.

website/versioned_docs/version-2.0.0-beta.9/lifecycle-apis.md renamed to website/versioned_docs/version-2.0.0-beta.11/api/lifecycle-apis.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2+
sidebar_position: 1
23
id: lifecycle-apis
34
title: Lifecycle APIs
5+
slug: /lifecycle-apis
46
toc_max_heading_level: 4
57
---
68

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
label: Plugins
2+
position: 2
3+
link:
4+
type: doc
5+
id: api/plugins/plugins-overview # Dogfood using a "qualified id"

website/versioned_docs/version-2.0.0-beta.9/api/plugins/overview.md renamed to website/versioned_docs/version-2.0.0-beta.11/api/plugins/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
sidebar_position: 0
23
id: plugins-overview
34
title: 'Docusaurus plugins'
45
sidebar_label: Plugins overview

website/versioned_docs/version-2.0.0-beta.9/api/plugins/plugin-client-redirects.md renamed to website/versioned_docs/version-2.0.0-beta.11/api/plugins/plugin-client-redirects.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
sidebar_position: 4
23
id: plugin-client-redirects
34
title: '📦 plugin-client-redirects'
45
slug: '/api/plugins/@docusaurus/plugin-client-redirects'

website/versioned_docs/version-2.0.0-beta.9/api/plugins/plugin-content-blog.md renamed to website/versioned_docs/version-2.0.0-beta.11/api/plugins/plugin-content-blog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
sidebar_position: 2
23
id: plugin-content-blog
34
title: '📦 plugin-content-blog'
45
slug: '/api/plugins/@docusaurus/plugin-content-blog'
@@ -61,6 +62,7 @@ Accepted fields:
6162
| `feedOptions.description` | `string` | <code>\`${siteConfig.title} Blog\`</code> | Description of the feed. |
6263
| `feedOptions.copyright` | `string` | `undefined` | Copyright message. |
6364
| `feedOptions.language` | `string` (See [documentation](http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes) for possible values) | `undefined` | Language metadata of the feed. |
65+
| `sortPosts` | <code>'descending' \| 'ascending' </code> | `'descending'` | Governs the direction of blog post sorting. |
6466

6567
</APITable>
6668

website/versioned_docs/version-2.0.0-beta.9/api/plugins/plugin-content-docs.md renamed to website/versioned_docs/version-2.0.0-beta.11/api/plugins/plugin-content-docs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
sidebar_position: 1
23
id: plugin-content-docs
34
title: '📦 plugin-content-docs'
45
slug: '/api/plugins/@docusaurus/plugin-content-docs'
@@ -47,6 +48,7 @@ Accepted fields:
4748
| `docItemComponent` | `string` | `'@theme/DocItem'` | Main doc container, with TOC, pagination, etc. |
4849
| `docTagsListComponent` | `string` | `'@theme/DocTagsListPage'` | Root component of the tags list page |
4950
| `docTagDocListComponent` | `string` | `'@theme/DocTagDocListPage'` | Root component of the "docs containing tag" page. |
51+
| `docCategoryGeneratedIndexComponent` | `string` | `'@theme/DocCategoryGeneratedIndexPage'` | Root component of the generated category index page. |
5052
| `remarkPlugins` | `any[]` | `[]` | Remark plugins passed to MDX. |
5153
| `rehypePlugins` | `any[]` | `[]` | Rehype plugins passed to MDX. |
5254
| `beforeDefaultRemarkPlugins` | `any[]` | `[]` | Custom Remark plugins passed to MDX before the default Docusaurus Remark plugins. |
@@ -248,7 +250,7 @@ Accepted fields:
248250
| `title` | `string` | Markdown title or `id` | The text title of your document. Used for the page metadata and as a fallback value in multiple places (sidebar, next/previous buttons...). Automatically added at the top of your doc if it does not contain any Markdown title. |
249251
| `pagination_label` | `string` | `sidebar_label` or `title` | The text used in the document next/previous buttons for this document. |
250252
| `sidebar_label` | `string` | `title` | The text shown in the document sidebar for this document. |
251-
| `sidebar_position` | `number` | Default ordering | Controls the position of a doc inside the generated sidebar slice when using `autogenerated` sidebar items. See also [Autogenerated sidebar metadatas](/docs/sidebar#autogenerated-sidebar-metadatas). |
253+
| `sidebar_position` | `number` | Default ordering | Controls the position of a doc inside the generated sidebar slice when using `autogenerated` sidebar items. See also [Autogenerated sidebar metadata](/docs/sidebar#autogenerated-sidebar-metadata). |
252254
| `sidebar_class_name` | `string` | `undefined` | Gives the corresponding sidebar label a special class name when using autogenerated sidebars. |
253255
| `hide_title` | `boolean` | `false` | Whether to hide the title at the top of the doc. It only hides a title declared through the frontmatter, and have no effect on a Markdown title at the top of your document. |
254256
| `hide_table_of_contents` | `boolean` | `false` | Whether to hide the table of contents to the right. |

website/versioned_docs/version-2.0.0-beta.9/api/plugins/plugin-content-pages.md renamed to website/versioned_docs/version-2.0.0-beta.11/api/plugins/plugin-content-pages.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
sidebar_position: 3
23
id: plugin-content-pages
34
title: '📦 plugin-content-pages'
45
slug: '/api/plugins/@docusaurus/plugin-content-pages'

website/versioned_docs/version-2.0.0-beta.9/api/plugins/plugin-debug.md renamed to website/versioned_docs/version-2.0.0-beta.11/api/plugins/plugin-debug.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
sidebar_position: 5
23
id: plugin-debug
34
title: '📦 plugin-debug'
45
slug: '/api/plugins/@docusaurus/plugin-debug'

0 commit comments

Comments
 (0)