@docusaurus/types
Advanced tools
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.