Getting Started
Installation
Install Doxygen and moxygen, then generate your first Markdown output
moxygen assumes Doxygen is already part of your toolchain. It consumes the XML that Doxygen emits; it does not parse C++ directly.
Prerequisites
Install Doxygen first and make sure your Doxyfile includes:
GENERATE_XML = YESInstall moxygen
Global install:
npm install -g moxygenProject-local install:
npm install --save-dev moxygenIf you install locally, run it with npx moxygen or through an npm script.
First run
After Doxygen has written XML output:
moxygen path/to/xmlThat renders Markdown to standard output unless you specify --output.
Typical multi-file build
Most real projects want grouped output:
moxygen \
--groups \
--pages \
--anchors \
--output docs/api-%s.md \
path/to/xmlThe %s token is required when --groups or --classes is enabled because moxygen needs a unique filename per generated document.
