doc: override html theme for old version
Change-Id: Id949ca8c1d81c0eaa8b7d2d388fee8e6a80f756b
This commit is contained in:
parent
657b66f1b0
commit
f8569ccab6
@ -2,7 +2,7 @@
|
||||
Gnocchi - Metric as a Service
|
||||
===============================
|
||||
|
||||
.. image:: doc/source/gnocchi-logo.png
|
||||
.. image:: doc/source/_static/gnocchi-logo.png
|
||||
|
||||
Gnocchi is a multi-tenant timeseries, metrics and resources database. It
|
||||
provides an `HTTP REST`_ interface to create and manipulate the data. It is
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
@ -184,3 +184,12 @@ scv_banner_greatest_tag = True
|
||||
scv_priority = 'branches'
|
||||
scv_whitelist_branches = ('master', '^stable/(2\.1|2\.2|[3-9]\.)')
|
||||
scv_whitelist_tags = ("^[2-9]\.",)
|
||||
|
||||
here = os.path.dirname(os.path.realpath(__file__))
|
||||
html_static_path_abs = ",".join([os.path.join(here, p) for p in html_static_path])
|
||||
# Override some conf for old version
|
||||
scv_overflow = ("-D", "html_theme=sphinx_rtd_theme",
|
||||
"-D", "html_theme_options.logo_only=True",
|
||||
"-D", "html_logo=gnocchi-logo.png",
|
||||
"-D", "html_favicon=gnocchi-icon.png",
|
||||
"-D", "html_static_path=%s" % html_static_path_abs)
|
||||
|
Loading…
Reference in New Issue
Block a user