verb
Version:
A project without documentation is like a project that doesn't exist. Verb solves this by making it dead simple to generate docs, using simple markdown templates, with zero configuration required.
18 lines (13 loc) • 454 B
Markdown
# Define a custom template for the `toc` tag to use
tocOpts:
template: |+
<%= depth %><%= bullet %>[<%= heading %>](<%= url %>)
# Specify the destination. Defaults to CWD
dest: TOC.md
# Table of Contents
> This multi-page TOC was generated by Verb using the [toc tag](./DOCS.md/#toc). See [the template](./docs/toc.tmpl.md)
{%= toc(['docs/**/*.md', '!docs/{_draft,src/extras}/**/*.md', '!**/*.tmpl.md']) %}
***
{%= include("footer") %}