How to start with project documentation using maven and markdown markup language?
Maven site default is APT, which is uncomfortable to learn just to do thing maven way.
(Usually nobody in a team will start writing maven site documentation when they also need to learn one more markup language along the way.)
Has anybody tried to use markdown (the same markup language as used on github) for Maven project site documentation? I see from Maven Doxia references that it is possible.
Any issues?
I am new to maven site generation. I think markdown is better to start with, than others markup languages, that the team has not worked with.
UPDATE. Succeeded. See answer below.
Quote from http://maven.apache.org/doxia/references/index.html
Add this to
pom.xmlThen start adding pages under
src/site/markdown/with.mdextension.For every page add menu item like in sniplet below:
Than use
mvn siteto generate site.Look at
target/siteto review results.mvn site:stage -DstagingDirectory=C:\TEMP\fullsiteto get multi-modular project site in one folder.Read more about maven-site-plugin.
I recommend to use maven-fluido-skin. It is newest style, based on Twitter Bootstrap
Add this to site.xml
See also
https://github.com/winterstein/Eclipse-Markdown-Editor-Plugin