docusaurus/packages/docusaurus-plugin-content-docs
Sébastien Lorber 8ebbc17c7b
fix(v2): fix title logic (meta vs heading) + ignore fixed anchor id syntax (#4688)
* parseMarkdownContentTitle should ignore {#my-anchor-id} syntax

* use frontMatter.title in priority for page meta title

* parseMarkdownString should ignore fixed anchor ids syntax

* docs: make the distinction between headingTitle + metaTitle more clear + add useful todo

* docs: make the distinction between headingTitle + metaTitle more clear + add useful todo

* writeHeadingIds should ignore top-level md title like "# Title"
=> we are not supposed to create anchor links for h1 headers

* update tests

* fix doc tests
2021-04-27 15:44:46 +02:00
..
src fix(v2): fix title logic (meta vs heading) + ignore fixed anchor id syntax (#4688) 2021-04-27 15:44:46 +02:00
package.json chore(v2): prepare v2.0.0.alpha-73 release (#4628) 2021-04-16 12:48:10 +02:00
README.md chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (#4490) 2021-03-22 20:57:49 +01:00
tsconfig.json misc(v2): remove legacy from docs 2019-10-10 19:45:50 -07:00
types.d.ts chore(v2): fix several lint warnings, add missing types, cleanup (#3844) 2020-11-30 16:42:58 +01:00

@docusaurus/plugin-content-docs

Docs plugin for Docusaurus.

Usage

See plugin-content-docs documentation.