Skip to content

Excluding included files from spelling check #204

Description

@kondziu

Let's say a document includes a file via include or csv-table:

.. include:: data_dump.preformatted.log

.. csv-table::
   :file: data.csv
   :header-rows: 1

Then, the contents are subject to a spellcheck. Some of these should be excluded from spellcheck though, if they include data or program output. But they are apparently always included, even if I list them in spelling_exclude_patterns.

Is there a way to exclude them?

Listing all the words individually in the enclosing document (e.g. with the spelling directive) technically works, but it is impractical because (a) I don't want to exclude checking the spelling of these words from the enclosing document, and (b) it's a big list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions