Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable markdownlint no-duplicate-header (#27500) #27506

Merged
merged 1 commit into from Oct 7, 2023

Commits on Oct 7, 2023

  1. Enable markdownlint no-duplicate-header (go-gitea#27500)

    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: go-gitea#27461 (comment)
    silverwind authored and GiteaBot committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    613f2fc View commit details
    Browse the repository at this point in the history