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:56:41 UTC
(maven-wrapper) 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-wrapper.git
The following commit(s) were added to refs/heads/master by this push:
new 47aa965 Restore the document metadata dropped when the pages were ported
47aa965 is described below
commit 47aa9656eb2aec324a26c511e1c4bb0ec499bdbf
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.
---
maven-wrapper-distribution/src/site/markdown/index.md.vm | 7 +++++++
maven-wrapper/src/site/markdown/index.md | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/maven-wrapper-distribution/src/site/markdown/index.md.vm b/maven-wrapper-distribution/src/site/markdown/index.md.vm
index 5786a09..6aefbd9 100644
--- a/maven-wrapper-distribution/src/site/markdown/index.md.vm
+++ b/maven-wrapper-distribution/src/site/markdown/index.md.vm
@@ -1,3 +1,10 @@
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2021-10-10
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/maven-wrapper/src/site/markdown/index.md b/maven-wrapper/src/site/markdown/index.md
index a424dc7..eefa026 100644
--- a/maven-wrapper/src/site/markdown/index.md
+++ b/maven-wrapper/src/site/markdown/index.md
@@ -1,3 +1,10 @@
+---
+title: Introduction
+author:
+ - Hervé Boutemy
+date: 2021-04-05
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file