@docusaurus/core
Advanced tools
Changelog
2.0.0-alpha.41 (2020-02-16)
docusaurus-init
, docusaurus-preset-classic
, docusaurus-theme-classic
docusaurus-theme-classic
, docusaurus
docusaurus-theme-classic
docusaurus-plugin-content-pages
, docusaurus-utils
, docusaurus
docusaurus-theme-classic
docusaurus-theme-classic
, docusaurus-theme-live-codeblock
docusaurus-theme-classic
docusaurus-theme-search-algolia
docusaurus-plugin-content-blog
, docusaurus-theme-classic
docusaurus
docusaurus-mdx-loader
docusaurus-theme-live-codeblock
docusaurus-theme-classic
, docusaurus-theme-live-codeblock
docusaurus-theme-classic
, docusaurus
Changelog
2.0.0-alpha.40 (2019-12-25)
docusaurus-theme-classic
docusaurus
docusaurus-mdx-loader
, docusaurus-plugin-content-blog
, docusaurus-plugin-content-docs
docusaurus-theme-classic
docusaurus-theme-classic
docusaurus-theme-classic
, docusaurus
docusaurus-theme-search-algolia
, docusaurus
docusaurus-theme-classic
, docusaurus-theme-live-codeblock
docusaurus-init
docusaurus
docusaurus-1.x
, docusaurus-init
, docusaurus-mdx-loader
, docusaurus-plugin-content-blog
, docusaurus-plugin-content-docs
, docusaurus-plugin-ideal-image
, docusaurus-theme-live-codeblock
, docusaurus
docusaurus
Changelog
2.0.0-alpha.38 (2019-12-06)
docusaurus-plugin-content-blog
, docusaurus-plugin-content-docs
, docusaurus-plugin-content-pages
, docusaurus-theme-classic
, docusaurus-utils
If you have swizzled any Docs/Blog component that depends on metadata, you'll have to update. If you haven't, no action is needed.
For example, if you've swizzled @theme/DocItem
. You'll have to update
- const {metadata, content: DocContent} = props;
+ const {content: DocContent} = props;
+ const {metadata} = DocContent;
docusaurus
docusaurus-plugin-ideal-image
docusaurus-mdx-loader
docusaurus-1.x
docusaurus
docusaurus-utils
docusaurus-theme-search-algolia
Changelog
2.0.0-alpha.37 (2019-12-01)
docusaurus-init
, docusaurus-plugin-content-blog
, docusaurus-plugin-content-docs
, docusaurus-plugin-content-pages
, docusaurus-theme-classic
, docusaurus-theme-live-codeblock
, docusaurus-theme-search-algolia
, docusaurus-utils
, docusaurus
docusaurus-theme-classic
, docusaurus
docusaurus-plugin-content-blog
docusaurus-plugin-content-docs
, docusaurus-types
, docusaurus
docusaurus-mdx-loader
, docusaurus-plugin-content-docs
, docusaurus-plugin-sitemap
, docusaurus-theme-classic
, docusaurus
docusaurus-plugin-content-docs
, docusaurus-theme-classic
, docusaurus-types
, docusaurus
docusaurus-theme-classic
, docusaurus
docusaurus-mdx-loader
docusaurus-theme-classic
docusaurus
docusaurus-theme-classic
docusaurus-plugin-content-blog
docusaurus
docusaurus-types
, docusaurus
docusaurus-mdx-loader
, docusaurus-plugin-ideal-image
, docusaurus-types
, docusaurus
docusaurus-init
, docusaurus-mdx-loader
, docusaurus-plugin-content-docs
, docusaurus
docusaurus-plugin-google-analytics
, docusaurus-plugin-google-gtag
docusaurus
docusaurus-plugin-content-docs
Changelog
2.0.0-alpha.36 (2019-11-22)
docusaurus-init
, docusaurus-plugin-content-blog
, docusaurus-theme-classic
docusaurus-plugin-content-docs
, docusaurus-theme-classic
docusaurus
docusaurus-theme-classic
docusaurus-theme-classic
docusaurus
docusaurus-mdx-loader
, docusaurus-plugin-ideal-image
Changelog
2.0.0-alpha.35 (2019-11-17)
docusaurus-mdx-loader
, docusaurus-theme-classic
docusaurus-theme-classic
docusaurus-plugin-content-docs
docusaurus-theme-search-algolia
docusaurus-theme-classic
docusaurus-plugin-content-docs
docusaurus-init
docusaurus-plugin-content-blog
docusaurus-1.x
docusaurus-init
docusaurus-1.x
, docusaurus-init-1.x
, docusaurus-init
, docusaurus-plugin-content-docs
, docusaurus-plugin-ideal-image
, docusaurus-types
, docusaurus
Changelog
2.0.0-alpha.34 (2019-11-11)
docusaurus-plugin-content-docs
docusaurus-theme-classic
docusaurus-plugin-content-docs
, docusaurus
docusaurus-1.x
, docusaurus-plugin-content-blog
, docusaurus-plugin-content-docs
, docusaurus-theme-classic
, docusaurus-theme-search-algolia
, docusaurus-types
, docusaurus-utils
, docusaurus
docusaurus-plugin-content-docs
, docusaurus-utils
, docusaurus
Changelog
2.0.0-alpha.33 (2019-11-08)
prismTheme
is renamed to theme
as part new prism
object in themeConfig
field in your docusaurus.config.js
. Eg:
themeConfig: {
- prismTheme: require('prism-react-renderer/themes/dracula'),
+ prism: {
+ theme: require('prism-react-renderer/themes/dracula'),
+ },
},
prism
option defaultLanguage
that is used if the language is not specified in code blocks. #1910docusaurus start
, process.env.NODE_ENV
is now consistently set to development
.src/pages/docs.js
to create custom docs page for /docs
or even src/pages/docs/super.js
to create page for /docs/super/
;