summaryrefslogtreecommitdiff
path: root/doc/config
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2012-12-07 15:16:17 +0100
committerEike Ziller <eike.ziller@digia.com>2012-12-10 13:42:15 +0100
commit8c4d86d174c70de0ffa696ef42234ca6b945f3f9 (patch)
treec0949c045eaa56befb0f64092a32ce3a5e8ed0f9 /doc/config
parentd5fd3b5dd8fed57cd767f7f9606cae09adc0e2dc (diff)
downloadqt-creator-8c4d86d174c70de0ffa696ef42234ca6b945f3f9.tar.gz
Fix Qt Creator manual style when generating with Qt 5.
The HTML.templatedir is no longer used in Qt 5. Instead, the files are resolved relative to the referencing qdocconf. So we set the templatedir to the path of the qdocconf (for Qt 4) and change the references to be relative to that path. Also, it's HTML.extraimages in Qt 5, instead of extraimages.HTML Task-number: QTBUG-28304 Change-Id: I5b253ea9fac5825c49f74460df188a7fca5c89cd Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Diffstat (limited to 'doc/config')
-rw-r--r--doc/config/qt-html-default-styles.qdocconf63
-rw-r--r--doc/config/qt-html-online-styles.qdocconf99
2 files changed, 105 insertions, 57 deletions
diff --git a/doc/config/qt-html-default-styles.qdocconf b/doc/config/qt-html-default-styles.qdocconf
index f01dfe9a4e..63ab33121a 100644
--- a/doc/config/qt-html-default-styles.qdocconf
+++ b/doc/config/qt-html-default-styles.qdocconf
@@ -2,33 +2,54 @@
# specified relative to the template directory and will be copied into
# subdirectories of the output directory.
-HTML.templatedir = $SRCDIR/templates
+HTML.templatedir = $SRCDIR/config
-HTML.stylesheets = style/offline.css
+HTML.stylesheets = ../templates/style/offline.css
HTML.scripts =
# Files not referenced in any qdoc file (last four needed by qtdemo)
# See also qhp.Qt.extraFiles
-extraimages.HTML = qt-logo.png \
- arrow_down.png \
- breadcrumb.png \
- bullet_gt.png \
- bullet_dn.png \
- bullet_sq.png \
- bullet_up.png \
- horBar.png \
- sprites-combined.png \
- qtcreator-screenshots.png \
- bgrContent.png \
- blu_dot.png \
- btn_next.png \
- btn_prev.png \
- ico_note.png \
- ico_note_attention.png \
- ico_out.png \
- arrow_bc.png \
- home.png
+# for Qt 4:
+extraimages.HTML = ../templates/images/qt-logo.png \
+ ../templates/images/arrow_down.png \
+ ../templates/images/breadcrumb.png \
+ ../templates/images/bullet_gt.png \
+ ../templates/images/bullet_dn.png \
+ ../templates/images/bullet_sq.png \
+ ../templates/images/bullet_up.png \
+ ../templates/images/horBar.png \
+ ../templates/images/sprites-combined.png \
+ ../templates/images/qtcreator-screenshots.png \
+ ../templates/images/bgrContent.png \
+ ../templates/images/blu_dot.png \
+ ../templates/images/btn_next.png \
+ ../templates/images/btn_prev.png \
+ ../templates/images/ico_note.png \
+ ../templates/images/ico_note_attention.png \
+ ../templates/images/ico_out.png \
+ ../templates/images/arrow_bc.png \
+ ../templates/images/home.png
+# for Qt 5
+HTML.extraimages = ../templates/images/qt-logo.png \
+ ../templates/images/arrow_down.png \
+ ../templates/images/breadcrumb.png \
+ ../templates/images/bullet_gt.png \
+ ../templates/images/bullet_dn.png \
+ ../templates/images/bullet_sq.png \
+ ../templates/images/bullet_up.png \
+ ../templates/images/horBar.png \
+ ../templates/images/sprites-combined.png \
+ ../templates/images/qtcreator-screenshots.png \
+ ../templates/images/bgrContent.png \
+ ../templates/images/blu_dot.png \
+ ../templates/images/btn_next.png \
+ ../templates/images/btn_prev.png \
+ ../templates/images/ico_note.png \
+ ../templates/images/ico_note_attention.png \
+ ../templates/images/ico_out.png \
+ ../templates/images/arrow_bc.png \
+ ../templates/images/home.png
# Include the style sheets and scripts used.
diff --git a/doc/config/qt-html-online-styles.qdocconf b/doc/config/qt-html-online-styles.qdocconf
index ce6aec1af0..56b05dd30a 100644
--- a/doc/config/qt-html-online-styles.qdocconf
+++ b/doc/config/qt-html-online-styles.qdocconf
@@ -2,49 +2,76 @@
# specified relative to the template directory and will be copied into
# subdirectories of the output directory.
-HTML.templatedir = $SRCDIR/templates
+HTML.templatedir = $SRCDIR/config
-HTML.stylesheets = style/narrow.css \
- style/style.css \
- style/style_ie6.css \
- style/style_ie7.css \
- style/style_ie8.css \
- style/superfish.css
+HTML.stylesheets = ../templates/style/narrow.css \
+ ../templates/style/style.css \
+ ../templates/style/style_ie6.css \
+ ../templates/style/style_ie7.css \
+ ../templates/style/style_ie8.css \
+ ../templates/style/superfish.css
# Adding jquery and functions - providing online tools and search features
-HTML.scripts = scripts/functions.js \
- scripts/narrow.js \
- scripts/superfish.js \
- scripts/jquery.js
+HTML.scripts = ../templates/scripts/functions.js \
+ ../templates/scripts/narrow.js \
+ ../templates/scripts/superfish.js \
+ ../templates/scripts/jquery.js
# Files not referenced in any qdoc file.
# See also qhp.Qt.extraFiles
-extraimages.HTML = qt-logo.png \
- bg_l.png \
- bg_l_blank.png \
- bg_ll_blank.png \
- bg_ul_blank.png \
- btn_next_green.png \
- btn_prev_green.png \
- header_bg.png \
- bg_r.png \
- box_bg.png \
- breadcrumb.png \
- btn_next_green.png \
- btn_prev_green.png \
- bullet_gt.png \
- bullet_dn.png \
- bullet_sq.png \
- bullet_up.png \
- arrow_down.png \
- feedbackground.png \
- horBar.png \
- page.png \
- page_bg.png \
- sprites-combined.png \
- spinner.gif \
- qtcreator-screenshots.png
+# for Qt 4
+extraimages.HTML = ../templates/images/qt-logo.png \
+ ../templates/images/bg_l.png \
+ ../templates/images/bg_l_blank.png \
+ ../templates/images/bg_ll_blank.png \
+ ../templates/images/bg_ul_blank.png \
+ ../templates/images/btn_next_green.png \
+ ../templates/images/btn_prev_green.png \
+ ../templates/images/header_bg.png \
+ ../templates/images/bg_r.png \
+ ../templates/images/box_bg.png \
+ ../templates/images/breadcrumb.png \
+ ../templates/images/btn_next_green.png \
+ ../templates/images/btn_prev_green.png \
+ ../templates/images/bullet_gt.png \
+ ../templates/images/bullet_dn.png \
+ ../templates/images/bullet_sq.png \
+ ../templates/images/bullet_up.png \
+ ../templates/images/arrow_down.png \
+ ../templates/images/feedbackground.png \
+ ../templates/images/horBar.png \
+ ../templates/images/page.png \
+ ../templates/images/page_bg.png \
+ ../templates/images/sprites-combined.png \
+ ../templates/images/spinner.gif \
+ ../templates/images/qtcreator-screenshots.png
+# for Qt 5
+HTML.extraimages = ../templates/images/qt-logo.png \
+ ../templates/images/bg_l.png \
+ ../templates/images/bg_l_blank.png \
+ ../templates/images/bg_ll_blank.png \
+ ../templates/images/bg_ul_blank.png \
+ ../templates/images/btn_next_green.png \
+ ../templates/images/btn_prev_green.png \
+ ../templates/images/header_bg.png \
+ ../templates/images/bg_r.png \
+ ../templates/images/box_bg.png \
+ ../templates/images/breadcrumb.png \
+ ../templates/images/btn_next_green.png \
+ ../templates/images/btn_prev_green.png \
+ ../templates/images/bullet_gt.png \
+ ../templates/images/bullet_dn.png \
+ ../templates/images/bullet_sq.png \
+ ../templates/images/bullet_up.png \
+ ../templates/images/arrow_down.png \
+ ../templates/images/feedbackground.png \
+ ../templates/images/horBar.png \
+ ../templates/images/page.png \
+ ../templates/images/page_bg.png \
+ ../templates/images/sprites-combined.png \
+ ../templates/images/spinner.gif \
+ ../templates/images/qtcreator-screenshots.png
# Include the style sheets and scripts used.