Add documentation about using the badge

The website has added a badge people can use on their project pages. Add
some documentation about it.

Depends-On: https://review.openstack.org/568975
Change-Id: I97911f68d60f8be25f2eba66ccd8aeb9b1f34c49
This commit is contained in:
Monty Taylor 2018-05-16 17:57:50 -05:00
parent 8caba3de8c
commit 6b58d659e5
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
3 changed files with 22 additions and 0 deletions

View File

@ -39,6 +39,9 @@ extensions = [
#extensions = ['sphinx.ext.intersphinx']
#intersphinx_mapping = {'python': ('http://docs.python.org/2.7', None)}
# The docs build references a non-local image served at zuul-ci.org.
suppress_warnings = ['image.nonlocal_uri']
primary_domain = 'zuuldoc'
# Add any paths that contain templates here, relative to this directory.

View File

@ -0,0 +1,18 @@
:title: Badges
.. We don't need no stinking badges
.. _badges:
Badges
======
You can embed a badge declaring that your project is gated and therefore by
definition always has a working build. Since there is only one status to
report, it is a simple static file:
.. image:: https://zuul-ci.org/gated.svg
:alt: Zuul: Gated
To use it, simply put ``https://zuul-ci.org/gated.svg`` into an RST or
markdown formatted README file, or use it in an ``<img>`` tag in HTML.

View File

@ -16,3 +16,4 @@ configure it to meet your needs.
config
jobs
encryption
badges