Skip to content

CRITICAL: Unexpected section title or transition. #156

@Koen1999

Description

@Koen1999

I encounter an issue with this extension, that has been very helpful so far. It throws a critical error when generating the docs. I am using the most recent versions of both Sphinx, and the plugin.

C:\Users\user\suricata-check\docs\cli.rst:27: CRITICAL: Unexpected section title or transition.

```` [docutils]
C:\Users\user\suricata-check\docs\cli.rst:33: CRITICAL: Unexpected section title or transition.

```` [docutils]

The cli.rst file processed by Sphinx looks as follows:

`suricata-check` (CLI)
======================

.. click:: suricata_check:main
   :prog: suricata-check

The referenced Click entrypoint can be found here: https://github.com/Koen1999/suricata-check/blob/455327713f8f8cd4127d771a7d89e17bdbd5a7f8/suricata_check/suricata_check.py#L208-L217

Despite the error, the documentation seems to be rendered (sufficiently to my eye) correct: https://suricata-check.teuwen.net/cli.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions