Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc 9407 - Suppress Warning Messages on Antora Build #2281

Open
wants to merge 3 commits into
base: release/7.0
Choose a base branch
from

Conversation

tonyjhillman
Copy link
Contributor

No description provided.

Copy link
Contributor

@RayOffiah RayOffiah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran branch 9407 with just the server stuff, and I'm still getting this:

[fetch] https://github.com/tonyjhillman/docs-server [####################################################################################################] asciidoctor: ERROR: cloud.adoc: line 6: level 0 sections can only be used when doctype is book asciidoctor: WARNING: cloud.adoc: line 17: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: cloud.adoc: line 26: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: cloud.adoc: line 40: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: cloud.adoc: line 49: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: cloud.adoc: line 63: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: cloud.adoc: line 72: section title out of sequence: expected level 2, got level 5 asciidoctor: ERROR: index.adoc: line 7: level 0 sections can only be used when doctype is book asciidoctor: WARNING: index.adoc: line 14: section title out of sequence: expected level 1, got level 5 asciidoctor: WARNING: index.adoc: line 23: section title out of sequence: expected level 1, got level 5 asciidoctor: WARNING: index.adoc: line 43: section title out of sequence: expected level 1, got level 5 asciidoctor: WARNING: index.adoc: line 51: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 60: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 69: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 82: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 90: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 99: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 108: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 122: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 130: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 140: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 149: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 162: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 219: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 228: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 238: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: index.adoc: line 247: section title out of sequence: expected level 2, got level 5 asciidoctor: ERROR: integrations.adoc: line 6: level 0 sections can only be used when doctype is book asciidoctor: WARNING: integrations.adoc: line 12: section title out of sequence: expected level 1, got level 5 asciidoctor: WARNING: integrations.adoc: line 17: section title out of sequence: expected level 1, got level 5 asciidoctor: ERROR: mobile.adoc: line 6: level 0 sections can only be used when doctype is book asciidoctor: WARNING: mobile.adoc: line 12: section title out of sequence: expected level 1, got level 5 asciidoctor: WARNING: mobile.adoc: line 17: section title out of sequence: expected level 1, got level 5 asciidoctor: ERROR: sdk.adoc: line 8: level 0 sections can only be used when doctype is book asciidoctor: WARNING: sdk.adoc: line 75: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 87: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 96: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 106: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 140: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 150: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 156: id assigned to block already in use: table_sdk asciidoctor: WARNING: sdk.adoc: line 185: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 226: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 235: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 242: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: sdk.adoc: line 249: section title out of sequence: expected level 2, got level 5 asciidoctor: ERROR: server.adoc: line 7: level 0 sections can only be used when doctype is book asciidoctor: WARNING: server.adoc: line 39: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: server.adoc: line 48: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: server.adoc: line 55: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: server.adoc: line 62: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: server.adoc: line 73: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: server.adoc: line 156: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: server.adoc: line 227: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: server.adoc: line 236: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: server.adoc: line 245: section title out of sequence: expected level 2, got level 5 asciidoctor: WARNING: server.adoc: line 254: section title out of sequence: expected level 2, got level 5

@tonyjhillman
Copy link
Contributor Author

Yes. That's because I have only addressed a subset of the issues: which is, the errors that were generated by the metrics partials. The errors listed above also need to be addressed, but I thought we'd handle that separately.

@osfameron
Copy link
Collaborator

Yes, this looks great! This was the biggest subset of these errors.
I'll look at the other ones.
As @simon-dew mentioned, adding a dummy-subheading == might be less intrusive but your call.

@tonyjhillman tonyjhillman changed the title Doc 9407 Doc 9407 - Suppress Warning Messages on Antora Build Feb 1, 2022
@ggray-cb
Copy link
Contributor

No idea if this is relevant anymore, but since we've lived without it for three years, I think I'll just close out this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants