Skip to content

Convert the FAQ from FML to Markdown and fix its dead links - #577

Merged
slachiewicz merged 2 commits into
masterfrom
docs/fml-to-markdown
Aug 8, 2026
Merged

Convert the FAQ from FML to Markdown and fix its dead links#577
slachiewicz merged 2 commits into
masterfrom
docs/fml-to-markdown

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Part of codehaus-plexus/.github#58. modello-maven-plugin/src/site/fml/faq.fml is the only .fml left in the organisation.

Two commits — please merge or rebase, don't squash.

The converter output was unusable

doxia-converter -from fml -to markdown produced a page with four separate breakages:

Source Converter output Problem
<question> [Where can I find…] Link-reference syntax, not a heading
[top] back-link [\[top\]](top) Links to a page called top, which doesn't exist
Contents entries […](question1) Lost the #, so they point at a page not an anchor
?view=markup ?view\=markup Escaped = inside the query string

So this one is hand-written rather than machine-converted.

Deep links still work

FML generates #question1 / #question2 anchors, and those are linkable from outside. Explicit anchors keep them resolving:

id="question1"
id="question2"

Verified in the built HTML.

All four svn links were dead

Not a format problem, but I wasn't going to migrate a page and leave them:

401  http://svn.apache.org/viewvc/maven/components/tags/maven-2.0.9/maven-model/…
401  http://svn.apache.org/viewvc/maven/components/tags/maven-2.0.9/maven-settings/…
401  http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/…descriptor.mdo
401  http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/…decoration.mdo

Apache retired public viewvc, and these pointed at Maven 2.0.9 tags and trunk regardless. Replacements, each checked to return 200:

  • maven.mdo → the Maven 4 model, with a note pointing at the maven-3.9.x branch for the Maven 3 one
  • settings.mdo → the Maven 4 settings model
  • assembly descriptor.mdo / component.mdoassembly.mdo / assembly-component.mdo (both were renamed)
  • Doxia decoration.mdodoxia-site-model/…/site.mdo (the decoration model became the site model)

The four live links also moved httphttps.

One rendering loss, deliberate

FML emits a [top] back-link after each answer. Those are gone rather than hand-written — for a two-question FAQ they were noise. Everything else diffs clean.

Worth asking

FML is a format built for FAQs: it generates the contents list, the anchors and the back-links for free, and Markdown gives none of that. For a page this small the trade is fine, but if this FAQ ever grows, the hand-maintained contents list at the top becomes a thing someone has to remember to update. Happy to close this and leave it as FML if you'd rather.

Git records a rename plus a rewrite in one commit as a delete and an
add, which stops 'git log --follow'. Splitting the rename out keeps the
history. Please merge or rebase rather than squash.
doxia-converter's FML output was not usable: the questions came out as
link-reference syntax rather than headings, the [top] back-links became
links to a nonexistent 'top' page, the contents links lost their #
anchors, and '=' was escaped inside query strings. The page is written
out by hand instead.

Explicit anchors keep the existing deep links working: #question1 and
#question2 still resolve.

All four svn.apache.org viewvc links were dead - they return 401 since
Apache retired public viewvc - and now point at the models on GitHub.
maven.mdo gained a note distinguishing the Maven 4 and Maven 3.9.x
versions. The assembly plugin's descriptor.mdo and component.mdo are
now assembly.mdo and assembly-component.mdo, and Doxia's decoration
model is now the site model.

The four live links moved from http to https.

FML generates a [top] back-link after each answer; those are dropped
rather than hand-written, which is the only rendering loss.

Part of codehaus-plexus/.github#58
@slachiewicz
slachiewicz merged commit 3e3aa0d into master Aug 8, 2026
12 checks passed
@slachiewicz
slachiewicz deleted the docs/fml-to-markdown branch August 8, 2026 18:46
@slachiewicz slachiewicz added the documentation Documentation and site content label Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation and site content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant