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>
Showing
- docs/_templates/editpage.html 0 additions, 5 deletionsdocs/_templates/editpage.html
- docs/conf.py 31 additions, 21 deletionsdocs/conf.py
- docs/devel/_templates/editpage.html 0 additions, 5 deletionsdocs/devel/_templates/editpage.html
- docs/interop/_templates/editpage.html 0 additions, 5 deletionsdocs/interop/_templates/editpage.html
- docs/meson.build 2 additions, 3 deletionsdocs/meson.build
- docs/specs/_templates/editpage.html 0 additions, 5 deletionsdocs/specs/_templates/editpage.html
- docs/sphinx-static/theme_overrides.css 161 additions, 0 deletionsdocs/sphinx-static/theme_overrides.css
- docs/system/_templates/editpage.html 0 additions, 5 deletionsdocs/system/_templates/editpage.html
- docs/tools/_templates/editpage.html 0 additions, 5 deletionsdocs/tools/_templates/editpage.html
- docs/user/_templates/editpage.html 0 additions, 5 deletionsdocs/user/_templates/editpage.html
- tests/docker/dockerfiles/alpine.docker 1 addition, 0 deletionstests/docker/dockerfiles/alpine.docker
- tests/docker/dockerfiles/debian10.docker 1 addition, 0 deletionstests/docker/dockerfiles/debian10.docker
- tests/docker/dockerfiles/fedora.docker 1 addition, 0 deletionstests/docker/dockerfiles/fedora.docker
- tests/docker/dockerfiles/ubuntu.docker 1 addition, 0 deletionstests/docker/dockerfiles/ubuntu.docker
- tests/docker/dockerfiles/ubuntu1804.docker 1 addition, 0 deletionstests/docker/dockerfiles/ubuntu1804.docker
- tests/docker/dockerfiles/ubuntu2004.docker 1 addition, 0 deletionstests/docker/dockerfiles/ubuntu2004.docker
Loading
Please register or sign in to comment