mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
* feat(v2): createModule plugin api * remove unused stuff * address review, createModule -> createData * link.link -> link.url * remove youtube page * update yarn.lock
873 B
873 B
Breaking Changes
siteConfig.js
changes
-
siteConfig.js
renamed todocusaurus.config.js
. -
Removed the following config options:
docsUrl
. Use the plugin option ondocusaurus-plugin-content-docs
instead.customDocsPath
. Use the plugin option ondocusaurus-plugin-content-docs
instead.sidebars.json
now has to be explicitly loaded by users and passed into the the plugin option ondocusaurus-plugin-content-docs
.headerLinks
doc, page, blog is deprecated. The syntax is now:
headerLinks: [ // Link to internal page (without baseUrl) { url: "help", label: "Help" }, // Links to href destination/ external page { href: "https://github.com/", label: "GitHub" }, // Determines search bar position among links { search: true }, // Determines language drop down position among links { languages: true } ],