docusaurus/packages
Sébastien Lorber f6b1c85b01
fix(v2): fix docs homepage permalink issues (#2905)
* better fixes for docs homepage

* fix tests

* create special route for docs homepage + cleanup existing code

* no need to create multiple docs parent paths

* useful comment

* add test for slug + doc home usage at the same time error

* remove confusing variable name

* fix tests by using same suffix as before for docs base metadata path

* metadata: use homePageId correctly for nested docs: the full docId (including /) should be used to compare against homePageId

* add folder/testNested test doc

* refactor a bit processMetadata, the home should be handled correctly for all versions

* Workaround to fix issue when parent layout route (DocPage) has same path as the child route (DocItem): see https://github.com/facebook/docusaurus/issues/2917

* revert homePageId

* remove test doc

* remove test doc

* add useful comment
2020-06-17 14:54:08 +02:00
..
docusaurus fix(v2): Add optional-chaining and nullish-coalescing babel plugin (#2951) 2020-06-17 10:09:32 +08:00
docusaurus-1.x chore(v2): fix async tests (#2906) 2020-06-09 01:10:13 +08:00
docusaurus-init misc(v2): better dx: yarn clear, yarn watch, yarn serve (#2922) 2020-06-16 20:40:46 +08:00
docusaurus-init-1.x v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
docusaurus-mdx-loader v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
docusaurus-module-type-aliases v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
docusaurus-plugin-client-redirects misc(v2): better dx: yarn clear, yarn watch, yarn serve (#2922) 2020-06-16 20:40:46 +08:00
docusaurus-plugin-content-blog refactor(v2): legacy export = syntax (#2948) 2020-06-17 01:55:14 +08:00
docusaurus-plugin-content-docs fix(v2): fix docs homepage permalink issues (#2905) 2020-06-17 14:54:08 +02:00
docusaurus-plugin-content-pages misc(v2): better dx: yarn clear, yarn watch, yarn serve (#2922) 2020-06-16 20:40:46 +08:00
docusaurus-plugin-debug feat(v2): Implement proof-of-concept Docusaurus Debug Dashboard (#2928) 2020-06-14 15:30:04 +08:00
docusaurus-plugin-google-analytics v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
docusaurus-plugin-google-gtag v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
docusaurus-plugin-ideal-image misc(v2): better dx: yarn clear, yarn watch, yarn serve (#2922) 2020-06-16 20:40:46 +08:00
docusaurus-plugin-sitemap misc(v2): better dx: yarn clear, yarn watch, yarn serve (#2922) 2020-06-16 20:40:46 +08:00
docusaurus-preset-bootstrap v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
docusaurus-preset-classic fix(v2): Declare @docusaurus-plugin-debug as dependency of preset classic (#2944) 2020-06-17 01:55:40 +08:00
docusaurus-theme-bootstrap fix(v2): fix docs homepage permalink issues (#2905) 2020-06-17 14:54:08 +02:00
docusaurus-theme-classic fix(v2): fix docs homepage permalink issues (#2905) 2020-06-17 14:54:08 +02:00
docusaurus-theme-live-codeblock chore(v2): replace Clipboard with copy-text-to-clipboard (#2900) 2020-06-07 13:48:28 +08:00
docusaurus-theme-search-algolia chore(v2): replace classnames with clsx (#2895) 2020-06-07 13:40:06 +08:00
docusaurus-types v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
docusaurus-utils misc(v2): better dx: yarn clear, yarn watch, yarn serve (#2922) 2020-06-16 20:40:46 +08:00
lqip-loader v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00
stylelint-copyright v2.0.0-alpha.56 2020-05-27 20:18:28 +03:00