Skip to content

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

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#489
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:
author Hervé Boutemy, dated 2012-05-08.

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 Compiler – Plexus Compiler</title>
<meta name="author" content="Hervé Boutemy" />

@slachiewicz
slachiewicz force-pushed the restore-site-metadata branch from 02b8805 to 05223f4 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 #490, 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 05223f4 to c8f648e Compare August 8, 2026 18:20
@slachiewicz slachiewicz added the maintenance Cleanup, refactoring, internal change label Aug 8, 2026
@slachiewicz
slachiewicz merged commit 527589f into codehaus-plexus:master Aug 8, 2026
29 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, internal change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant