Merge "Add documentation about using the badge"

This commit is contained in:
Zuul
2018-06-02 07:17:06 +00:00
committed by Gerrit Code Review
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