summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-03-01 15:47:44 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2011-03-01 15:52:11 -0300
commit9c212632512df3bcf6803fd41add3af40ca57e58 (patch)
treeead14c7a52c85e9adfd42e062d1a5bb82bfdc42d
parentf804d842974b7ddb05fd967cfbc329aebe7da44b (diff)
downloadpyside-9c212632512df3bcf6803fd41add3af40ca57e58.tar.gz
pyside-9c212632512df3bcf6803fd41add3af40ca57e58.tar.xz
pyside-9c212632512df3bcf6803fd41add3af40ca57e58.zip
Use multiple code snippets directories to fix the crazyness of Qt docs.
-rw-r--r--doc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index dc94527..05584eb 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -27,7 +27,7 @@ add_custom_target("docrsts"
--documentation-only
--documentation-data-dir=${DOC_DATA_DIR}
--output-directory=${CMAKE_CURRENT_BINARY_DIR}/rst
- --documentation-code-snippets-dir=${CMAKE_CURRENT_SOURCE_DIR}/codesnippets
+ --documentation-code-snippets-dir=${CMAKE_CURRENT_SOURCE_DIR}/codesnippets${PATH_SEP}${CMAKE_CURRENT_SOURCE_DIR}/codesnippets/examples
--documentation-extra-sections-dir=${CMAKE_CURRENT_SOURCE_DIR}/extras
${CMAKE_CURRENT_BINARY_DIR}/typesystem_doc.xml
WORKING_DIRECTORY ${${module}_SOURCE_DIR}