Skip to content

Fix truncated authentication.html: promote Ordered fallback to h2 - #154

Merged
bertysentry merged 2 commits into
mainfrom
fix-authentication-heading-skip
Jul 29, 2026
Merged

Fix truncated authentication.html: promote Ordered fallback to h2#154
bertysentry merged 2 commits into
mainfrom
fix-authentication-heading-skip

Conversation

@bertysentry

Copy link
Copy Markdown
Contributor

Fixes #153

Problem

https://metricshub.org/winrm-java/authentication.html only renders the introduction — everything from "Ordered fallback" to "See also" is missing from the generated HTML, and the sidebar TOC contains a broken href="#null" entry.

Cause

authentication.md had ### Ordered fallback directly under the top-level # title with no ## parent section. Doxia's section nesting cannot handle the h1 → h3 skip followed by a return to h2: it emits an empty <section></section> and silently drops the rest of the page.

Fix

Promote the heading to ## Ordered fallback. A scan of all pages under src/site/markdown/ confirms this was the only heading-level skip in the site.

Verification

Rebuilt the site locally with mvn site: the regenerated authentication.html now contains all seven sections (Ordered fallback, User name and domain, NTLM, Kerberos (SPNEGO), Authentication failures, Choosing the scheme on the command line, See also), the Kerberos configuration subsection, and the CLI options table, with no #null TOC entries.

🤖 Generated with Claude Code

bertysentry and others added 2 commits July 29, 2026 20:09
Doxia cannot handle the h1 -> h3 heading skip and silently dropped
everything after the intro from the generated page.

Fixes #153

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@bertysentry
bertysentry merged commit fd6fec1 into main Jul 29, 2026
5 checks passed
@bertysentry
bertysentry deleted the fix-authentication-heading-skip branch July 29, 2026 18:17
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.

authentication.html is truncated after the intro (heading-level skip breaks Doxia rendering)

1 participant