On Friday, 6 December 2024 at 20:53:29 UTC, Richard (Rikki) Andrew Cattermole wrote:
Looks like you'll need to use dmd as a library and run the ddoc generator manually.

Here is where its being called from:

https://github.com/dlang/dmd/blob/master/compiler/src/dmd/main.d#L682

My only concern is its running after semantic analysis. I don't know how good the output will be without it.


Thanks Rikki for pointing me to the right place in the internals!

I'll try to dive in a bit more as it warrants.

I really only need to crawl through and display lots of source, it would just be nice if I could also provide the ddoc help alongside the source to provide context.
  • Generate documen... Mike Shah via Digitalmars-d-learn
    • Re: Generat... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Gen... Mike Shah via Digitalmars-d-learn
        • Re:... Bradley Chatha via Digitalmars-d-learn
          • ... Mike Shah via Digitalmars-d-learn
            • ... Mike Shah via Digitalmars-d-learn
            • ... Bradley Chatha via Digitalmars-d-learn

Reply via email to