summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--Help/index.rst12
2 files changed, 8 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 75ac8bf..5e3d39d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -813,7 +813,7 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE)
PATTERN "*.sh*" PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
- REGEX "Help/(dev|guide|index.rst)($|/)" EXCLUDE
+ REGEX "Help/(dev|guide)($|/)" EXCLUDE
)
# Install auxiliary files integrating with other tools.
diff --git a/Help/index.rst b/Help/index.rst
index cf1d2f1..cc6cee6 100644
--- a/Help/index.rst
+++ b/Help/index.rst
@@ -44,13 +44,15 @@ Reference Manuals
/manual/cmake-variables.7
/manual/cpack-generators.7
-Guides
-######
+.. only:: not man
-.. toctree::
- :maxdepth: 1
+ Guides
+ ######
+
+ .. toctree::
+ :maxdepth: 1
- /guide/tutorial/index
+ /guide/tutorial/index
.. only:: html or text