How to use a non-standard DDoc section?

Max Samukha samukha at voliacable.com.removethis
Tue Mar 4 01:14:58 PST 2008


On Tue, 4 Mar 2008 18:29:45 +1100, Derek Parnell
<derek at nomail.afraid.org> wrote:

>On Sun, 02 Mar 2008 08:51:55 +0200, Max Samukha wrote:
>
>> /**
>>     Params:
>> 	foo     = bar
>> 
>> $(DDOC_SECTION_H Section header:)
>> $(DDOC_SECTION Section contents)
>> */
>
>Try this ...
>
>/**
>    Params:
>	foo     = bar
>
>    Section_Header:
>    Section contents
>
>*/
>
>A Section name can only consist of ASCII alphabetic characters and '_'. The
>'_' is converted to a space on rendering.

Thanks. I should have deduced that from See_Also section name. Are the
section naming rules mentioned anywhere in the spec?


More information about the Digitalmars-d-learn mailing list