summaryrefslogtreecommitdiff
path: root/doc/CMakeLists.txt
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-05-20 08:37:02 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-05-20 08:37:02 +0200
commitf767db22a8e0232f648755381ecce24baa886941 (patch)
treece6cdcde2308ceeb5a4d05e3b446b705ce16020c /doc/CMakeLists.txt
parentecdcf239fe0152b589b5971a4a548d6b728aa683 (diff)
downloadweechat-f767db22a8e0232f648755381ecce24baa886941.zip
doc: reduce toc levels and numbering in sections (user/API/scripting/relay/dev)
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r--doc/CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index aa54a14c4..f66fa50fe 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -51,27 +51,27 @@ if(ENABLE_MAN OR ENABLE_DOC)
# asciidoctor arguments for user's guide
set(ASCIIDOCTOR_USER_ARGS
-a toc=left
- -a toclevels=4
+ -a toclevels=2
-a sectnums
- -a sectnumlevels=3
+ -a sectnumlevels=1
-a docinfo1
)
# asciidoctor arguments for plugin API reference
set(ASCIIDOCTOR_PLUGIN_API_ARGS
-a toc=left
- -a toclevels=4
+ -a toclevels=3
-a sectnums
- -a sectnumlevels=3
+ -a sectnumlevels=2
-a docinfo1
)
# asciidoctor arguments for scripting guide
set(ASCIIDOCTOR_SCRIPTING_ARGS
-a toc=left
- -a toclevels=4
+ -a toclevels=3
-a sectnums
- -a sectnumlevels=3
+ -a sectnumlevels=1
-a docinfo1
)
@@ -98,7 +98,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
-a toc=left
-a toclevels=3
-a sectnums
- -a sectnumlevels=3
+ -a sectnumlevels=1
-a docinfo1
)
@@ -107,7 +107,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
-a toc=left
-a toclevels=3
-a sectnums
- -a sectnumlevels=3
+ -a sectnumlevels=1
-a docinfo1
)