DocumentModule
A class in TavernLib, TavernLib.Debugging.
TavernLib's document console module: writes an HTML page of every console command into Documentation.zip and opens it. The first run downloads the page template from Alta's cloud storage. Its command is private.
- Listed in TavernLib.Debugging
- Attributes
Module - Documented in Internals
Constructors
| Member | What it is |
|---|---|
DocumentModule() | Created by TavernLib; mods don't make one. |
Fields
3 private and internal fields
Methods
18 private and internal methods
| Member | What it is |
|---|---|
private static void Body() | Writes the page's body element. |
private static void Content() | Writes the page content for all modules, or for one module or command. |
private static void Content(Module module, string address = "") | Writes the page content for all modules, or for one module or command. |
private static void Content(Command command, string address = "") | Writes the page content for all modules, or for one module or command. |
private static FileDownload Document() | Builds an HTML page of all console commands (or, in the helper overload, one block for a module or command), zips it, and opens it. |
private static void Document(BasePart part, XmlTextWriter writer, int level, Action content) | Builds an HTML page of all console commands (or, in the helper overload, one block for a module or command), zips it, and opens it. |
private static void ElementClassOpen(string element, string className) | Opens an element with a class and leaves it open. |
private static string GetAliases(CommandPart part) | Joins a command or module's aliases, skipping the first one. |
private static void Head() | Writes the page's head element with its meta tags, title and stylesheets. |
private static void Link(string rel, string type, string href, string media = null) | Writes a link element for a stylesheet or icon. |
private static void Meta(params string[] keyValues) | Writes a meta element from key and value pairs. |
private static void Navigation() | Writes the sidebar entries for all modules, or for one module or command. |
private static void Navigation(Module module, string address = "#") | Writes the sidebar entries for all modules, or for one module or command. |
private static void Navigation(Command command, string address = "#") | Writes the sidebar entries for all modules, or for one module or command. |
private static void Script(string src) | Writes one script element for a source file. |
private static void Scripts() | Adds the page's script tags. |
private static void SectionHeading(string heading) | Writes a section heading with a back to top link. |
private static void TopSection() | Writes the page's title banner. |