Skip to content

source_suffix fallback doesn't allow dict #294

@mgeier

Description

@mgeier

This assumes that source_suffix is a list:

out_suffix = app.config.source_suffix[0]

Quite a long time ago, Sphinx added support for using a dict instead, and now this is the recommended usage, see https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-source_suffix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugGood First IssueGood issue for first time contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions