You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/07 14:18:52 UTC
(maven-project-info-reports-plugin) branch master updated: Restore the document metadata dropped when the pages were ported
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 093b3ee Restore the document metadata dropped when the pages were ported
093b3ee is described below
commit 093b3ee9552de8cf45d198cb6730b8cacea06d21
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Aug 7 11:41:10 2026 +0200
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/custom-report.md.vm | 7 +++++++
src/site/markdown/examples/individual-reports.md | 7 +++++++
src/site/markdown/examples/scm-report.md.vm | 7 +++++++
src/site/markdown/examples/selective-reports.md.vm | 7 +++++++
src/site/markdown/index.md | 8 ++++++++
src/site/markdown/usage.md | 7 +++++++
6 files changed, 43 insertions(+)
diff --git a/src/site/markdown/examples/custom-report.md.vm b/src/site/markdown/examples/custom-report.md.vm
index bc15faf..2225a70 100644
--- a/src/site/markdown/examples/custom-report.md.vm
+++ b/src/site/markdown/examples/custom-report.md.vm
@@ -1,3 +1,10 @@
+---
+title: Customize the Text Reports
+author:
+ - Vincent Siveton
+date: 2010-10-30
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/src/site/markdown/examples/individual-reports.md b/src/site/markdown/examples/individual-reports.md
index 9632075..da85985 100644
--- a/src/site/markdown/examples/individual-reports.md
+++ b/src/site/markdown/examples/individual-reports.md
@@ -1,3 +1,10 @@
+---
+title: Run Individual Reports
+author:
+ - Johnny R. Ruiz III, Pete Marvin King
+date: 2008-07-24
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/src/site/markdown/examples/scm-report.md.vm b/src/site/markdown/examples/scm-report.md.vm
index 54dabe0..82dffcc 100644
--- a/src/site/markdown/examples/scm-report.md.vm
+++ b/src/site/markdown/examples/scm-report.md.vm
@@ -1,3 +1,10 @@
+---
+title: Customize the SCM Report
+author:
+ - The Maven Team
+date: 2010-09-07
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/src/site/markdown/examples/selective-reports.md.vm b/src/site/markdown/examples/selective-reports.md.vm
index 4abc986..c5dbe4e 100644
--- a/src/site/markdown/examples/selective-reports.md.vm
+++ b/src/site/markdown/examples/selective-reports.md.vm
@@ -1,3 +1,10 @@
+---
+title: Run Selective Reports
+author:
+ - Johnny R. Ruiz III, Pete Marvin King
+date: 2009-07-14
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index d59e6ca..7d5c232 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -1,3 +1,11 @@
+---
+title: Introduction
+author:
+ - Johnny R. Ruiz III
+ - jruiz@exist.com
+date: 2013-07-22
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/src/site/markdown/usage.md b/src/site/markdown/usage.md
index 94f18f5..60f9d83 100644
--- a/src/site/markdown/usage.md
+++ b/src/site/markdown/usage.md
@@ -1,3 +1,10 @@
+---
+title: Usage
+author:
+ - Johnny R. Ruiz III, Pete Marvin King
+date: 2009-07-14
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file