diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-05-02 10:21:55 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-05-02 13:27:38 +0000 |
commit | d5581049f8789eae86e91372f34ec8ed794272aa (patch) | |
tree | bf805917df650283ed0238b60c712779c02b51f2 /sources/pyside2/doc/CMakeLists.txt | |
parent | d90fcd0f0f0e1279676714f6835fd9ae3c1258db (diff) |
Add option to create additional documentation
Add an option taking a list of files under the webxml directory
that are run though the Sphinx converter to create .rst files.
This can be used for tutorials and example descriptions.
Task-number: PYSIDE-363
Change-Id: Ifa6df32517a2b336cd3f755523947d70c5c24f2e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/pyside2/doc/CMakeLists.txt')
-rw-r--r-- | sources/pyside2/doc/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside2/doc/CMakeLists.txt b/sources/pyside2/doc/CMakeLists.txt index e40602b97..5b2ab224e 100644 --- a/sources/pyside2/doc/CMakeLists.txt +++ b/sources/pyside2/doc/CMakeLists.txt @@ -94,6 +94,7 @@ add_custom_target("docrsts" --output-directory=${CMAKE_CURRENT_BINARY_DIR}/rst --documentation-code-snippets-dir=${CMAKE_CURRENT_SOURCE_DIR}/codesnippets/doc/src/snippets${PATH_SEP}${CMAKE_CURRENT_SOURCE_DIR}/codesnippets/examples --documentation-extra-sections-dir=${CMAKE_CURRENT_SOURCE_DIR}/extras + --additional-documentation=${CMAKE_CURRENT_LIST_DIR}/additionaldocs.lst ${CMAKE_CURRENT_BINARY_DIR}/typesystem_doc.xml WORKING_DIRECTORY ${${module}_SOURCE_DIR} COMMENT "Running generator to generate documentation..." |