Skip to content

Section title out of sequence with operation macro when using leveloffset #649

Closed
@mle-enso

Description

@mle-enso

We still experience the same issue that was also referenced in #638 and thought this should be fine with the 2.0.4 release.

We use the Spring Boot release 2.1.9 and with that Spring RESTDocs 2.0.4 with the following (shrinked to the necessary) index.adoc:

= The title
additional info;
:doctype: book
:icons: font
:source-highlighter: highlightjs
:toc: left
:toclevels: 4
:leveloffset: 1
:sectlinks:
:sectnums:
:linkattrs:
:last-update-label!:

Sample explanation

operation::regenerateAllItems[snippets='path-parameters']

After building there is still this error which does not show up with Spring RESTDocs 2.0.3:

[INFO] asciidoctor: WARN: index.adoc: line 2: section title out of sequence: expected levels 0 or 1, got level 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions