summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-commands.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-01 15:12:02 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-01 15:12:02 (GMT)
commitc76e44e7b9eb2a8dfcbc7e84f385dd03d5166554 (patch)
treea66bdc0bcbf215b587350aa0ab95c2496bc144e4 /Help/manual/cmake-commands.7.rst
parent20bb60917125ee69e5ce0131934f214be15fdcb6 (diff)
downloadCMake-c76e44e7b9eb2a8dfcbc7e84f385dd03d5166554.zip
CMake-c76e44e7b9eb2a8dfcbc7e84f385dd03d5166554.tar.gz
CMake-c76e44e7b9eb2a8dfcbc7e84f385dd03d5166554.tar.bz2
Help: Limit reference manual toctree depth to 1
Add a :maxdepth: option to all toctree directives to limit their depth to 1. We do not want subheadings from individual documents to pollute the already large lists of CMake Domain objects.
Diffstat (limited to 'Help/manual/cmake-commands.7.rst')
-rw-r--r--Help/manual/cmake-commands.7.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/manual/cmake-commands.7.rst b/Help/manual/cmake-commands.7.rst
index 9b23efa..fb0d2b5 100644
--- a/Help/manual/cmake-commands.7.rst
+++ b/Help/manual/cmake-commands.7.rst
@@ -13,6 +13,8 @@ Normal Commands
These commands may be used freely in CMake projects.
.. toctree::
+ :maxdepth: 1
+
/command/add_compile_options
/command/add_custom_command
/command/add_custom_target
@@ -105,6 +107,8 @@ These commands are available only for compatibility with older
versions of CMake. Do not use them in new code.
.. toctree::
+ :maxdepth: 1
+
/command/build_name
/command/exec_program
/command/export_library_dependencies
@@ -128,6 +132,8 @@ CTest Commands
These commands are available only in ctest scripts.
.. toctree::
+ :maxdepth: 1
+
/command/ctest_build
/command/ctest_configure
/command/ctest_coverage