summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2020-03-16 15:08:20 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-03-20 09:57:26 +0100
commit02265f9bbc213d219afc345594307affb900e07e (patch)
tree882a41d2bba43c256a4ae565a65c89e07d29ce79 /.gitattributes
parentcc92cb9329e1fc17758ef432cfa5e2c938a18da0 (diff)
qdoc: Extend \example command to consider CMake projects
QDoc looks for project file(s) in the example directories before generating docs for the example. Now that we are moving towards CMake, it's ideal that qdoc is aware of this new project file type. Refactor the code that looks for project files - add a new function to Config for this purpose, and store the project file name into ExampleNode. This allows removal of duplicated logic when generating the example-manifest.xml file. Add a unit test for Config::getExampleProjectFile(), and modify the generatedoutput test to cover output for a CMake-based example. [ChangeLog][qdoc] Added support for CMake-based example projects. Fixes: QTBUG-82908 Change-Id: If9f061c613fee94b35df277043c2f4df93da7ec0 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions