summaryrefslogtreecommitdiff
path: root/tools/toc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/toc.py')
-rwxr-xr-xtools/toc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/toc.py b/tools/toc.py
index 13b75ae1c..e3d719edf 100755
--- a/tools/toc.py
+++ b/tools/toc.py
@@ -3,6 +3,7 @@
"""
Usage: python3 toc.py [-n] files.md...
+
Replace a "## TOC" heading in a Markdown file with a table of contents,
generated from the other headings in the file. Supports multiple files.
Headings must start with "##" signs to be detected.