docusaurus/packages/docusaurus/CHANGES.md
Endilie Yacop Sucipto b3cf9c62d5
feat(v2): createData plugin API (#1400)
* feat(v2): createModule plugin api

* remove unused stuff

* address review, createModule -> createData

* link.link -> link.url

* remove youtube page

* update yarn.lock
2019-04-27 14:13:53 +07:00

873 B

Breaking Changes

siteConfig.js changes

  • siteConfig.js renamed to docusaurus.config.js.

  • Removed the following config options:

    • docsUrl. Use the plugin option on docusaurus-plugin-content-docs instead.
    • customDocsPath. Use the plugin option on docusaurus-plugin-content-docs instead.
    • sidebars.json now has to be explicitly loaded by users and passed into the the plugin option on docusaurus-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 } ],