From 5b4c0fc318009c9adb9ab3eca28c3a3c62f413a2 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Fri, 7 Aug 2026 11:41:11 +0200 Subject: [PATCH] Restore the document metadata dropped when the pages were ported An APT document opens with a header block giving its title, authors and date, and doxia-converter turns that into YAML front matter. The port removed the front matter along with the converter's per-line licence comments, so the generated pages lost their author and date meta tags, and took their title from the first heading rather than from the document title. The front matter has to come first in the file: the Markdown parser only looks for it when the source begins with "---". A licence header ahead of it would hide it, and RAT is happy either way. --- maven-plugin-annotations/src/site/markdown/index.md.vm | 7 +++++++ .../src/site/markdown/examples/generate-descriptor.md.vm | 7 +++++++ .../src/site/markdown/examples/generate-help.md.vm | 7 +++++++ .../src/site/markdown/examples/using-annotations.md.vm | 7 +++++++ maven-plugin-plugin/src/site/markdown/index.md | 7 +++++++ maven-plugin-plugin/src/site/markdown/usage.md | 8 ++++++++ .../src/site/markdown/examples/generate-report.md.vm | 7 +++++++ maven-plugin-report-plugin/src/site/markdown/index.md | 7 +++++++ maven-plugin-report-plugin/src/site/markdown/usage.md | 8 ++++++++ maven-plugin-tools-annotations/src/site/markdown/index.md | 7 +++++++ maven-plugin-tools-api/src/site/markdown/index.md | 7 +++++++ 11 files changed, 79 insertions(+) diff --git a/maven-plugin-annotations/src/site/markdown/index.md.vm b/maven-plugin-annotations/src/site/markdown/index.md.vm index 099151ff..09dcde4b 100644 --- a/maven-plugin-annotations/src/site/markdown/index.md.vm +++ b/maven-plugin-annotations/src/site/markdown/index.md.vm @@ -1,3 +1,10 @@ +--- +title: About ${project.name} +author: + - Hervé Boutemy +date: 2012-06-03 +--- +