The variable $context is used in the default Scroll HTML Exporter theme. This documentation explains how to use that variable for your own themes.
We put a couple of Objects there get information about the export process.
|ExportMode||String||This is mostly here to determine the display method. |
If all contents are in one page, you need to have another means of navigation, than for a single html page.
Contains selected option for General>Create
You recursively loop through all pages and their children.
|This is the tree of pages generated|
|WorkDirectory||File||Contains information about the File. All available methods and properties are available in the Java docs for java.io.File.|
This is used to determine which href to use when linking to another page.
|CombinedSectionLevel||Number||Used for rendering the section override|
|BuildSearchIndex||Boolean||true or false|
Depending on choices made in the export configuration, we can determine if a section of a template would be able to be displayed or not.