Simple step to making Ddoc better
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Fri Dec 18 08:40:04 PST 2015
On Friday, 18 December 2015 at 16:28:31 UTC, Andrei Alexandrescu
wrote:
> What's needed here is to wrap all raw text in DDOC_RAWTEXT as I
> proposed a few days ago. Then external tooling makes cross
> referencing trivial. Wanna work on that? -- Andrei
I don't agree that would help - what I want is when a code
example is like:
---
import std.stdio;
void foo(File f);
---
I want DDoc to look up what File means (that it is from std.stdio
and not from some other module, for example) and tell me that in
the generated code somehow.
So this is already being syntax highlighted, I want it to look up
more.
A big potential problem there is that not all examples are
complete programs that will compile, so it won't always work. But
we can cross that bridge when we come to it.
More information about the Digitalmars-d
mailing list