docusaurus/website
Alexey Pyltsyn 96e7fcef25
feat(v2): add ability to set custom heading id (#4222)
* feat(v2): add ability to set custom heading id

* Add cli command

* Fix slugger

* write-heading-ids doc + add in commands/templates

* refactor + add tests for writeHeadingIds

* polish writeHeadingIds

* polish writeHeadingIds

* remove i18n goals todo section as the  remaining items are quite abstract/useless

* fix edge case with 2 md links in heading

* extract parseMarkdownHeadingId helper function

* refactor using the shared parseMarkdownHeadingId utility fn

* change logic of edge case

* Handle edge case

* Document explicit ids feature

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-05 19:36:14 +01:00
..
community feat(v2): Add Interpolate / interpolate APIs + complete theme translations (#4295) 2021-02-26 13:19:51 +01:00
docs feat(v2): add ability to set custom heading id (#4222) 2021-03-05 19:36:14 +01:00
dogfooding fix(v2): BaseUrl issue banner insertion should be prevented if JS can load (#4155) 2021-02-02 16:43:25 +01:00
netlifyDeployPreview chore(ci): temporarily disable bootstrap deploy preview 2020-12-11 16:47:23 +01:00
src feat(v2): add ability to set custom heading id (#4222) 2021-03-05 19:36:14 +01:00
static docs(v2): v2 migration should mention RSS feed url change (#4236) 2021-02-17 14:35:29 +01:00
versioned_docs/version-2.0.0-alpha.70 chore(v2): remove docs for alpha v69 (#4289) 2021-02-24 20:41:09 +03:00
versioned_sidebars chore(v2): remove docs for alpha v69 (#4289) 2021-02-24 20:41:09 +03:00
babel.config.js
docusaurus.config-blog-only.js fix(v2): fix blog only contextual search (#3968) 2020-12-29 15:59:56 +01:00
docusaurus.config.js feat(v2): Add playgroundPosition config for live codeblock (#4328) 2021-03-05 14:49:17 +01:00
netlify.toml fix(v2): allow using classic theme/preset without the docs plugin (#3382) 2020-09-01 19:38:11 +02:00
package.json feat(v2): add ability to set custom heading id (#4222) 2021-03-05 19:36:14 +01:00
README.md
sidebars.js feat(v2): add ability to set custom heading id (#4222) 2021-03-05 19:36:14 +01:00
sidebarsCommunity.js
tsconfig.json
versions.json chore(v2): remove docs for alpha v69 (#4289) 2021-02-24 20:41:09 +03:00

Docusaurus 2 Website

Installation

  1. yarn install in the root of the repo (one level above this directory).
  2. In this directory, do yarn start.
  3. A browser window will open up, pointing to the docs.