diff options
Diffstat (limited to 'src/doc/config/b2qt-online.qdocconf')
-rw-r--r-- | src/doc/config/b2qt-online.qdocconf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/doc/config/b2qt-online.qdocconf b/src/doc/config/b2qt-online.qdocconf index a75cde2..901d1c1 100644 --- a/src/doc/config/b2qt-online.qdocconf +++ b/src/doc/config/b2qt-online.qdocconf @@ -3,3 +3,9 @@ include(b2qt-project.qdocconf) # sidebar used for online template HTML.stylesheets += style/qt5-sidebar.html + +# Add definition for a custom note, shown on index.html when +# the URL query string matches 'welcome' +macro.welcome.HTML = "<p class=\"welcome\" style=\"display:none;padding:6px;border:2px #e33 solid\"><i><b>Note:</b> This documentation is for the latest release of Qt for Device Creation. If you're using an older version, refer to the documentation in <b>Qt Creator</b> > <b>Help</b> instead.</i></p>\n" + +HTML.headerscripts += " <script type=\"text/javascript\">\$(function(){if (document.location.search.substr(1) == \"welcome\") \$('.welcome').show();})</script>\n" |