@docusaurus/plugin-content-pages
Advanced tools
Changelog
2.0.0-alpha.31 (2019-10-26)
sidebarCollapsible
. It is on by default. If explicitly set to false
, all doc items in sidebar is expanded. Otherwise, it will still be a collapsible sidebar.Changelog
2.0.0-alpha.30 (2019-10-22)
TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
.(#1868)If you are still encountering the error. Please check whether you use module.exports
for your .js
file instead of doing export
(mixing CJS and ES). See https://github.com/webpack/webpack/issues/4039#issuecomment-477779322 and https://github.com/webpack/webpack/issues/4039#issuecomment-273804003 for more context.
Changelog
2.0.0-alpha.29 (2019-10-21)
HOTFIX for 2.0.0-alpha.28.
core-js
dependencies on @docusaurus/core
.@babel/env
preset configuration that causes build compilation error.Changelog
2.0.0-alpha.28 (2019-10-21)
keywords
frontmatter for SEO not working properly.swizzle
command not passing context properly to theme packages.extendCli
api for plugins. This will allow plugin to further extend Docusaurus CLI.swizzle
command not being able to swizzle single js file.--no-open
for start
command.@babel/env
useBuiltins to usage
. This will automatically use browserlist and import polyfills required.terserOptions
for better cross-browser compatibility.withBaseUrl
is renamed to useBaseUrl
because its a React Hooks. Make sure you import/rename it correctly. Eg: import useBaseUrl from '@docusaurus/useBaseUrl
;Changelog
2.0.0-alpha.27 (2019-10-14)
@theme/Tabs
which can be used to implement multi-language code tabs.custom_edit_url
and hide_title
markdown header for docusaurus v1 feature parity.Changelog
2.0.0-alpha.26 (2019-10-12)
editUrl
option (URL for editing) to docs plugin. If this field is set, there will be an "Edit this page" link for each doc page. Example: 'https://github.com/facebook/docusaurus/edit/master/docs'showLastUpdateTime
and showLastUpdateAuthor
options to docs plugin to further achieve v1 parity of showing last update data for a particular docscripts
and stylesheets
field to docusaurus.config.js
Changelog
2.0.0-alpha.25 (2019-10-01)
date
frontMatter support for blog plugintruncateMarker
option to blog plugin, support string or regex.optimization.removeAvailableModules
is now disabled for performance gain. See https://github.com/webpack/webpack/releases/tag/v4.38.0 for more context.Changelog
2.0.0-alpha.24 (2019-07-24)
@theme/Heading
Changelog
2.0.0-alpha.23 (2019-07-21)
Changelog
2.0.0-alpha.22 (2019-07-20)
@docusaurus/preset-classic
@docusaurus/plugin-ideal-image
to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder)@docusaurus/theme-live-codeblock
is now much smaller in size and no longer only load on viewport