docusaurus/website/docs
Bharat Middha 09550b0535
feat: properly type-check the Docusaurus config of new sites (#5589)
* fix: makes types DocusaurusConfig optional to match docs

* add UserDocusaurusConfig with required keys for user config

* convert UserDocusaurusConfig to use util type

* Docusaurus website config should be type-checked by CI + fix all existing issues

* add doc for config typechecking

* Update template configs for TS autocompletion

* fix last config typechecking bugs

* reapply prettier

* reapply prettier-docs

* Fix TS doc: add missing ()

* fix some docu plugin types

* add "const config" for simpler jsdoc annotation

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-30 17:49:44 +02:00
..
_partials feat(v2): generalize usage of _ prefix convention to exclude content files/folders (#5173) 2021-07-15 13:21:41 +02:00
api chore: upgrade Prettier + regenerate lock file (#5611) 2021-09-30 12:54:17 +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 chore: upgrade Prettier + regenerate lock file (#5611) 2021-09-30 12:54:17 +02:00
i18n docs(website): document npm2yarn plugin + use new Tabs API everywhere (#5590) 2021-09-22 12:25:21 +02:00
migration docs: fix more references to Discord channels (#5585) 2021-09-19 09:45:21 +03:00
blog.mdx chore: upgrade Prettier + regenerate lock file (#5611) 2021-09-30 12:54:17 +02:00
browser-support.md docs(v2): add browsers support documentation (#4758) 2021-05-11 11:03:05 +02:00
cli.md feat(v2): generalize usage of _ prefix convention to exclude content files/folders (#5173) 2021-07-15 13:21:41 +02:00
configuration.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
deployment.mdx docs(website): document npm2yarn plugin + use new Tabs API everywhere (#5590) 2021-09-22 12:25:21 +02:00
docusaurus-core.md refactor(core): replace useDocusaurusContext().isClient by useIsBrowser() (#5349) 2021-08-12 19:02:29 +02:00
installation.md feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396) 2021-08-26 12:21:58 +02:00
introduction.md docs: update all Discord links (#5581) 2021-09-17 21:25:31 +03:00
lifecycle-apis.md feat(v2): plugins injectHtmlTags + configureWebpack should receive content loaded (#5037) 2021-06-22 17:36:51 +02:00
playground.mdx feat: docusaurus.new + improved StackBlitz playground (#5235) 2021-07-28 19:27:58 +02:00
presets.md docs: remove docusaurus-preset-name from preset doc (#5372) 2021-08-17 19:38:35 +02:00
search.md docs: add additional search options, typesense and local search (#5489) 2021-09-22 17:41:27 +02:00
static-assets.md docs(v2): use explicit heading IDs (#4460) 2021-03-19 11:00:41 +01:00
styling-layout.md docs: update docusaurus-plugin-sass instructions (#5352) 2021-08-13 12:47:13 +02:00
typescript-support.md feat: properly type-check the Docusaurus config of new sites (#5589) 2021-09-30 17:49:44 +02:00
using-plugins.md docs(v2): fix typo in code block on Using plugins page (#4910) 2021-06-05 17:24:45 +03:00
using-themes.md feat(v2): generalize usage of _ prefix convention to exclude content files/folders (#5173) 2021-07-15 13:21:41 +02:00