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(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.

hyphenate
void hyphenate(char[] word, R orng)
Undocumented in source. Be warned that the author may not have intended to support it.
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

License

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

Authors

Sönke Ludwig