Thread overview
is it possible to put some DDOC after auto generated blocks like unittest examples?
Mar 04, 2018
arturg
Mar 05, 2018
Adam D. Ruppe
Mar 05, 2018
arturg
March 04, 2018
///
void fun(){}

///$(TABLE $(TR $(TD Back to:) $(TD <a href="#fun">Declaration</a>) $(TD $(LINK2 #top, Top))))
unittest
{

}

it basically should look like this:

Declaration
void fun()

Example
---

---
[Back to:] [Declaration] [Top]


and if i replace the embbeded html with $(LINK2 #fun, Declaration) inside the doc comment of the function it produses wrong html.
March 05, 2018
No, ddoc does not support that. You might be able to hack it with javascript though.
March 05, 2018
On Monday, 5 March 2018 at 14:50:54 UTC, Adam D. Ruppe wrote:
> No, ddoc does not support that. You might be able to hack it with javascript though.

thanks, yeah eigther that or a d script to do some postprocessing, so it can work without javascript.