Skip to content

Naked .. code-block:: bash in some places throughout docs #3118

@posita

Description

@posita

Issue

From Overriding configuration from the command line:

Screenshot from 2023-09-07 13-47-46

Apparent source: #3111

This page appears to be generated from config.rst. I'm not quite sure what the problem is here, since some code blocks work, but others (perhaps those with only a single line) don't. It's interesting to note that GH's renderer suffers from the same problem.

So this may be a bug in Sphinx, but if a work-around is available (or maybe selecting an alternative Sphinx version fixes this), it is probably worth exploring for the sake of a polished experience for doc consumers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:minordoes not affect many people or has no big impacthelp:wantedIssues that have been acknowledged, a solution determined and a PR might likely be accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions