diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/nimdoc.cfg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg index 3b0afe8d6..7aee50d8c 100644 --- a/config/nimdoc.cfg +++ b/config/nimdoc.cfg @@ -16,6 +16,14 @@ doc.section = """ </div> """ +# Just a single item in the TOC (e.g. imports, exports) +doc.section.toc_item = """ +<li> + <a class="reference reference-toplevel" href="#$sectionID" id="$sectionTitleID">$sectionTitle</a> +</li> +""" + +# This is a section (e.g. procs, types) in the TOC which gets turned into a drop down doc.section.toc = """ <li> <details open> |