forked from qt-creator/qt-creator
Use QTCREATOR_COPYRIGHT_YEAR for documentation
For this the offline style overwrites any footer that was set in the qt-html-templates-offline.qdocconf from Qt. Change-Id: I8a8f7048445bc03a72b19df6c60b7cea680c5803 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -4,7 +4,7 @@ include(config/qtcreator-project.qdocconf)
|
||||
HTML.footer = \
|
||||
" </div>\n" \
|
||||
" <p class=\"copy-notice\">\n" \
|
||||
" <acronym title=\"Copyright\">©</acronym> 2018 The Qt Company Ltd.\n" \
|
||||
" <acronym title=\"Copyright\">©</acronym> $QTCREATOR_COPYRIGHT_YEAR The Qt Company Ltd.\n" \
|
||||
" Documentation contributions included herein are the copyrights of\n" \
|
||||
" their respective owners. " \
|
||||
" The documentation provided herein is licensed under the terms of the" \
|
||||
|
@@ -1,3 +1,23 @@
|
||||
# Run qdoc from the directory that contains this file.
|
||||
include(config/qtcreator-project.qdocconf)
|
||||
include($QT_INSTALL_DOCS/global/qt-html-templates-offline.qdocconf)
|
||||
|
||||
HTML.footer = \
|
||||
" </div>\n" \
|
||||
" </div>\n" \
|
||||
" </div>\n" \
|
||||
" </div>\n" \
|
||||
"</div>\n" \
|
||||
"<div class=\"footer\">\n" \
|
||||
" <p>\n" \
|
||||
" <acronym title=\"Copyright\">©</acronym> $QTCREATOR_COPYRIGHT_YEAR The Qt Company Ltd.\n" \
|
||||
" Documentation contributions included herein are the copyrights of\n" \
|
||||
" their respective owners.<br>" \
|
||||
" The documentation provided herein is licensed under the terms of the" \
|
||||
" <a href=\"http://www.gnu.org/licenses/fdl.html\">GNU Free Documentation" \
|
||||
" License version 1.3</a> as published by the Free Software Foundation.<br>" \
|
||||
" Qt and respective logos are trademarks of The Qt Company Ltd. " \
|
||||
" in Finland and/or other countries worldwide. All other trademarks are property\n" \
|
||||
" of their respective owners. </p>\n" \
|
||||
"</div>\n" \
|
||||
|
||||
|
4
docs.pri
4
docs.pri
@@ -15,7 +15,9 @@ qdocindex.name = QDOC_INDEX_DIR
|
||||
qdocindex.value = $$[QT_INSTALL_DOCS]
|
||||
qtcdocsdir.name = QTC_DOCS_DIR
|
||||
qtcdocsdir.value = $$IDE_SOURCE_TREE/doc
|
||||
QDOC_ENV += qtcver qtcvertag qtdocs qdocindex qtcdocsdir
|
||||
qtccopyrightyear.name = QTCREATOR_COPYRIGHT_YEAR
|
||||
qtccopyrightyear.value = $$QTCREATOR_COPYRIGHT_YEAR
|
||||
QDOC_ENV += qtcver qtcvertag qtdocs qdocindex qtcdocsdir qtccopyrightyear
|
||||
|
||||
DOC_INDEX_PATHS += $$IDE_BUILD_TREE/doc
|
||||
DOC_HTML_INSTALLDIR = $$INSTALL_DOC_PATH
|
||||
|
Reference in New Issue
Block a user