mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-11 12:41:27 +00:00
3c5ac89f753623f1ea6aa60d27d8ecdc3f147dd6
no-duplicate-header (#27500) (#27506)
Backport #27500 by @silverwind Duplicate headers in a single Markdown document are problemlematic because the auto-generated links won't be stable. Enable this rule with no exceptions which is also the default of `markdownlint`. For example: ```md # A ## Example # B ## Example ``` Docasaurus will generated `example` and `example-1` links for this. If the first heading is altered, the link `example` will unexpectedly move to the second example heading. Ref: https://github.com/go-gitea/gitea/pull/27461#discussion_r1347987659 Co-authored-by: silverwind <me@silverwind.io>
Description
Languages
MDX
55.9%
JavaScript
26.7%
CSS
13.8%
Shell
2.4%
Makefile
1.2%