docusaurus/website/docs
Sébastien Lorber 15e73daae7
feat(v2): global data + useGlobalData + docs versions dropdown (#2971)
* doc components initial simplification

* doc components initial simplification

* add docContext test

* Add poc of global data system + use it in the theme

* Revert "doc components initial simplification"

This reverts commit f657b4c4

* revert useless changes

* avoid loosing context on docs switch

* fix docs tests

* fix @generated/globalData ts declaration / es import

* typo

* revert bad commit

* refactor navbar in multiple parts + add navbar item types validation + try to fix remaining merge bugs

* add missing watch mode for plugin debug

* fix docs global data integration, move related hooks to docs plugin + convert to TS

* change versions link label

* fix activeClassName react warning

* improve docs global data system + contextual navbar dropdown

* fix bug preventing the deployment

* refactor the global data system to namespace automatically by plugin name + plugin id

* proper NavbarItem comp

* fix tests

* fix snapshot

* extract theme config schema in separate file + rename navbar links to navbar items

* minor typos

* polish docs components/api

* polish useDocs api surface

* fix the docs version suggestions comp + data

* refactors + add docsClientUtils unit tests

* Add documentation

* typo

* Add check for duplicate plugin ids detection

* multi-instance: createData plugin data should be namespaced by plugin instance id

* remove attempt for multi-instance support
2020-07-21 11:16:08 +02:00
..
assets feat(v2): configureWebpack merge strategy + use file-loader for common asset types (#2994) 2020-07-01 19:06:02 +02:00
blog.md feat(v2): global data + useGlobalData + docs versions dropdown (#2971) 2020-07-21 11:16:08 +02:00
cli.md feat(v2): add support for serve command (#3080) 2020-07-20 19:00:37 +02:00
configuration.md feat(v2): useDocusaurusContext().siteMetadata (#3058) 2020-07-16 12:46:21 +02:00
contributing.md docs(v2): add trailing slash to external links (#2801) 2020-05-24 19:46:23 +08:00
creating-pages.md docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
deployment.md feat(v2): add support for serve command (#3080) 2020-07-20 19:00:37 +02:00
design-principles.md chore(v2): v2.0.0 alpha.44 (#2379) 2020-03-08 23:43:40 +08:00
docs.md docs(v2): correct the documentation for doc-only mode (#3040) 2020-07-09 17:15:23 +02:00
docusaurus-core.md feat(v2): global data + useGlobalData + docs versions dropdown (#2971) 2020-07-21 11:16:08 +02:00
docusaurus.config.js.md feat(v2): global data + useGlobalData + docs versions dropdown (#2971) 2020-07-21 11:16:08 +02:00
installation.md docs(v2): fix typo in command on installation page (#2886) 2020-06-06 04:14:53 +03:00
introduction.md docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
lifecycle-apis.md feat(v2): global data + useGlobalData + docs versions dropdown (#2971) 2020-07-21 11:16:08 +02:00
markdown-features.mdx feat(v2): configureWebpack merge strategy + use file-loader for common asset types (#2994) 2020-07-01 19:06:02 +02:00
migrating-from-v1-to-v2.md feat(v2): global data + useGlobalData + docs versions dropdown (#2971) 2020-07-21 11:16:08 +02:00
presets.md fix(v2): Use require.resolve to resolve plugin path in presets (#2794) 2020-05-23 04:57:02 +08:00
resources.md docs: mention posthog-docusaurus plugin (#2957) 2020-06-18 19:30:42 +08:00
search.md docs(v2): add mention that appID is optional (#2659) 2020-04-25 19:00:01 +03:00
static-assets.md docs(v2): make .nojekyll warning more obvious (#2887) 2020-06-05 10:22:06 +08:00
styling-layout.md docs(v2): various improvements (#2768) 2020-05-18 11:37:53 +08:00
support.md docs(v2): add community pages (#2545) 2020-04-06 01:10:22 +08:00
team.md refactor(v2): various tweaks to website (#2816) 2020-05-27 20:56:59 +08:00
theme-classic.md feat(v2): global data + useGlobalData + docs versions dropdown (#2971) 2020-07-21 11:16:08 +02:00
typescript-support.md docs(v2): Document TypeScript support (#2997) 2020-06-26 12:09:21 +02:00
using-plugins.md feat(v2): global data + useGlobalData + docs versions dropdown (#2971) 2020-07-21 11:16:08 +02:00
using-themes.md feat(v2): option and config validation life cycle method for official plugins (#2943) 2020-06-24 20:08:16 +02:00
versioning.md docs(v2): fix doc changes in #2606 2020-04-15 02:38:55 +08:00