On Sunday, 11 January 2015 at 17:28:37 UTC, Andrei Alexandrescu
wrote:
On 1/11/15 3:03 AM, Mathias LANG wrote:
On Saturday, 10 January 2015 at 17:23:24 UTC, Andrei
Alexandrescu wrote:
In the ddox-generated documentation the heading is e.g.
"Module
std.container". I wanted to style "std.container" in code
font, but
can't find where that text is generated. I've searched
dlang.org/ and
dub/, no avail.
Andrei
IIUC, you're looking for this:
https://github.com/rejectedsoftware/ddox/blob/ce797a3182c1263feb4a6f4c9ce9b88b95d83003/views/layout.dt
Which is the base of all layout. But from a quick look
(https://github.com/rejectedsoftware/ddox/search?utf8=%E2%9C%93&q=h1),
the title is the only h1 on the page, so you could just tweak
the CSS.
I don't think the CSS would be enough. The "title" is "Module
xxx.yyy". I only need to format "xxx.yyy" in code font. How do
I do that? -- Andrei
Seems to be
https://github.com/rejectedsoftware/ddox/blob/ce797a3182c1263feb4a6f4c9ce9b88b95d83003/views/ddox.module.dt
(line 9)
Just look at files in
https://github.com/rejectedsoftware/ddox/tree/ce797a3182c1263feb4a6f4c9ce9b88b95d83003/views
. I don't use DDox, but it's easy to get around.