ddox.ddoc

DietDoc/DDOC support routines

Members

Classes

DdocComment
class DdocComment

Holds a DDOC comment and formats it sectionwise as HTML.

Functions

filterDdocComment
void filterDdocComment(R dst, string text, DdocContext context, int hlevel, bool delegate(string) display_section)

Takes a DDOC string and outputs formatted HTML.

formatDdocComment
string formatDdocComment(string ddoc_, int hlevel, bool delegate(string) display_section)
string formatDdocComment(string text, DdocContext context, int hlevel, bool delegate(string) display_section)

Takes a DDOC string and outputs formatted HTML.

setDefaultDdocMacroFile
void setDefaultDdocMacroFile(string filename)

Sets a set of macros that will be available to all calls to formatDdocComment.

setOverrideDdocMacroFile
void setOverrideDdocMacroFile(string filename)

Sets a set of macros that will be available to all calls to formatDdocComment and override local macro definitions.

Interfaces

DdocContext
interface DdocContext

Provides context information about the documented element.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig