From 5602edaaf2ca3282ade006b64ec1fadbfad25016 Mon Sep 17 00:00:00 2001 From: aleteoryx Date: Sun, 10 Nov 2024 18:24:15 -0500 Subject: [PATCH] disable sr.ht toc --- bin/docgen.tcl | 5 +++-- doc/md/cap.md | 3 +++ doc/md/db/main.md | 3 +++ doc/md/irc.md | 3 +++ doc/md/irc/main.md | 3 +++ doc/md/main.md | 3 +++ doc/md/migrate_core.md | 3 +++ doc/md/plugins.md | 3 +++ doc/md/spdx/lib.md | 3 +++ doc/md/threads.md | 3 +++ doc/md/ui/main.md | 3 +++ 11 files changed, 33 insertions(+), 2 deletions(-) diff --git a/bin/docgen.tcl b/bin/docgen.tcl index c78d251..31ef21f 100755 --- a/bin/docgen.tcl +++ b/bin/docgen.tcl @@ -39,12 +39,13 @@ while {[llength $to_check]} { set ifd [open $file r] set ofd [open $opath w] + puts $ofd {--- +toc: false +---} puts -nonewline $ofd [.doc format [read $ifd]] close $ifd close $ofd - # TODO: postprocess to remove toc - puts $ofile } diff --git a/doc/md/cap.md b/doc/md/cap.md index 17f5526..e319aa7 100644 --- a/doc/md/cap.md +++ b/doc/md/cap.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (cap \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') diff --git a/doc/md/db/main.md b/doc/md/db/main.md index 33ffd01..c88c882 100644 --- a/doc/md/db/main.md +++ b/doc/md/db/main.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (db\_thread \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') diff --git a/doc/md/irc.md b/doc/md/irc.md index 4eeb3ee..51e921f 100644 --- a/doc/md/irc.md +++ b/doc/md/irc.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (irc \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') diff --git a/doc/md/irc/main.md b/doc/md/irc/main.md index 476bb61..19d7ddd 100644 --- a/doc/md/irc/main.md +++ b/doc/md/irc/main.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (irc\_thread \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') diff --git a/doc/md/main.md b/doc/md/main.md index 0e2e16f..8032bc2 100644 --- a/doc/md/main.md +++ b/doc/md/main.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (main\_thread \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') diff --git a/doc/md/migrate_core.md b/doc/md/migrate_core.md index 2a21269..530e9f3 100644 --- a/doc/md/migrate_core.md +++ b/doc/md/migrate_core.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (migrate\_core \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') diff --git a/doc/md/plugins.md b/doc/md/plugins.md index a923d52..8290472 100644 --- a/doc/md/plugins.md +++ b/doc/md/plugins.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (plugins \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') diff --git a/doc/md/spdx/lib.md b/doc/md/spdx/lib.md index f936ad6..7cf1ea0 100644 --- a/doc/md/spdx/lib.md +++ b/doc/md/spdx/lib.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (spdx \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') diff --git a/doc/md/threads.md b/doc/md/threads.md index 57505f5..f0d6007 100644 --- a/doc/md/threads.md +++ b/doc/md/threads.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (threads \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') diff --git a/doc/md/ui/main.md b/doc/md/ui/main.md index 9241d07..417b592 100644 --- a/doc/md/ui/main.md +++ b/doc/md/ui/main.md @@ -1,3 +1,6 @@ +--- +toc: false +--- [//000000001]: # (ui\_thread \- ) [//000000002]: # (Generated from file 'doctools' by tcllib/doctools with format 'markdown') -- 2.45.2