ddox.ddoc

DietDoc/DDOC support routines

Members

Classes

DdocComment
class DdocComment

Holds a DDOC comment and formats it sectionwise as HTML.

Functions

enableHyphenation
void enableHyphenation()

Enable hyphenation of doc text.

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

Takes a DDOC string and outputs formatted HTML.

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

Takes a DDOC string and outputs formatted HTML.

setDefaultDdocMacroFiles
void setDefaultDdocMacroFiles(string[] filenames)

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

setOverrideDdocMacroFiles
void setOverrideDdocMacroFiles(string[] filenames)

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

Authors

Sönke Ludwig

License

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