qt6-bb10/doc/global
Paul Wicking 3be0f9e4ea Doc: Fix issues in print media type in offline style
When generating HTML output, QDoc references CSS styles that control
the visual appearance. For a standard build of Qt's documentation (a
'local' build, if you will), an "offline" style is the default. This
style sheet is maintained in `qtbase.git`.

This style is not particularly well maintained, as it is not the style
in use for documentation published to `doc.qt.io`. As such, some
issues where found as a side-effect of other work. In particular, an
ill-placed background image in the `@media print` CSS instructions was
found in the print dialogue from locally generated content. While
validating the fix, it became clear that the `toc` CSS class was moved
into an obstructing position in the same media type.

Change the `@media print` definition such that:
- The `toc` class is hidden entirely.

Task-number: QTBUG-124162
Fixes: QTBUG-128205
Change-Id: Ic427036a698d7fc0e07e9190289e5d2c196885d9
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
(cherry picked from commit dd669c84657c48c27318b246db83b82478d6951a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-21 17:02:10 +00:00
..
externalsites Doc: Fix broken links 2024-06-26 22:52:29 +00:00
includes Doc: Fix wrong markup in QStandardPaths::findExecutable 2023-11-29 18:20:06 +01:00
includes-online Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
snippets/code Change doc snippet license 2024-02-02 16:52:11 +00:00
template Doc: Fix issues in print media type in offline style 2024-08-21 17:02:10 +00:00
compat.qdocconf
config.qdocconf Doc: Update copyright year to 2024 2024-01-22 14:51:21 +00:00
externalsites.qdocconf
fileextensions.qdocconf qdoc: Add *.webp as an default image suffix 2023-02-21 18:56:07 +00:00
grid.qdocconf Doc: Add macros for generating a grid structure of items 2024-07-01 11:44:37 +00:00
html-config.qdocconf Adapt qdoc macros and documentation for DocBook 2022-11-04 18:39:03 +01:00
html-footer-online.qdocconf Doc: Update copyright year to 2024 2024-01-22 14:51:21 +00:00
html-footer.qdocconf Doc: Replace obsolete <acronym> with <abbr> html tags 2024-03-22 16:28:12 +01:00
html-header-offline.qdocconf Doc: Add CSS styling and icon for 'technical preview' items 2023-05-10 04:40:38 +00:00
html-header-online.qdocconf Doc: Add CSS styling and icon for 'technical preview' items 2023-05-10 04:40:38 +00:00
htmltabs.qdocconf Doc: Fix syntax in \tab macro example 2022-05-09 19:12:14 +02:00
macros-online.qdocconf Doc: Add DocBook version of youtube macro 2023-06-14 16:18:55 +02:00
macros.qdocconf Doc: Add macros for generating a grid structure of items 2024-07-01 11:44:37 +00:00
manifest-meta.qdocconf Doc: Remove dead links to Concentric Circle Example 2024-01-09 18:54:46 +01:00
qt-cpp-defines.qdocconf Doc: Add convenience macros for specifying C++ type ordering information 2023-12-01 11:58:36 +00:00
qt-html-templates-offline-simple.qdocconf Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
qt-html-templates-offline.qdocconf Doc: Add a dark offline CSS 2022-11-11 18:48:50 +02:00
qt-html-templates-online.qdocconf
qt-module-defaults-offline.qdocconf doc/global: Remove references to Qt 5 in comments 2020-11-19 17:27:30 +01:00
qt-module-defaults-online-commercial.qdocconf Doc: Fix online macros for commercial template 2022-06-21 22:08:34 +00:00
qt-module-defaults-online.qdocconf Doc: Replace obsolete <acronym> with <abbr> html tags 2024-03-22 16:28:12 +01:00
qt-module-defaults.qdocconf doc/global: Remove references to Qt 5 in comments 2020-11-19 17:27:30 +01:00
warninglimit.qdocconf Doc: Move the warninglimit configuration to doc/global 2023-06-29 12:08:34 +00:00