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 13:42:42 UTC
(maven-apache-resources) 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-apache-resources.git
The following commit(s) were added to refs/heads/master by this push:
new 7fdbf6c Restore the document metadata dropped when the pages were ported
7fdbf6c is described below
commit 7fdbf6c7b0726586b955a5753a95a42f28fb59ca
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Aug 7 11:41:07 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.
---
incubator-disclaimer/src/site/markdown/index.md.vm | 7 +++++++
jar-txt/src/site/markdown/index.md.vm | 7 +++++++
jar/src/site/markdown/index.md.vm | 7 +++++++
source-release/src/site/markdown/index.md.vm | 7 +++++++
4 files changed, 28 insertions(+)
diff --git a/incubator-disclaimer/src/site/markdown/index.md.vm b/incubator-disclaimer/src/site/markdown/index.md.vm
index 7c68355..a73fe54 100644
--- a/incubator-disclaimer/src/site/markdown/index.md.vm
+++ b/incubator-disclaimer/src/site/markdown/index.md.vm
@@ -1,3 +1,10 @@
+---
+title: About
+author:
+ - Hervé Boutemy
+date: 2023-03-11
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/jar-txt/src/site/markdown/index.md.vm b/jar-txt/src/site/markdown/index.md.vm
index dc33dbf..18795c8 100644
--- a/jar-txt/src/site/markdown/index.md.vm
+++ b/jar-txt/src/site/markdown/index.md.vm
@@ -1,3 +1,10 @@
+---
+title: About
+author:
+ - Hervé Boutemy
+date: 2023-03-11
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/jar/src/site/markdown/index.md.vm b/jar/src/site/markdown/index.md.vm
index 445489c..9e4792f 100644
--- a/jar/src/site/markdown/index.md.vm
+++ b/jar/src/site/markdown/index.md.vm
@@ -1,3 +1,10 @@
+---
+title: About
+author:
+ - Hervé Boutemy
+date: 2023-03-11
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/source-release/src/site/markdown/index.md.vm b/source-release/src/site/markdown/index.md.vm
index 8ea16b9..b92b250 100644
--- a/source-release/src/site/markdown/index.md.vm
+++ b/source-release/src/site/markdown/index.md.vm
@@ -1,3 +1,10 @@
+---
+title: About
+author:
+ - Hervé Boutemy
+date: 2023-03-11
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file