Skip to content

Subdirectives are not properly indented in the TOC #137

@p-pautov

Description

@p-pautov

Feature Overview

Some Nginx modules define new configuration blocks with a bunch of directives there, e.g. http://nginx.org/en/docs/http/ngx_http_upstream_module.html (and there many more examples in N+).

It would be helpful to see such subdirectives indented in the TOC, i.e. instead of

Directives
    upstream
    server
    zone
    state
    ...

it should be

Directives
    upstream
        server
        zone
        state
        ...

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions