CMake/Utilities/Sphinx
Nikita Nemkin 3822e95aee Help: Add responsive layout for small screens
These changes activate only on small screens, where "small" is defined
as <=760px, i.e. anything smaller than iPad Mini.

* Turn the sidebar into a popup (on the right) and add a hamburger
  button in the header to show it.
* Split the header and footer into two lines, make the header sticky.
* Remove the prev/next links from the header.
* Put the search box first in the sidebar.
* Disable horizontal scroll of the page, enable individual scrolling
  for h1, table. (Code blocks already have it).
* Allow line breaking of overly long words in the document body.
* Adjust various margins.

The sidebar popup works without JavaScript (using the "checkbox hack"),
but a bit of JavaScript is added to enable automatic closing on Esc,
on a link click and on document navigation.
2025-02-02 23:33:17 +05:00
..
static Help: Add responsive layout for small screens 2025-02-02 23:33:17 +05:00
templates Help: Add responsive layout for small screens 2025-02-02 23:33:17 +05:00
.gitignore Build Help documentation during CMake build using Sphinx 2013-10-16 09:22:37 -04:00
apply_qthelp_css_workaround.cmake Utilities/Sphinx: Port qthelp css workaround to Sphinx 1.4 2017-02-10 10:43:29 -05:00
cmake.py Utilities/Sphinx: Restore html search index link anchors 2023-07-13 12:16:39 -04:00
CMakeLists.txt Configure CMake itself with policies through CMake 3.30 2024-10-10 09:32:06 -04:00
colors.py Help: CMakeTemplateStyle uses colors that better contrast. 2019-01-09 15:53:26 -05:00
conf.py.in ci: Do not linkcheck web.archive.org URLs 2024-12-18 09:10:26 -05:00
create_identifiers.py Sphinx: Modernize UTF-8 encoding handling when updating CMake.qhp 2023-04-07 18:14:18 +10:00
CTestConfig.cmake CTestConfig: allow nightly build submission using https 2020-06-09 09:33:01 -04:00
CTestCustom.cmake.in Utilities/Sphinx: Ignore warning in generated texinfo documentation 2025-01-31 12:23:29 -05:00
fixup_qthelp_names.cmake CMake.qch: Don't include the version in the file name 2019-07-17 21:35:12 +10:00
tutorial_archive.cmake Tutorial: Provide a source archive when published on cmake.org 2022-04-28 13:36:20 -04:00
update_versions.py Utilities/Sphinx: Add script for inserting ".. versionadded" directive 2020-07-03 20:14:31 +05:00