Doc: Simplify qtbase qdocconfs.
We should be using the global qdocconf for the common variables. This change also allows you to just specify -installdir without using a templatedir. Change-Id: I207d279d9b5199212e896fc5ccab5c212b1896c6 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
This commit is contained in:
parent
244e3e2aa0
commit
2e7f06c9bc
@ -1,3 +1,14 @@
|
|||||||
|
HTML.generatemacrefs = "true"
|
||||||
|
HTML.nobreadcrumbs = "true"
|
||||||
|
|
||||||
|
HTML.stylesheets = global/style/offline.css
|
||||||
|
|
||||||
|
HTML.headerstyles = \
|
||||||
|
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
||||||
|
|
||||||
|
HTML.endheader = \
|
||||||
|
"</head>\n" \
|
||||||
|
|
||||||
HTML.footer = \
|
HTML.footer = \
|
||||||
"<div class=\"footer\">\n" \
|
"<div class=\"footer\">\n" \
|
||||||
" <p>\n" \
|
" <p>\n" \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtConcurrent
|
project = QtConcurrent
|
||||||
description = Qt Concurrent Reference Documentation
|
description = Qt Concurrent Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtconcurrent
|
outputdir = ../../../doc/qtconcurrent
|
||||||
tagfile = ../../../doc/qtconcurrent/qtconcurrent.tags
|
tagfile = ../../../doc/qtconcurrent/qtconcurrent.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtCore
|
project = QtCore
|
||||||
description = Qt Core Reference Documentation
|
description = Qt Core Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtcore
|
outputdir = ../../../doc/qtcore
|
||||||
tagfile = ../../../doc/qtcore/qtcore.tags
|
tagfile = ../../../doc/qtcore/qtcore.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtDBus
|
project = QtDBus
|
||||||
description = Qt DBus Reference Documentation
|
description = Qt DBus Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtdbus
|
outputdir = ../../../doc/qtdbus
|
||||||
tagfile = ../../../doc/qtdbus/qtdbus.tags
|
tagfile = ../../../doc/qtdbus/qtdbus.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtGui
|
project = QtGui
|
||||||
description = Qt GUI Reference Documentation
|
description = Qt GUI Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtgui
|
outputdir = ../../../doc/qtgui
|
||||||
tagfile = ../../../doc/qtgui/qtgui.tags
|
tagfile = ../../../doc/qtgui/qtgui.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtNetwork
|
project = QtNetwork
|
||||||
description = Qt Network Reference Documentation
|
description = Qt Network Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtnetwork
|
outputdir = ../../../doc/qtnetwork
|
||||||
tagfile = ../../../doc/qtnetwork/qtnetwork.tags
|
tagfile = ../../../doc/qtnetwork/qtnetwork.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtOpenGL
|
project = QtOpenGL
|
||||||
description = Qt OpenGL Reference Documentation
|
description = Qt OpenGL Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtopengl
|
outputdir = ../../../doc/qtopengl
|
||||||
tagfile = ../../../doc/qtopengl/qtopengl.tags
|
tagfile = ../../../doc/qtopengl/qtopengl.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtPrintSupport
|
project = QtPrintSupport
|
||||||
description = Qt Print Support Reference Documentation
|
description = Qt Print Support Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtprintsupport
|
outputdir = ../../../doc/qtprintsupport
|
||||||
tagfile = ../../../doc/qtprintsupport/qtprintsupport.tags
|
tagfile = ../../../doc/qtprintsupport/qtprintsupport.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtSql
|
project = QtSql
|
||||||
description = Qt SQL Reference Documentation
|
description = Qt SQL Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtsql
|
outputdir = ../../../doc/qtsql
|
||||||
tagfile = ../../../doc/qtsql/qtsql.tags
|
tagfile = ../../../doc/qtsql/qtsql.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtTest
|
project = QtTest
|
||||||
description = Qt Test Reference Documentation
|
description = Qt Test Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qttest
|
outputdir = ../../../doc/qttest
|
||||||
tagfile = ../../../doc/qttest/qttest.tags
|
tagfile = ../../../doc/qttest/qttest.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1648,9 +1648,16 @@ void Generator::initialize(const Config &config)
|
|||||||
QString templateDir = config.getString(
|
QString templateDir = config.getString(
|
||||||
(*g)->format() + Config::dot + CONFIG_TEMPLATEDIR);
|
(*g)->format() + Config::dot + CONFIG_TEMPLATEDIR);
|
||||||
|
|
||||||
|
QStringList searchDirs;
|
||||||
if (!templateDir.isEmpty()) {
|
if (!templateDir.isEmpty()) {
|
||||||
|
searchDirs.append(templateDir);
|
||||||
|
}
|
||||||
|
if (!Config::installDir.isEmpty()) {
|
||||||
|
searchDirs.append(Config::installDir);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!searchDirs.isEmpty()) {
|
||||||
QStringList noExts;
|
QStringList noExts;
|
||||||
QStringList searchDirs = QStringList() << templateDir;
|
|
||||||
QStringList scripts =
|
QStringList scripts =
|
||||||
config.getCleanPathList((*g)->format()+Config::dot+CONFIG_SCRIPTS);
|
config.getCleanPathList((*g)->format()+Config::dot+CONFIG_SCRIPTS);
|
||||||
e = scripts.constBegin();
|
e = scripts.constBegin();
|
||||||
@ -1671,10 +1678,6 @@ void Generator::initialize(const Config &config)
|
|||||||
++e;
|
++e;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Config::installDir.isEmpty()) {
|
|
||||||
searchDirs.append(Config::installDir);
|
|
||||||
}
|
|
||||||
|
|
||||||
QStringList styles =
|
QStringList styles =
|
||||||
config.getCleanPathList((*g)->format()+Config::dot+CONFIG_STYLESHEETS);
|
config.getCleanPathList((*g)->format()+Config::dot+CONFIG_STYLESHEETS);
|
||||||
e = styles.constBegin();
|
e = styles.constBegin();
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtWidgets
|
project = QtWidgets
|
||||||
description = Qt Widgets Reference Documentation
|
description = Qt Widgets Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtwidgets
|
outputdir = ../../../doc/qtwidgets
|
||||||
tagfile = ../../../doc/qtwidgets/qtwidgets.tags
|
tagfile = ../../../doc/qtwidgets/qtwidgets.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
include(../../../doc/global/qt-html-templates-offline.qdocconf)
|
include(global/qt-html-templates-offline.qdocconf)
|
||||||
include(../../../doc/global/qt-cpp-ignore.qdocconf)
|
include(global/qt-cpp-ignore.qdocconf)
|
||||||
|
|
||||||
project = QtXml
|
project = QtXml
|
||||||
description = Qt XML Reference Documentation
|
description = Qt XML Reference Documentation
|
||||||
@ -48,19 +48,6 @@ examples.imageextensions = "*.png"
|
|||||||
outputdir = ../../../doc/qtxml
|
outputdir = ../../../doc/qtxml
|
||||||
tagfile = ../../../doc/qtxml/qtxml.tags
|
tagfile = ../../../doc/qtxml/qtxml.tags
|
||||||
|
|
||||||
HTML.generatemacrefs = "true"
|
|
||||||
HTML.nobreadcrumbs = "true"
|
|
||||||
|
|
||||||
HTML.templatedir = .
|
|
||||||
|
|
||||||
HTML.stylesheets = ../../../doc/global/style/offline.css
|
|
||||||
|
|
||||||
HTML.headerstyles = \
|
|
||||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
|
|
||||||
|
|
||||||
HTML.endheader = \
|
|
||||||
"</head>\n" \
|
|
||||||
|
|
||||||
defines = Q_QDOC \
|
defines = Q_QDOC \
|
||||||
QT_.*_SUPPORT \
|
QT_.*_SUPPORT \
|
||||||
QT_.*_LIB \
|
QT_.*_LIB \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user