mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 16:25:27 +08:00
qt 6.5.1 original
This commit is contained in:
29
doc/global/qt-html-templates-offline-simple.qdocconf
Normal file
29
doc/global/qt-html-templates-offline-simple.qdocconf
Normal file
@ -0,0 +1,29 @@
|
||||
# Specify a custom CSS file used by this template
|
||||
HTML.stylesheets += template/style/offline-simple.css
|
||||
qhp.extraFiles += style/offline-simple.css
|
||||
|
||||
# Override the header styles
|
||||
HTML.headerstyles = \
|
||||
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline-simple.css\" />\n" \
|
||||
" <script type=\"text/javascript\">\n" \
|
||||
" document.getElementsByTagName(\"link\").item(0).setAttribute(\"href\", \"style/offline.css\");\n" \
|
||||
" // loading style sheet breaks anchors that were jumped to before\n" \
|
||||
" // so force jumping to anchor again\n" \
|
||||
" setTimeout(function() {\n" \
|
||||
" var anchor = location.hash;\n" \
|
||||
" // need to jump to different anchor first (e.g. none)\n" \
|
||||
" location.hash = \"#\";\n" \
|
||||
" setTimeout(function() {\n" \
|
||||
" location.hash = anchor;\n" \
|
||||
" }, 0);\n" \
|
||||
" }, 0);\n" \
|
||||
" </script>\n"
|
||||
|
||||
HTML.navigationseparator = \
|
||||
"<span class=\"naviSeparator\"> ◦ </span>\n"
|
||||
|
||||
# Add some padding around code snippets, as we cannot
|
||||
# correctly style them for QTextBrowser using only CSS.
|
||||
codeindent = 1
|
||||
codeprefix = "\n"
|
||||
codesuffix = "\n"
|
Reference in New Issue
Block a user