Bläddra i källkod

Help: Replace use of :code:`` with plain reST syntax

This appeared in a few CPack generator documents but is not used
elsewhere.
Brad King 7 år sedan
förälder
incheckning
0fc6faf2dd
4 ändrade filer med 14 tillägg och 14 borttagningar
  1. 10 10
      Help/cpack_gen/deb.rst
  2. 1 1
      Help/cpack_gen/freebsd.rst
  3. 1 1
      Help/cpack_gen/nuget.rst
  4. 2 2
      Help/cpack_gen/rpm.rst

+ 10 - 10
Help/cpack_gen/deb.rst

@@ -15,9 +15,9 @@ better deb package when Debian specific tools ``dpkg-xxx`` are usable on
 the build system.
 the build system.
 
 
 The CPack DEB generator has specific features which are controlled by the
 The CPack DEB generator has specific features which are controlled by the
-specifics :code:`CPACK_DEBIAN_XXX` variables.
+specifics ``CPACK_DEBIAN_XXX`` variables.
 
 
-:code:`CPACK_DEBIAN_<COMPONENT>_XXXX` variables may be used in order to have
+``CPACK_DEBIAN_<COMPONENT>_XXXX`` variables may be used in order to have
 **component** specific values.  Note however that ``<COMPONENT>`` refers to
 **component** specific values.  Note however that ``<COMPONENT>`` refers to
 the **grouping name** written in upper case. It may be either a component name
 the **grouping name** written in upper case. It may be either a component name
 or a component GROUP name.
 or a component GROUP name.
@@ -133,8 +133,8 @@ List of CPack DEB generator specific variables:
  The Debian package architecture
  The Debian package architecture
 
 
  * Mandatory : YES
  * Mandatory : YES
- * Default   : Output of :code:`dpkg --print-architecture` (or :code:`i386`
-   if :code:`dpkg` is not found)
+ * Default   : Output of ``dpkg --print-architecture`` (or ``i386``
+   if ``dpkg`` is not found)
 
 
 .. variable:: CPACK_DEBIAN_PACKAGE_DEPENDS
 .. variable:: CPACK_DEBIAN_PACKAGE_DEPENDS
               CPACK_DEBIAN_<COMPONENT>_PACKAGE_DEPENDS
               CPACK_DEBIAN_<COMPONENT>_PACKAGE_DEPENDS
@@ -176,7 +176,7 @@ List of CPack DEB generator specific variables:
  The Debian package maintainer
  The Debian package maintainer
 
 
  * Mandatory : YES
  * Mandatory : YES
- * Default   : :code:`CPACK_PACKAGE_CONTACT`
+ * Default   : ``CPACK_PACKAGE_CONTACT``
 
 
 .. variable:: CPACK_DEBIAN_PACKAGE_DESCRIPTION
 .. variable:: CPACK_DEBIAN_PACKAGE_DESCRIPTION
               CPACK_COMPONENT_<COMPONENT>_DESCRIPTION
               CPACK_COMPONENT_<COMPONENT>_DESCRIPTION
@@ -260,7 +260,7 @@ List of CPack DEB generator specific variables:
 .. variable:: CPACK_DEBIAN_PACKAGE_SHLIBDEPS
 .. variable:: CPACK_DEBIAN_PACKAGE_SHLIBDEPS
               CPACK_DEBIAN_<COMPONENT>_PACKAGE_SHLIBDEPS
               CPACK_DEBIAN_<COMPONENT>_PACKAGE_SHLIBDEPS
 
 
- May be set to ON in order to use :code:`dpkg-shlibdeps` to generate
+ May be set to ON in order to use ``dpkg-shlibdeps`` to generate
  better package dependency list.
  better package dependency list.
 
 
  * Mandatory : NO
  * Mandatory : NO
@@ -272,7 +272,7 @@ List of CPack DEB generator specific variables:
  .. note::
  .. note::
 
 
    You may need set :variable:`CMAKE_INSTALL_RPATH` to an appropriate value
    You may need set :variable:`CMAKE_INSTALL_RPATH` to an appropriate value
-   if you use this feature, because if you don't :code:`dpkg-shlibdeps`
+   if you use this feature, because if you don't ``dpkg-shlibdeps``
    may fail to find your own shared libs.
    may fail to find your own shared libs.
    See https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling
    See https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling
 
 
@@ -289,7 +289,7 @@ List of CPack DEB generator specific variables:
 
 
  Sets the `Pre-Depends` field of the Debian package.
  Sets the `Pre-Depends` field of the Debian package.
  Like :variable:`Depends <CPACK_DEBIAN_PACKAGE_DEPENDS>`, except that it
  Like :variable:`Depends <CPACK_DEBIAN_PACKAGE_DEPENDS>`, except that it
- also forces :code:`dpkg` to complete installation of the packages named
+ also forces ``dpkg`` to complete installation of the packages named
  before even starting the installation of the package which declares the
  before even starting the installation of the package which declares the
  pre-dependency.
  pre-dependency.
 
 
@@ -324,7 +324,7 @@ List of CPack DEB generator specific variables:
 
 
  Sets the `Breaks` field of the Debian package.
  Sets the `Breaks` field of the Debian package.
  When a binary package (P) declares that it breaks other packages (B),
  When a binary package (P) declares that it breaks other packages (B),
- :code:`dpkg` will not allow the package (P) which declares `Breaks` be
+ ``dpkg`` will not allow the package (P) which declares `Breaks` be
  **unpacked** unless the packages that will be broken (B) are deconfigured
  **unpacked** unless the packages that will be broken (B) are deconfigured
  first.
  first.
  As long as the package (P) is configured, the previously deconfigured
  As long as the package (P) is configured, the previously deconfigured
@@ -344,7 +344,7 @@ List of CPack DEB generator specific variables:
 
 
  Sets the `Conflicts` field of the Debian package.
  Sets the `Conflicts` field of the Debian package.
  When one binary package declares a conflict with another using a `Conflicts`
  When one binary package declares a conflict with another using a `Conflicts`
- field, :code:`dpkg` will not allow them to be unpacked on the system at
+ field, ``dpkg`` will not allow them to be unpacked on the system at
  the same time.
  the same time.
 
 
  * Mandatory : NO
  * Mandatory : NO

+ 1 - 1
Help/cpack_gen/freebsd.rst

@@ -20,7 +20,7 @@ The CPack FreeBSD generator should work on any host with libpkg installed. The
 packages it produces are specific to the host architecture and ABI.
 packages it produces are specific to the host architecture and ABI.
 
 
 The CPack FreeBSD generator sets package-metadata through
 The CPack FreeBSD generator sets package-metadata through
-:code:`CPACK_FREEBSD_XXX` variables. The CPack FreeBSD generator, unlike the
+``CPACK_FREEBSD_XXX`` variables. The CPack FreeBSD generator, unlike the
 CPack Deb generator, does not specially support componentized packages; a
 CPack Deb generator, does not specially support componentized packages; a
 single package is created from all the software artifacts created through
 single package is created from all the software artifacts created through
 CMake.
 CMake.

+ 1 - 1
Help/cpack_gen/nuget.rst

@@ -18,7 +18,7 @@ The CPack NuGet generator may be used to create NuGet packages using
 it uses the ``CPACK_XXX`` variables used by :module:`CPack`.
 it uses the ``CPACK_XXX`` variables used by :module:`CPack`.
 
 
 The CPack NuGet generator has specific features which are controlled by the
 The CPack NuGet generator has specific features which are controlled by the
-specifics :code:`CPACK_NUGET_XXX` variables. In the "one per group" mode
+specifics ``CPACK_NUGET_XXX`` variables. In the "one per group" mode
 (see :variable:`CPACK_COMPONENTS_GROUPING`), ``<compName>`` placeholder
 (see :variable:`CPACK_COMPONENTS_GROUPING`), ``<compName>`` placeholder
 in the variables below would contain a group name (uppercased and turned into
 in the variables below would contain a group name (uppercased and turned into
 a "C" identifier).
 a "C" identifier).

+ 2 - 2
Help/cpack_gen/rpm.rst

@@ -11,9 +11,9 @@ The CPack RPM generator is a :module:`CPack` generator thus it uses the
 ``CPACK_XXX`` variables used by :module:`CPack`.
 ``CPACK_XXX`` variables used by :module:`CPack`.
 
 
 The CPack RPM generator has specific features which are controlled by the specifics
 The CPack RPM generator has specific features which are controlled by the specifics
-:code:`CPACK_RPM_XXX` variables.
+``CPACK_RPM_XXX`` variables.
 
 
-:code:`CPACK_RPM_<COMPONENT>_XXXX` variables may be used in order to have
+``CPACK_RPM_<COMPONENT>_XXXX`` variables may be used in order to have
 **component** specific values.  Note however that ``<COMPONENT>`` refers to the
 **component** specific values.  Note however that ``<COMPONENT>`` refers to the
 **grouping name** written in upper case. It may be either a component name or
 **grouping name** written in upper case. It may be either a component name or
 a component GROUP name. Usually those variables correspond to RPM spec file
 a component GROUP name. Usually those variables correspond to RPM spec file