Help: Restore installation of top-level index

We removed installation of `Help/index.rst` in commit d2fde94809 (Help:
Add infrastructure for guide-level documentation, 2019-05-30), but the
file is required for `--help-full` to work.  Restore installation of the
file and update it to avoid referencing the `Help/guide` directory in
its toctree during processing by `cmRST`.
This commit is contained in:
Brad King
2019-08-19 11:41:32 -04:00
parent 1958c78fe1
commit d56a4b16ca
2 changed files with 8 additions and 6 deletions

View File

@@ -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.

View File

@@ -44,13 +44,15 @@ Reference Manuals
/manual/cmake-variables.7
/manual/cpack-generators.7
Guides
######
.. only:: not man
.. toctree::
:maxdepth: 1
Guides
######
/guide/tutorial/index
.. toctree::
:maxdepth: 1
/guide/tutorial/index
.. only:: html or text