README
Doxygen => Markdown
NodeJS CLI application that converts Doxygen XML documentation into Markdown files for Bitbucket Wiki, GitHub Pages and other places.
Installation
Install this app by running next code using terminal (Unix/Linux/MacOS) or command prompt (Windows)
npm i -g doxygen2markdown
Usage
- Add
GENERATE_XML=YES
to yourDoxyfile
first. - Run
doxygen
to generate the XML documentation. - Install
doxygen2markdown
like so:npm install doxygen2markdown -g
if you don't do this earlier. - Run
doxygen2markdown
providing the folder location of the XML documentation as it is said in documentation.
P.S. You can see options by running next command doxygen2markdown
without any options.
P.S.S. For template syntax read the documentation for EJS
doxygen2markdown
Options:
-V, --version output the version number
-d, --doxygen <type> Doxygen XML output directory
-o, --output <type> Converter output directory.
-t, --templates <type> Custom templates directory
-h, --help output usage information
Examples
To convert documentation you can use next command:
doxygen2markdown -d "<path to doxygen xml folder>" -o "<path to markdown folder>"
If you want to convert documentation with your own templates, use next command:
doxygen2markdown -d "<path to doxygen xml folder>" -o "<path to markdown folder>" -t "<path to templates folder>"
P.S. You can copy templates folder from this repository to get a fast start.
P.S.S. For template syntax read the documentation for EJS
ToDo list
- Add group, namespace conversion support
- Add code conversion to to class/interface
Patrons
Auto update WIP
Become a Patron
Support this project by becoming a Patron on Patreon. Sponsor this developer ❤
License
Read LICENSE file for detailed information.