Skip to content

Validate generated Antora page titles - #281

Merged
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:docs/validate-antora-page-titles
Nov 28, 2026
Merged

vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:docs/validate-antora-page-titles

Conversation

@vharseko

Copy link
Copy Markdown
Member

Summary

  • Validate the document title of every generated Antora page during Maven verification. Resolve headers supplied by ROOT partials and report the path of each untitled page.
  • Restore the Antora title of the Legacy Microsoft Exchange Connector chapter while preserving its existing anchors.
  • Follow Document phpLDAPadmin Docker setup and delegated access OpenDJ#1342.

Verification

  • Ran the title integration test on JDK 17 and 27 against all 97 generated pages.
  • Confirmed that the test rejects nested pages with only a section heading or a title attribute. Verified the restored Exchange title and all three anchor IDs with Antora's loader.

@vharseko
vharseko requested a review from maximthomas November 28, 2026 10:29
@vharseko vharseko added bug Something isn't working documentation Documentation, javadoc, adoc, README, wiki java Pull requests that update Java code test Tests and test infrastructure (unit, e2e, smoke) labels Nov 28, 2026

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

praise: The new check detects the original untitled Exchange page, accepts its corrected title, and preserves all three published anchor IDs.

@vharseko
vharseko merged commit 986e656 into OpenIdentityPlatform:master Nov 28, 2026
15 of 16 checks passed
@vharseko
vharseko deleted the docs/validate-antora-page-titles branch November 28, 2026 11:37
vharseko added a commit that referenced this pull request Nov 28, 2026
## Summary

Pin the transitive Bouncy Castle dependency `bcutil-fips` to `2.1.8` in
the root Maven dependency management. Both OpenDJ dependencies,
`bcpkix-fips` and `bctls-fips`, request the range `[2.1.6,2.2.0)`. The
fixed version avoids the metadata lookup that failed in the [Windows /
JDK 27
build](https://github.com/OpenIdentityPlatform/OpenIDM/actions/runs/46135412936/job/140949510924#step:5)
for #281.

## Verification

- Reproduced the range-resolution failure offline with the `bcutil-fips`
metadata removed from a temporary Maven repository. Both dependency
paths resolved to `2.1.8` with the change.
- Ran `mvn --batch-mode --errors --update-snapshots verify --file
pom.xml` on macOS with JDK 27. All 49 reactor modules passed, including
`openidm-zip`.
vharseko pushed a commit to OpenIdentityPlatform/commons that referenced this pull request Nov 28, 2026
## Summary

- Validate generated AsciiDoc page titles at the end of the `antora`
goal and report all pages missing a document title.
- Parse headers with `env-site` set, resolve `ROOT:partial$` includes,
and preserve `:title:` overrides when a document header is present.
- Cover pages with only a section heading or title attribute, plus a
header conditional on `:title:`.

## Testing

- `mvn -o -pl commons/doc-maven-plugin -am -Dmaven.javadoc.skip=true
install` passed on JDK 17 with 553 tests.
- Ran Antora generation with the updated plugin against the OpenIG,
OpenAM, OpenIDM, and OpenDJ PR sources. The OpenDJ run used locally
generated man-page partials. [OpenIG
#201](OpenIdentityPlatform/OpenIG#201), [OpenAM
#1259](OpenIdentityPlatform/OpenAM#1259),
[OpenIDM
#281](OpenIdentityPlatform/OpenIDM#281), [OpenDJ
#1342](OpenIdentityPlatform/OpenDJ#1342).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Documentation, javadoc, adoc, README, wiki java Pull requests that update Java code test Tests and test infrastructure (unit, e2e, smoke)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants