forked from gitea/gitea
1
0
Fork 0
gitea/docs/content/administration
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
..
_index.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
adding-legal-pages.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
adding-legal-pages.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
backup-and-restore.en-us.md Update backup instructions to align with archive structure (#26902) 2023-09-05 09:26:12 +08:00
backup-and-restore.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
backup-and-restore.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
cmd-embedded.en-us.md Enable markdownlint `no-duplicate-header` (#27500) (#27506) 2023-10-07 21:41:41 +08:00
cmd-embedded.zh-cn.md Enable markdownlint `no-duplicate-header` (#27500) (#27506) 2023-10-07 21:41:41 +08:00
command-line.en-us.md clarify aspects of the dump command (#26887) 2023-09-03 14:44:01 -04:00
command-line.zh-cn.md Expanded minimum RSA Keylength to 3072 (#26604) 2023-08-28 00:53:16 +00:00
config-cheat-sheet.en-us.md Make Actions tasks/jobs timeouts configurable by the user (#27400) (#27402) 2023-10-03 10:26:35 +08:00
config-cheat-sheet.zh-cn.md Actions are no longer experimental, so enable them by default (#27054) 2023-09-15 06:43:39 +00:00
customizing-gitea.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
customizing-gitea.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
email-setup.en-us.md Update Gmail example (#26302) 2023-08-03 18:20:40 +08:00
email-setup.zh-cn.md Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
environment-variables.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
environment-variables.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
external-renderers.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
external-renderers.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
fail2ban-setup.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
fail2ban-setup.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
git-lfs-support.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
git-lfs-support.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
https-support.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
https-support.zh-cn.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
logging-config.en-us.md Clarify the logger's MODE config option (#26267) 2023-08-01 18:28:23 +00:00
logging-config.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
mail-templates.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
mail-templates.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
repo-indexer.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
repo-indexer.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
reverse-proxies.en-us.md Update nginx recommendations (#26924) 2023-09-06 17:49:45 +00:00
reverse-proxies.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search-engines-indexation.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search-engines-indexation.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
signing.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
signing.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00