forked from gitea/gitea
1
0
Fork 0
gitea/docs/content
Giteabot 65020fdf7f
Enable markdownlint `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>
2023-10-07 21:41:41 +08:00
..
administration Enable markdownlint `no-duplicate-header` (#27500) (#27506) 2023-10-07 21:41:41 +08:00
contributing Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
development Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
help Improve the "bug report" template and "support options" document (#26753) 2023-08-28 22:37:39 +00:00
installation Enable markdownlint `no-duplicate-header` (#27500) (#27506) 2023-10-07 21:41:41 +08:00
usage Improve actions docs related to `pull_request` event (#27126) 2023-09-20 06:28:35 +00:00
actions.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
contributing.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
contributing.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
contributing.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
index.de-de.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
index.en-us.md Update index doc (#26455) 2023-08-12 00:49:23 +00:00
index.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
index.zh-cn.md Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
index.zh-tw.md Update index doc (#26455) 2023-08-12 00:49:23 +00:00
installation.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
installation.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
installation.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
installation.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
packages.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.de-de.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.nl-nl.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.pt-br.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00