Powerful alternative to DMD's DDOC engine.
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
DDOX documentation engine
- Install dub
- Generate JSON for your project by adding the command line switches
-D -X -Xfdocs.jsonto your DMD command line (Note that you may need to clean up all the generated .html files afterwards)
- Check out ddox and run
dub buildfrom its root folder
You can filter the JSON file using
ddox filter <path_to_json>.
The following command will filter out all modules starting with "core.sync.", except those starting with "core.sync.mutex" or "core.sync.condition".
--in always takes precedence over
--ex here. Additionally, all members with a protection lower than public will be filtered out.
./ddox filter path/to/docs.json --ex core.sync. --in core.sync.mutex --in core.sync.condition --min-protection Public
Serving the docs on localhost
Simply run the following command and go to http://127.0.0.1:8080/
./ddox serve-html path/to/docs.json
Generating offline documentation
The following command will generate HTML docs in the folder "docs":
./ddox generate-html path/to/docs.json destination/path
- Registered by Sönke Ludwig
- 0.9.12 released 10 years ago
0.16.20 2022-Jul-29 0.16.19 2022-Jun-17 0.16.18 2022-Mar-04 0.16.17 2020-Sep-04 0.16.16 2020-Aug-13
- Download Stats:
128 downloads today
965 downloads this week
4685 downloads this month
326918 downloads total
- Short URL: