forked from qt-creator/qt-creator
Amends 5fc456dd22
.
Change-Id: I342b82248ee84267613dd17583840d1c4daaaef3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
68 lines
1.5 KiB
QML
68 lines
1.5 KiB
QML
import qbs
|
|
import qbs.File
|
|
|
|
Project {
|
|
name: "documentation"
|
|
|
|
QtcDocumentation {
|
|
name: "user doc online"
|
|
isOnlineDoc: true
|
|
mainDocConfFile: "qtcreator/qtcreator-online.qdocconf"
|
|
|
|
files: [
|
|
"src/**/*",
|
|
]
|
|
}
|
|
|
|
QtcDocumentation {
|
|
name: "user doc offline"
|
|
isOnlineDoc: false
|
|
mainDocConfFile: "qtcreator/qtcreator.qdocconf"
|
|
|
|
files: [
|
|
"src/**/*",
|
|
]
|
|
}
|
|
|
|
QtcDocumentation {
|
|
name: "API doc online"
|
|
isOnlineDoc: true
|
|
mainDocConfFile: "qtcreatordev/qtcreator-dev-online.qdocconf"
|
|
|
|
Group {
|
|
name: "sources"
|
|
files: [
|
|
"api/*.qdoc",
|
|
"api/**/*",
|
|
]
|
|
excludeFiles: [mainDocConfFile]
|
|
}
|
|
}
|
|
|
|
QtcDocumentation {
|
|
name: "API doc offline"
|
|
isOnlineDoc: false
|
|
mainDocConfFile: "qtcreatordev/qtcreator-dev.qdocconf"
|
|
|
|
Group {
|
|
name: "sources"
|
|
files: [
|
|
"api/*.qdoc",
|
|
"api/**/*",
|
|
]
|
|
excludeFiles: [mainDocConfFile]
|
|
}
|
|
}
|
|
|
|
property string qbsBaseDir: project.sharedSourcesDir + "/qbs"
|
|
property bool qbsSubModuleExists: File.exists(qbsBaseDir + "/qbs.qbs")
|
|
Properties {
|
|
condition: qbsSubModuleExists
|
|
|
|
references: [qbsBaseDir + "/doc/doc.qbs"]
|
|
|
|
// The first entry is for overriding qbs' own qbsbuildconfig module.
|
|
qbsSearchPaths: [project.ide_source_tree + "/qbs", qbsBaseDir + "/qbs-resources"]
|
|
}
|
|
}
|