openstackdocstheme/openstackdocstheme
Andreas Jaeger 8715f67645 Do not display "latest" badge if repo is not versioned
We do now display the badge for version even on repos that do not have
branches like https://docs.openstack.org/infra/manual . The reason is
that the test is against series - and we *always* set series, by default
to 'latest'.

Add a new option to disable showing of the badge called display_badge
and use it. Repos can set this as part of html options.

Disable showing the badge for api-ref test document.

Change-Id: I985b49412aa1848b915b8f0a2ff9e95867e420ca
2018-08-18 15:40:41 +02:00
..
theme Do not display "latest" badge if repo is not versioned 2018-08-18 15:40:41 +02:00
__init__.py Mark some functions as private 2018-02-15 16:22:00 +00:00
ext.py add the series name to the template context 2018-06-25 14:58:33 -04:00
paths.py Move code out of '__init__' 2018-02-15 16:18:28 +00:00
version.py Add reno for release-notes 2015-11-10 08:37:48 +01:00