Questions tagged [ddoc]

Ddoc is the embedded documentation generator for the D programming language

4 questions
12
votes
1 answer

Using dub to build documentation

How would I use dub to make DDocs from my source files? There appears to be no default command in dub to do this, and I'd really like to be able to automate this process.
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
2
votes
3 answers

How to show math equations with DDoc?

I'd like to use math equations in documentation using DDoc. What's a good way to make it look good? Something like: /** * Returns x + sqrt(2). */ double add_sqrttwo(double x) { return x + sqrt(2); }
johan
  • 128
  • 7
1
vote
1 answer

Generating symbol list in ddoc (with dub)

I have a rather large single documentation page and I want to generate a symbol list (Jump to: on phobos docs, see std.compiler) with dub --build=ddoc because it is not there by default (current documentation page) I would not want to include a list…
WebFreak001
  • 2,415
  • 1
  • 15
  • 24
1
vote
2 answers

Richer Coloring and Typesetting in DDoc Output

Can I make the generated HTML page from my DDoc-marked-up D program use richer coloring and type-setting? The default is black-and-white. I'm currently calling DMD as dmd -debug -gc -unittest -D -Dd$OUTPUT_DIR
Nordlöw
  • 11,838
  • 10
  • 52
  • 99