From 3c618c233c0279b637a8d8394a974a4654b2a48b Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Fri, 7 Aug 2026 11:53:50 +0200 Subject: [PATCH] Keep spotless away from the site sources The markdown formatter runs flexmark over every *.md in the tree, including the Doxia sources under src/site/markdown. Those pages open with a YAML front matter block carrying the page title, author and date, and flexmark rewrites the fence that closes it, so the metadata is lost and the page falls back to its first heading for a title. The excludes list also nested inside itself where a single was meant. --- pom.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 954430cc4..d761a4e82 100644 --- a/pom.xml +++ b/pom.xml @@ -636,7 +636,10 @@ limitations under the License. **/*.md - target/** + target/** + + **/src/site/markdown/**