www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - is it possible to put some DDOC after auto generated blocks like

reply arturg <var.spool.mail700 gmail.com> writes:
///
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.
Mar 04 2018
parent reply Adam D. Ruppe <destructionator gmail.com> writes:
No, ddoc does not support that. You might be able to hack it with 
javascript though.
Mar 05 2018
parent arturg <var.spool.mail700 gmail.com> writes:
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.
Mar 05 2018