Return the application / root component instance.
Return the owner of this component.
Create a new DefaultTheme instance.
The renderer this theme is attached to.
Generate an anchor url for the given reflection and all of its children.
The reflection an anchor url should be created for.
The nearest reflection having an own document.
Build the url for the the given reflection and all of its children.
The reflection the url should be created for.
The array the url should be appended to.
The altered urls array.
The reflection the url should be generated for.
If implementing a custom theme, it is recommended to override buildNavigation instead.
Map the models of the given project to the desired output files.
The project whose urls should be generated.
A list of UrlMapping instances defining which models should be rendered to which files.
Renders the provided page to a string, which will be written to disk by the Renderer
The name of this component as set by the @Component
decorator.
The icons which will actually be rendered. The source of truth lives on the theme, and the DefaultThemeRenderContext.icons member will produce references to these.
These icons will be written twice. Once to an icons.svg
file in the assets directory
which will be referenced by icons on the context, and once to an icons.js
file so that
references to the icons can be dynamically embedded within the page for use by the search
dropdown and when loading the page on file://
urls.
Custom themes may overwrite this entire object or individual properties on it to customize the icons used within the page, however TypeDoc currently assumes that all icons are svg elements, so custom themes must also use svg elements.
Internal
markedStatic
URL_
Base class of all themes.
The theme class controls which files will be created through the Theme.getUrls function. It returns an array of UrlMapping instances defining the target files, models and templates to use. Additionally themes can subscribe to the events emitted by Renderer to control and manipulate the output process.