]> git.proxmox.com Git - mirror_qemu.git/commit
sphinx: adopt kernel readthedoc theme
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 23 Mar 2021 11:53:28 +0000 (15:53 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 14 May 2021 11:05:03 +0000 (15:05 +0400)
commit73e6aec6522e1edd63f631c52577b49a39bc234f
treeb6e18aef5072f698bef3fe4d56e0b8442f681f4f
parent2d3fc4e2b069494b1e9e2e4a1e3de24cbc036426
sphinx: adopt kernel readthedoc theme

The default "alabaster" sphinx theme has a couple shortcomings:
- the navbar moves along the page
- the search bar is not always at the same place
- it lacks some contrast and colours

The "rtd" theme from readthedocs.org is a popular third party theme used
notably by the kernel, with a custom style sheet. I like it better,
perhaps others do too. It also simplifies the "Edit on Gitlab" links.

Tweak a bit the custom theme to match qemu.org style, use the
QEMU logo, and favicon etc.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20210323115328.4146052-1-marcandre.lureau@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
16 files changed:
docs/_templates/editpage.html [deleted file]
docs/conf.py
docs/devel/_templates/editpage.html [deleted file]
docs/interop/_templates/editpage.html [deleted file]
docs/meson.build
docs/specs/_templates/editpage.html [deleted file]
docs/sphinx-static/theme_overrides.css [new file with mode: 0644]
docs/system/_templates/editpage.html [deleted file]
docs/tools/_templates/editpage.html [deleted file]
docs/user/_templates/editpage.html [deleted file]
tests/docker/dockerfiles/alpine.docker
tests/docker/dockerfiles/debian10.docker
tests/docker/dockerfiles/fedora.docker
tests/docker/dockerfiles/ubuntu.docker
tests/docker/dockerfiles/ubuntu1804.docker
tests/docker/dockerfiles/ubuntu2004.docker