docusaurus/packages
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
..
docusaurus fix(v2): i18n perf issue: getTranslationFile() should not load content again (#4593) 2021-04-09 19:28:48 +02:00
docusaurus-1.x chore: prepare v1-v2 domain switch (#4475) 2021-03-22 20:26:47 +01:00
docusaurus-cssnano-preset chore(v2): prepare v2.0.0.alpha-72 release (#4440) 2021-03-16 14:30:54 +03:00
docusaurus-init feat(v2): auto-generated sidebars, frontmatter-less sites (#4582) 2021-04-15 16:20:11 +02:00
docusaurus-init-1.x chore(v2): prepare v2.0.0.alpha-72 release (#4440) 2021-03-16 14:30:54 +03:00
docusaurus-mdx-loader feat(v2): various markdown string parsing improvements/fixes (#4590) 2021-04-09 17:09:33 +02:00
docusaurus-migrate chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-module-type-aliases refactor(v2): correct client types and type aliases (#4451) 2021-03-19 11:32:38 +01:00
docusaurus-plugin-client-redirects chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-plugin-content-blog feat(v2): various markdown string parsing improvements/fixes (#4590) 2021-04-09 17:09:33 +02:00
docusaurus-plugin-content-docs feat(v2): auto-generated sidebars, frontmatter-less sites (#4582) 2021-04-15 16:20:11 +02:00
docusaurus-plugin-content-pages feat(v2): various markdown string parsing improvements/fixes (#4590) 2021-04-09 17:09:33 +02:00
docusaurus-plugin-debug chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-plugin-google-analytics chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-plugin-google-gtag chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-plugin-ideal-image chore: json files should be linted (#4462) 2021-03-18 19:39:50 +01:00
docusaurus-plugin-pwa fix(v2): fail-safe usage of browser storage (localStorage/sessionStorage) when access is denied (#4501) 2021-04-13 12:38:12 +02:00
docusaurus-plugin-sitemap chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-preset-bootstrap chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-preset-classic chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-remark-plugin-npm2yarn chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-theme-bootstrap chore(v2): Fix linter warnings (#4442) 2021-03-17 17:28:42 +01:00
docusaurus-theme-classic feat(v2): auto-generated sidebars, frontmatter-less sites (#4582) 2021-04-15 16:20:11 +02:00
docusaurus-theme-common fix(v2): fix code block title parsing, support multiple metastring attributes (#4541) 2021-04-14 10:24:52 +02:00
docusaurus-theme-live-codeblock fix(v2): i18n fixes (#4466) 2021-03-19 14:23:31 +01:00
docusaurus-theme-search-algolia chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
docusaurus-types fix(v2): i18n perf issue: getTranslationFile() should not load content again (#4593) 2021-04-09 19:28:48 +02:00
docusaurus-utils feat(v2): various markdown string parsing improvements/fixes (#4590) 2021-04-09 17:09:33 +02:00
docusaurus-utils-validation chore(v2): Joi cyclic dep warning (#4464) 2021-03-18 20:19:09 +01:00
lqip-loader chore(v2): prepare v2.0.0.alpha-72 release (#4440) 2021-03-16 14:30:54 +03:00
stylelint-copyright chore(v2): prepare v2.0.0.alpha-72 release (#4440) 2021-03-16 14:30:54 +03:00