From 5ec222ac406e9d795d262729f1e8634f2e83892c Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Fri, 7 Aug 2026 11:41:09 +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. --- src/site/markdown/examples/aggregate.md.vm | 7 +++++++ src/site/markdown/examples/cpdCsharp.md.vm | 7 +++++++ src/site/markdown/examples/differentRulesetForTests.md.vm | 7 +++++++ src/site/markdown/examples/javascriptReport.md.vm | 7 +++++++ src/site/markdown/examples/jspReport.md.vm | 7 +++++++ src/site/markdown/examples/multi-module-config.md.vm | 5 +++++ src/site/markdown/examples/removeReport.md.vm | 7 +++++++ src/site/markdown/examples/targetJdk.md.vm | 8 ++++++++ src/site/markdown/examples/upgrading-PMD-at-runtime.md.vm | 7 +++++++ src/site/markdown/examples/usingRuleSets.md.vm | 7 +++++++ src/site/markdown/examples/violation-exclusions.md.vm | 6 ++++++ src/site/markdown/examples/violationChecking.md.vm | 6 ++++++ src/site/markdown/index.md.vm | 7 +++++++ src/site/markdown/usage.md.vm | 7 +++++++ 14 files changed, 95 insertions(+) diff --git a/src/site/markdown/examples/aggregate.md.vm b/src/site/markdown/examples/aggregate.md.vm index 5d15491a..f8ba5dad 100644 --- a/src/site/markdown/examples/aggregate.md.vm +++ b/src/site/markdown/examples/aggregate.md.vm @@ -1,3 +1,10 @@ +--- +title: Aggregating PMD reports for Multi-Module-Projects +author: + - Andreas Dangel +date: 2021-09-03 +--- +