summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2013-06-25 15:39:12 +0200
committerJerome Pasion <jerome.pasion@digia.com>2013-06-26 09:02:26 +0200
commit45ef09e491ed4645dfe4d6792dc647519af61cf6 (patch)
tree05e113665e7058e0ff9b4707255720aafd9005b3
parent0456e94c4b428242f3d184740152973c7a80ccfc (diff)
snapshot: Adding templates used by the snapshot
Change-Id: I352837f175a5126ecb0ab53eede09ae7fa37ddb0 Reviewed-by: Martin Smith <martin.smith@digia.com>
-rw-r--r--doc-snapshot/images/Qt-logo.pngbin0 -> 4344 bytes
-rw-r--r--doc-snapshot/templates/config-dev.qdocconf12
-rw-r--r--doc-snapshot/templates/config-release.qdocconf12
-rw-r--r--doc-snapshot/templates/config-stable.qdocconf12
-rw-r--r--doc-snapshot/templates/qt-html-templates-snapshot.qdocconf41
-rw-r--r--doc-snapshot/templates/qt-module-defaults-snapshot.qdocconf14
6 files changed, 91 insertions, 0 deletions
diff --git a/doc-snapshot/images/Qt-logo.png b/doc-snapshot/images/Qt-logo.png
new file mode 100644
index 0000000..64c1c4a
--- /dev/null
+++ b/doc-snapshot/images/Qt-logo.png
Binary files differ
diff --git a/doc-snapshot/templates/config-dev.qdocconf b/doc-snapshot/templates/config-dev.qdocconf
new file mode 100644
index 0000000..2cf3dab
--- /dev/null
+++ b/doc-snapshot/templates/config-dev.qdocconf
@@ -0,0 +1,12 @@
+#Include this file to inherit configuration related to Qt Project based modules.
+
+dita.metadata.default.author = Qt Project
+dita.metadata.default.permissions = all
+dita.metadata.default.publisher = Qt Project
+dita.metadata.default.copyryear = 2013
+dita.metadata.default.copyrholder = Digia Plc
+dita.metadata.default.audience = programmer
+
+#Set the main Qt index.html
+navigation.homepage = "Qt $QT_VER"
+buildversion = "Qt $QT_VERSION ('dev' branch)"
diff --git a/doc-snapshot/templates/config-release.qdocconf b/doc-snapshot/templates/config-release.qdocconf
new file mode 100644
index 0000000..5ff6f87
--- /dev/null
+++ b/doc-snapshot/templates/config-release.qdocconf
@@ -0,0 +1,12 @@
+#Include this file to inherit configuration related to Qt Project based modules.
+
+dita.metadata.default.author = Qt Project
+dita.metadata.default.permissions = all
+dita.metadata.default.publisher = Qt Project
+dita.metadata.default.copyryear = 2013
+dita.metadata.default.copyrholder = Digia Plc
+dita.metadata.default.audience = programmer
+
+#Set the main Qt index.html
+navigation.homepage = "Qt $QT_VER"
+buildversion = "Qt $QT_VERSION ('release' branch)"
diff --git a/doc-snapshot/templates/config-stable.qdocconf b/doc-snapshot/templates/config-stable.qdocconf
new file mode 100644
index 0000000..af26e5c
--- /dev/null
+++ b/doc-snapshot/templates/config-stable.qdocconf
@@ -0,0 +1,12 @@
+#Include this file to inherit configuration related to Qt Project based modules.
+
+dita.metadata.default.author = Qt Project
+dita.metadata.default.permissions = all
+dita.metadata.default.publisher = Qt Project
+dita.metadata.default.copyryear = 2013
+dita.metadata.default.copyrholder = Digia Plc
+dita.metadata.default.audience = programmer
+
+#Set the main Qt index.html
+navigation.homepage = "Qt $QT_VER"
+buildversion = "Qt $QT_VERSION ('stable' branch)"
diff --git a/doc-snapshot/templates/qt-html-templates-snapshot.qdocconf b/doc-snapshot/templates/qt-html-templates-snapshot.qdocconf
new file mode 100644
index 0000000..a733ed9
--- /dev/null
+++ b/doc-snapshot/templates/qt-html-templates-snapshot.qdocconf
@@ -0,0 +1,41 @@
+#include standard set of HTML header and footer.
+include(html-config.qdocconf)
+include(html-header-online.qdocconf)
+include(html-footer.qdocconf)
+
+#uncomment if navigation bar is not wanted
+#HTML.nonavigationbar = "true"
+
+HTML.stylesheets = template/style/online.css
+HTML.extraimages += template/images/ico_out.png \
+ template/images/ico_note.png \
+ template/images/ico_note_attention.png \
+ template/images/btn_prev.png \
+ template/images/btn_next.png \
+ template/images/bullet_dn.png \
+ template/images/bullet_sq.png \
+ template/images/bgrContent.png \
+ template/images/Qt-logo.png \
+ template/images/Qt-dark_gradient.png \
+ template/images/Qt-footer-bg.jpg \
+ template/images/Qt-footer_shadow.png \
+ template/images/Qt-gradient.png \
+ template/images/Qt-header-bg.jpg
+
+#Google Analytics script
+HTML.headerscripts = \
+ "<script src=\"scripts/superfish.js\" type=\"text/javascript\"></script>\n" \
+ "<script src=\"scripts/narrow.js\" type=\"text/javascript\"></script>\n\n" \
+ "<script type=\"text/javascript\">\n" \
+ " \n" \
+ " var _gaq = _gaq || [];\n" \
+ " _gaq.push(['_setAccount', 'UA-35529873-1']);\n" \
+ " _gaq.push(['_trackPageview']);\n" \
+ " \n" \
+ " (function() {\n" \
+ " var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\n" \
+ " ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\n" \
+ " var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n" \
+ " })();\n" \
+ " \n" \
+ "</script>\n\n" \
diff --git a/doc-snapshot/templates/qt-module-defaults-snapshot.qdocconf b/doc-snapshot/templates/qt-module-defaults-snapshot.qdocconf
new file mode 100644
index 0000000..3f69dc7
--- /dev/null
+++ b/doc-snapshot/templates/qt-module-defaults-snapshot.qdocconf
@@ -0,0 +1,14 @@
+#The online onfiguration for a Qt 5 module, including Add-Ons and Tools.
+#Online version contains a different header.
+#Include this file for a standard Qt 5 module; builds with the online style.
+
+#include standard set of macros and C++ defines and ignores
+include(macros.qdocconf)
+include(qt-cpp-defines.qdocconf)
+include(compat.qdocconf)
+include(manifest-meta.qdocconf)
+include(fileextensions.qdocconf)
+include(qt-html-templates-snapshot.qdocconf)
+
+#extra configuration data DITA information
+include(config.qdocconf)