To use it simply generate the ddoc documentation using dmd and generate an index.json using the
-XfdocFolder/index.json
switch for dmd. Then just put that folder where the exe is and run the
exe with --df=docFolder/
as argument
Then the output html files will generate to out/
For generating an index.json in dub just add "dflags": ["-XfdocFolder/index.json"]
to the dub.json.
Then do the above.
Argument | Description |
---|---|
df | Input directory where ddoc files are. |
of | Output directory of the documentation |
index | index.json file from -Xf switch (Relative to .exe or to docFolder/) |
replaceColors | Automatically replace with |
css | Specifies the stylesheet.css location (Relative to .exe) |
forceRemove | Removes the output directory before generating |