From 9889318dd059b4e3be922b73eb4c9379f61a1ae2 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Fri, 3 Feb 2017 13:37:00 +0100 Subject: Fix documentation configuration - Override defaults (output directory) from the Qt documentation config - Fix footer in the online doc build - Rename/move neptune-ui-online.qdocconf to avoid problems in the future - Introduce doc.pro, for use in doc builds via a super repository - Update doc base url - Bump copyright year to 2017 in doc-footer Change-Id: Ia7bf0f815cdc3182f6f373127e6408940e79337d Reviewed-by: Dominik Holland --- doc/doc.pri | 3 +-- doc/doc.pro | 2 ++ doc/neptune-ui-online.qdocconf | 20 -------------------- doc/neptune-ui-project.qdocconf | 2 +- doc/neptune-ui.qdocconf | 2 +- doc/online/neptune-ui.qdocconf | 26 ++++++++++++++++++++++++++ 6 files changed, 31 insertions(+), 24 deletions(-) create mode 100644 doc/doc.pro delete mode 100644 doc/neptune-ui-online.qdocconf create mode 100644 doc/online/neptune-ui.qdocconf diff --git a/doc/doc.pri b/doc/doc.pri index aa3c762..13c3684 100644 --- a/doc/doc.pri +++ b/doc/doc.pri @@ -1,7 +1,6 @@ isEmpty(VERSION): VERSION=1.0.0 build_online_docs: { - QMAKE_DOCS_TARGETDIR = html - QMAKE_DOCS = $$PWD/neptune-ui-online.qdocconf + QMAKE_DOCS = $$PWD/online/neptune-ui.qdocconf } else { QMAKE_DOCS = $$PWD/neptune-ui.qdocconf } diff --git a/doc/doc.pro b/doc/doc.pro new file mode 100644 index 0000000..0d8b598 --- /dev/null +++ b/doc/doc.pro @@ -0,0 +1,2 @@ +TEMPLATE = aux +include(doc.pri) diff --git a/doc/neptune-ui-online.qdocconf b/doc/neptune-ui-online.qdocconf deleted file mode 100644 index 6720923..0000000 --- a/doc/neptune-ui-online.qdocconf +++ /dev/null @@ -1,20 +0,0 @@ - -HTML.footer = \ - " \n" \ - "

\n" \ - " © 2016 Pelagicore AG.\n" \ - " Documentation contributions included herein are the copyrights of\n" \ - " their respective owners. " \ - " The documentation provided herein is licensed under the terms of the" \ - " GNU Free Documentation" \ - " License version 1.3 as published by the Free Software Foundation. " \ - " 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.

\n" - -include($QT_INSTALL_DOCS/global/qt-module-defaults-online.qdocconf) - -# Add an .html file with sidebar content, used in the online style -HTML.stylesheets += style/qt5-sidebar.html - -include(neptune-ui-project.qdocconf) diff --git a/doc/neptune-ui-project.qdocconf b/doc/neptune-ui-project.qdocconf index 2e15eb5..2d644be 100644 --- a/doc/neptune-ui-project.qdocconf +++ b/doc/neptune-ui-project.qdocconf @@ -1,6 +1,6 @@ project = NeptuneUI version = $QT_VERSION -url = http://doc.qt.io/neptuneui +url = http://doc.qt.io/NeptuneUI sourcedirs += src diff --git a/doc/neptune-ui.qdocconf b/doc/neptune-ui.qdocconf index 6f81a65..c39cf92 100644 --- a/doc/neptune-ui.qdocconf +++ b/doc/neptune-ui.qdocconf @@ -9,7 +9,7 @@ HTML.footer = \ "\n" \ "
\n" \ "

\n" \ - " © 2016 Pelagicore AG.\n" \ + " © 2017 Pelagicore AG.\n" \ " Documentation contributions included herein are the copyrights of\n" \ " their respective owners.
" \ " The documentation provided herein is licensed under the terms of the" \ diff --git a/doc/online/neptune-ui.qdocconf b/doc/online/neptune-ui.qdocconf new file mode 100644 index 0000000..da52564 --- /dev/null +++ b/doc/online/neptune-ui.qdocconf @@ -0,0 +1,26 @@ +include($QT_INSTALL_DOCS/global/qt-module-defaults-online.qdocconf) + +HTML.footer = \ + "

\n" \ + "

\n" \ + " © 2017 Pelagicore AG.\n" \ + " Documentation contributions included herein are the copyrights of\n" \ + " their respective owners. " \ + " The documentation provided herein is licensed under the terms of the" \ + " GNU Free Documentation" \ + " License version 1.3 as published by the Free Software Foundation. " \ + " 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.

\n" + +# online site footer +include($QT_INSTALL_DOCS/global/html-footer-online.qdocconf) + +# Add an .html file with sidebar content, used in the online style +#HTML.stylesheets += style/qt5-sidebar.html + +# override defaults for Qt module documentation +HTML.nosubdirs = "false" +HTML.outputsubdir = "neptune-ui" + +include(../neptune-ui-project.qdocconf) -- cgit v1.2.3