]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
doc/_theme: customize sphinx_rtd_theme 39457/head
authorKefu Chai <kchai@redhat.com>
Sat, 13 Feb 2021 04:57:19 +0000 (12:57 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 5 Mar 2021 01:59:16 +0000 (09:59 +0800)
commit14c9572eb202b5974c48f3151288067206157c67
tree253f5f6ed638514acaf79a1f5eb38c55ec37521b
parentc7ab9845f5304a41482c7e99edbfa1667c3c7cd1
doc/_theme: customize sphinx_rtd_theme

* move the breadcrumbs to the top
* add border around admonition elements
* use different colors and fonts for section headers
* add decoration lines at the bottom of breadcrumbs
* remove left and right borders in tables
* override the injected versions, the name of theme
  is different from "sphinx_rtd_theme", but the
  versions element is still displayed at the
  bottom-left corner as "versions.html" defines.
  without overriding .rst-badge CSS styling,
  readthedocs puts the injected versions at
  the default bottom-right corner, see
  https://github.com/readthedocs/readthedocs.org/blob/2a519f1146142d18f6a63b61c2f08984067280e0/readthedocs/api/v2/templates/restapi/footer.html

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/_themes/ceph/layout.html
doc/_themes/ceph/static/ceph.css_t
doc/conf.py