diff options
author | Brad King <brad.king@kitware.com> | 2022-04-29 13:26:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-04-29 13:26:16 (GMT) |
commit | a8c8842101b45370183eba6294b0178bc2abe55b (patch) | |
tree | d51bd474bd7efcd166a856d2f887c37ec8f58cb0 /Help/guide/tutorial | |
parent | 74c4762a3884ac938106d412a5ea8ea7b248f9ca (diff) | |
parent | 4cb616fed63a93547e81812980d59660bdf9757f (diff) | |
download | CMake-a8c8842101b45370183eba6294b0178bc2abe55b.zip CMake-a8c8842101b45370183eba6294b0178bc2abe55b.tar.gz CMake-a8c8842101b45370183eba6294b0178bc2abe55b.tar.bz2 |
Merge topic 'doc-cmake.org-tutorial-archive' into release-3.23
4cb616fed6 Tutorial: Provide a source archive when published on cmake.org
37fb70591e Utilities/Sphinx: Add variables listing pre-sphinx commands
eb7d913a21 Utilities/Sphinx: Clarify names of variables listing post-sphinx commands
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7215
Diffstat (limited to 'Help/guide/tutorial')
-rw-r--r-- | Help/guide/tutorial/index.rst | 5 | ||||
-rw-r--r-- | Help/guide/tutorial/source.txt | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Help/guide/tutorial/index.rst b/Help/guide/tutorial/index.rst index 8b20a2d..09553cb 100644 --- a/Help/guide/tutorial/index.rst +++ b/Help/guide/tutorial/index.rst @@ -11,8 +11,9 @@ work together in an example project can be very helpful. Steps ===== -The tutorial documentation and source code for examples can be found in -the ``Help/guide/tutorial`` directory of the CMake source code tree. +.. include:: source.txt + +|tutorial_source| Each step has its own subdirectory containing code that may be used as a starting point. The tutorial examples are progressive so that each step provides the complete solution for the previous step. diff --git a/Help/guide/tutorial/source.txt b/Help/guide/tutorial/source.txt new file mode 100644 index 0000000..bb45e86 --- /dev/null +++ b/Help/guide/tutorial/source.txt @@ -0,0 +1,3 @@ +.. |tutorial_source| replace:: + The tutorial documentation and source code examples can be found in + the ``Help/guide/tutorial`` directory of the CMake source code tree. |