Skip to content

Port the site documentation from APT to Markdown - #97

Merged
slachiewicz merged 2 commits into
codehaus-plexus:masterfrom
slachiewicz:site-apt-to-markdown
Aug 6, 2026
Merged

Port the site documentation from APT to Markdown#97
slachiewicz merged 2 commits into
codehaus-plexus:masterfrom
slachiewicz:site-apt-to-markdown

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Converts the site documentation under src/site/apt to Markdown. APT is a format only
Doxia understands; Markdown is already supported by maven-site-plugin out of the box,
so no POM change is needed.

Converted with doxia-converter and then cleaned up by hand: <<<code>>> becomes
backticks, <<bold>> becomes **bold**, {{{url}text}} becomes [text](url), and the
ASF licence header becomes a single block HTML comment. The page needed no Velocity, so
it is a plain .md with its title spelled out.

The change is split into two commits: a pure rename, so that git log --follow and
git blame still reach the page's history, and then the conversion itself. Please merge
or rebase rather than squash, or the rename is collapsed and that history is lost again.

Verified by building the site before and after the change and comparing the generated
page: the visible text and the link targets are unchanged.

Part of the wider migration tracked in
apache/maven-doxia-converter#139

A pure rename, so that git records it and `git log --follow` and `git blame` still
reach the history of each page after the conversion that follows. The content is
still APT at this point and the site does not build between the two commits.
Converted with doxia-converter and then cleaned up by hand:

- <<<code>>> becomes backticks, <<bold>> becomes **bold**, {{{url}text}}
  becomes [text](url)
- the ASF license header becomes a single block HTML comment
- the page needs no Velocity, so it is a plain .md and the title, which was
  ${project.name}, is now spelled out

Verified by building the site before and after: the rendered page is
unchanged apart from <b>/<i> becoming <strong>/<em> and quotes in prose
picking up the Markdown module's typographic substitution.
@slachiewicz
slachiewicz force-pushed the site-apt-to-markdown branch from e177ef3 to 83e08a0 Compare August 6, 2026 20:09
@slachiewicz
slachiewicz merged commit d098b39 into codehaus-plexus:master Aug 6, 2026
@slachiewicz
slachiewicz deleted the site-apt-to-markdown branch August 6, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant