From 4207b3a3bb60a83aa9ea01f1288e426f3dc9e46b Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 2 Jun 2014 13:16:28 -0400 Subject: [PATCH] Help: Use "^^^^" for subsubsection headers This is the convention suggested in the Sphinx documentation and is already used in several other places in the CMake documentation. Update a few places where we were using other characters. --- Help/command/cmake_policy.rst | 8 ++++---- Help/manual/cmake-buildsystem.7.rst | 2 +- Help/manual/cmake-developer.7.rst | 4 ++-- Help/manual/cmake-qt.7.rst | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Help/command/cmake_policy.rst b/Help/command/cmake_policy.rst index b14a2aa6d..2bc32870f 100644 --- a/Help/command/cmake_policy.rst +++ b/Help/command/cmake_policy.rst @@ -18,7 +18,7 @@ setting is available the ``OLD`` behavior is assumed and a warning is produced requesting that the policy be set. Setting Policies by CMake Version -''''''''''''''''''''''''''''''''' +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The ``cmake_policy`` command is used to set policies to ``OLD`` or ``NEW`` behavior. While setting policies individually is supported, we @@ -40,7 +40,7 @@ Note that the :command:`cmake_minimum_required(VERSION)` command implicitly calls ``cmake_policy(VERSION)`` too. Setting Policies Explicitly -''''''''''''''''''''''''''' +^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: @@ -54,7 +54,7 @@ one may fix the project to work with the new behavior and set the policy state to ``NEW``. Checking Policy Settings -'''''''''''''''''''''''' +^^^^^^^^^^^^^^^^^^^^^^^^ :: @@ -65,7 +65,7 @@ The output ```` value will be ``OLD`` or ``NEW`` if the policy is set, and empty otherwise. CMake Policy Stack -'''''''''''''''''' +^^^^^^^^^^^^^^^^^^ CMake keeps policy settings on a stack, so changes made by the cmake_policy command affect only the top of the stack. A new entry on diff --git a/Help/manual/cmake-buildsystem.7.rst b/Help/manual/cmake-buildsystem.7.rst index 3e1f01135..f3616fb20 100644 --- a/Help/manual/cmake-buildsystem.7.rst +++ b/Help/manual/cmake-buildsystem.7.rst @@ -551,7 +551,7 @@ exporting see the :manual:`cmake-packages(7)` manual. .. _`Include Directories and Usage Requirements`: Include Directories and Usage Requirements -'''''''''''''''''''''''''''''''''''''''''' +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Include directories require some special consideration when specified as usage requirements and when used with generator expressions. The diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst index 81adea08c..b26835fac 100644 --- a/Help/manual/cmake-developer.7.rst +++ b/Help/manual/cmake-developer.7.rst @@ -808,7 +808,7 @@ Documentation`_ section above. Standard Variable Names -~~~~~~~~~~~~~~~~~~~~~~~ +^^^^^^^^^^^^^^^^^^^^^^^ For a ``FindXxx.cmake`` module that takes the approach of setting variables (either instead of or in addition to creating imported @@ -914,7 +914,7 @@ them. A Sample Find Module -~~~~~~~~~~~~~~~~~~~~ +^^^^^^^^^^^^^^^^^^^^ We will describe how to create a simple find module for a library ``Foo``. diff --git a/Help/manual/cmake-qt.7.rst b/Help/manual/cmake-qt.7.rst index cad495115..fe8d62db5 100644 --- a/Help/manual/cmake-qt.7.rst +++ b/Help/manual/cmake-qt.7.rst @@ -54,7 +54,7 @@ CMake. Target dependencies may be added to that custom target by adding them to the :prop_tgt:`AUTOGEN_TARGET_DEPENDS` target property. AUTOMOC -''''''' +^^^^^^^ The :prop_tgt:`AUTOMOC` target property controls whether :manual:`cmake(1)` inspects the C++ files in the target to determine if they require ``moc`` to @@ -84,7 +84,7 @@ variable may be populated to pre-set the options for all following targets. .. _`Qt AUTOUIC`: AUTOUIC -''''''' +^^^^^^^ The :prop_tgt:`AUTOUIC` target property controls whether :manual:`cmake(1)` inspects the C++ files in the target to determine if they require ``uic`` to @@ -147,7 +147,7 @@ result of linking with the :prop_tgt:`IMPORTED` target: .. _`Qt AUTORCC`: AUTORCC -''''''' +^^^^^^^ The :prop_tgt:`AUTORCC` target property controls whether :manual:`cmake(1)` creates rules to execute ``rcc`` at the appropriate time on source files