docusaurus/website/docs
Sébastien Lorber db79d462ab
feat(v2): auto-generated sidebars, frontmatter-less sites (#4582)
* POC of autogenerated sidebars

* use combine-promises utility lib

* autogenerated sidebar poc working

* Revert "autogenerated sidebar poc working"

This reverts commit c81da980

* POC of auto-generated sidebars for community docs

* update tests

* add initial test suite for autogenerated sidebars + fix some edge cases

* Improve autogen sidebars: strip more number prefixes in folder breadcrumb + slugs

* fix typo!

* Add tests for partially generated sidebars + fix edge cases + extract sidebar generation code

* Ability to read category metadatas file from a file in the category

* fix tests

* change position of API

* ability to extract number prefix

* stable system to enable position frontmatter

* fix tests for autogen sidebar position

* renamings

* restore community sidebars

* rename frontmatter position -> sidebar_position

* make sidebarItemsGenerator fn configurable

* minor changes

* rename dirPath => dirName

* Make the init template use autogenerated sidebars

* fix options

* fix docusaurus site: remove test docs

* add _category_ file to docs pathsToWatch

* add _category_ file to docs pathsToWatch

* tutorial: use sidebar_position instead of file number prefixes

* Adapt Docusaurus tutorial for autogenerated sidebars

* remove slug: /

* polish the homepage template

* rename _category_ sidebar_position to just "position"

* test for custom sidebarItemsGenerator fn

* fix category metadata + add link to report tutorial issues

* fix absolute path breaking tests

* fix absolute path breaking tests

* Add test for floating number sidebar_position

* add sidebarItemsGenerator unit tests

* add processSidebars unit tests

* Fix init template broken links

* windows test

* increase code translations test timeout

* cleanup mockCategoryMetadataFiles after windows test fixed

* update init template positions

* fix windows tests

* fix comment

* Add autogenerated sidebar items documentation + rewrite the full sidebars page doc

* add useful comment

* fix code block title
2021-04-15 16:20:11 +02:00
..
api feat(v2): auto-generated sidebars, frontmatter-less sites (#4582) 2021-04-15 16:20:11 +02:00
assets refactor(v2): async md image transformer + pathname protocol as an escape hatch (#3087) 2020-07-21 17:45:06 +02:00
guides feat(v2): auto-generated sidebars, frontmatter-less sites (#4582) 2021-04-15 16:20:11 +02:00
i18n feat(v2): auto-generated sidebars, frontmatter-less sites (#4582) 2021-04-15 16:20:11 +02:00
migration chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
blog.md chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
cli.md docs(v2): fix run-on sentence (#4543) 2021-04-01 19:59:39 +02:00
configuration.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
contributing.md docs: fix link to issue template (#4497) 2021-03-23 17:00:58 +01:00
deployment.mdx feat(v2): docusaurus deploy: ability to configure port in git url (#4545) 2021-04-09 18:05:16 +02:00
design-principles.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
docusaurus-core.md docs(v2): fixed the directory of index.js (#4559) 2021-04-05 18:56:14 +02:00
installation.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
introduction.md chore: prepare v1-v2 domain switch (#4475) 2021-03-22 20:26:47 +01:00
lifecycle-apis.md fix(v2): i18n perf issue: getTranslationFile() should not load content again (#4593) 2021-04-09 19:28:48 +02:00
presets.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
search.md docs(v2): config for self-hosted docsearch crawler (#4524) 2021-03-29 17:53:51 +02:00
static-assets.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
styling-layout.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
typescript-support.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
using-plugins.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
using-themes.md docs(v2): heading typo (#4606) 2021-04-13 11:24:46 +02:00