Skip to content

Restore the document metadata dropped when the page was ported - #98

Merged
slachiewicz merged 1 commit into
codehaus-plexus:masterfrom
slachiewicz:restore-site-metadata
Aug 8, 2026
Merged

Restore the document metadata dropped when the page was ported#98
slachiewicz merged 1 commit into
codehaus-plexus:masterfrom
slachiewicz:restore-site-metadata

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Unblocked by the release of plexus parent 26.

The APT source carried a title, an author and a date. Converting the page to Markdown
dropped them, so the generated page lost its <title> and its author meta. This puts
them back as YAML front matter, read from the deleted src/site/apt/index.apt:
authors John Casey and Hervé Boutemy, dated 2012-10-31.

It could not be done before now: parent 25 runs Spotless over **/*.md, and flexmark
rewrites the fence closing a front matter block, silently costing the page the very
metadata being restored. Parent 26 excludes **/src/site/markdown/**, so the first
commit here is the parent upgrade.

Verified after the bump — front matter survives the build and the page carries both:

<title>Plexus Interpolator – Plexus Interpolation API</title>
<meta name="author" content="John Casey" />
<meta name="author" content="Hervé Boutemy" />

@slachiewicz
slachiewicz force-pushed the restore-site-metadata branch from b561d84 to 920f69c Compare August 8, 2026 18:09
@slachiewicz

Copy link
Copy Markdown
Member Author

Rewritten to drop the parent bump — parent POM updates belong in their own PR. The bump is
now #99, which this depends on: restoring the front matter before parent 26 is in place would
let Spotless eat it again.

The APT source carried a title, an author and a date. The conversion to Markdown
dropped them, so the generated page lost its title and its author meta. Put them
back as YAML front matter.
@slachiewicz
slachiewicz force-pushed the restore-site-metadata branch from 920f69c to 5444163 Compare August 8, 2026 18:20
@slachiewicz slachiewicz added the maintenance Cleanup, refactoring or other internal change label Aug 8, 2026
@slachiewicz
slachiewicz merged commit 6c84236 into codehaus-plexus:master Aug 8, 2026
11 checks passed
@slachiewicz
slachiewicz deleted the restore-site-metadata branch August 8, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Cleanup, refactoring or other internal change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant