FS#30045 - [documentation] use pandoc instead of markdown in make-doc.sh
Attached to Project:
Release Engineering
Opened by Dario Giovannetti (kynikos) - Monday, 28 May 2012, 13:39 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 13 October 2015, 12:48 GMT
Opened by Dario Giovannetti (kynikos) - Monday, 28 May 2012, 13:39 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 13 October 2015, 12:48 GMT
|
Details
(I started this discussion in arch-releng (
http://mailman.archlinux.org/pipermail/arch-releng/2012-May/002539.html
) but I need this bug report to attach the patch; note that
the patch attached here is more up to date than the one
posted in the ML!)
I would like to propose using pandoc ( http://johnmacfarlane.net/pandoc/ ) instead of markdown in the make-doc.sh script for converting the installation guide (Markdown syntax) to the document hosted in the wiki (MediaWiki syntax). The patched script makes use of a Python script which performs several adaptations that are much more up to date than those performed by the current make-doc.sh and they are easily adaptable in case new translations of the guide are added. In my opinion the result looks pretty good: instead of the current script, which produces an HTML document, we would get a correctly-formed, much neater MediaWiki document. NOTE 1: the "pandoc" package is required, it's currently in the AUR: http://aur.archlinux.org/packages.php?ID=32490 NOTE 2: the patch has been committed on the "develop" branch Thank you, Dario |
This task depends upon
[1]: https://projects.archlinux.org/archiso.git/tree/configs/releng/build.sh#n91