Skip to content

MDbook Includes trigger alot of false positives #2631

@hmmh-dominik-saeume

Description

@hmmh-dominik-saeume

What got flagged?

{{#include ../../partials/stages.md:pre}}

Why is this incorrect?
Mdbook allows including files and partials.
https://rust-lang.github.io/mdBook/format/mdbook.html#including-files
This allows not repeating some information in docs, and increases maintainability.
those includes shouldn't be flagged at all, or there should be a flag to ignore anything inside {{ }}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions