The <doc> tag, which is used by Doctor to build the documentation, has several types available. They all end in </doc>.
<doc title>
This is used to change the <title> of the document in <head>.
<doc header>
This is used to change the header of the documentation, the name of the project, at the very top.
<doc description>
The description of the project, which is shown right below the header.
<doc theme>
The documentation's color theme can be configured.
The color specified here changes the color of the left menu, as well as the color of the links.
A light color is not recommended because it will not contrast well with the white background.
<doc style>
Additional CSS you might want to add can go here. This is added after the default CSS declarations, at the bottom of <head>.
<doc script>
Additional JavaScript you might want to add can go here. This is added after the default JavaScript declarations, at the bottom of <body>.
<doc favicon>
Path to a desired favicon. If nothing is provided it will use a default one, which is hardcoded in the output file.
<doc head>
Any additional declarations you might want to add at the end of <head>.
Processing is done to accept unescaped tags.
<doc footer>
This is used to change the footer at the bottom of the documentation.
The footer's background color is the same as the theme color, with a white font.
If nothing is specified, the footer will not be rendered at all.
Processing is done to accept unescaped tags.
<doc keyboard>
This can be used to enable or disable document keyboard events.
They are enabled by default. To disable them set it to false.
This doesn't remove the keyboard events for when the left menu is open.
<doc modal>
This can be used to enable or disable image modals.
By default clicked images are opened in a modal window.
To disable that set it to false.
<doc section name='Name Of The Section'>
This is where the actual content of the documentation goes.
The name of the section appears on top, with its content below.
Sections are separated by horizontal lines.
Every section has an anchor link below the description at the top.
An anchor link to it is also added to the left menu.
Special Tags <xcodex> </xcodex>
This allows for code samples to be displayed.
Processing is done to ensure everything is displayed correctly.
It will try to autoescape tags inside <xcodex> as much as possible.
But some cases require manual escape, like unclosed <xcodex> tags.
Which shouldn't be a problem since <xcodex> is not a common tag.