openstackdocstheme/releasenotes/notes/badge-6f8713da36a7e570.yaml
Andreas Jaeger e72301e141 Do not show badge for master only repos
If a repo has no stable branches, we do not need to show the badge,
disable it automatically.

Also, disable it for releasenotes, api-guide and api-ref. These
documents are always published from master and are versionless.

This avoids changing most of the repositories to disable the badge.

Change-Id: I063af45e40bd41e27334638e2cf65ca0c9119e63
2018-08-23 20:36:57 +02:00

7 lines
295 B
YAML

features:
- |
A badge pointing out the support status of a document is shown now
for repositories that have ``stable/`` branches. The badge is not
displayed for api-ref, api-guide and releasenotes documents. It
can be disabled with the ``display_badge`` html theme option.