doc/index.rst: include status links for development documentation
authorPaul Brossier <piem@piem.org>
Mon, 9 Jan 2017 12:38:31 +0000 (13:38 +0100)
committerPaul Brossier <piem@piem.org>
Mon, 9 Jan 2017 12:38:31 +0000 (13:38 +0100)
doc/conf.py
doc/index.rst
doc/statuslinks.rst [new file with mode: 0644]

index d9e738d..ad030c6 100644 (file)
@@ -243,3 +243,6 @@ texinfo_documents = [
 
 # How to display URL addresses: 'footnote', 'no', or 'inline'.
 #texinfo_show_urls = 'footnote'
+
+def setup(app):
+    if release.endswith('~alpha'): app.tags.add('devel')
index ca2cae1..c9dfc84 100644 (file)
@@ -18,6 +18,10 @@ Quick links
 * :ref:`develop`
 * :ref:`building`
 
+.. only:: devel
+
+    .. include:: statuslinks.rst
+
 Project pages
 =============
 
diff --git a/doc/statuslinks.rst b/doc/statuslinks.rst
new file mode 100644 (file)
index 0000000..b28a613
--- /dev/null
@@ -0,0 +1,24 @@
+Current status
+==============
+
+.. image:: https://travis-ci.org/aubio/aubio.svg?branch=master
+   :target: https://travis-ci.org/aubio/aubio
+   :alt: Travis build status
+
+.. image:: https://ci.appveyor.com/api/projects/status/f3lhy3a57rkgn5yi?svg=true
+   :target: https://ci.appveyor.com/project/piem/aubio/
+   :alt: Appveyor build status
+
+.. image:: https://landscape.io/github/aubio/aubio/master/landscape.svg?style=flat
+   :target: https://landscape.io/github/aubio/aubio/master
+   :alt: Landscape code health
+
+.. image:: https://readthedocs.org/projects/aubio/badge/?version=latest
+   :target: https://aubio.readthedocs.io/en/latest/?badge=latest
+   :alt: Documentation status
+
+.. image:: https://img.shields.io/github/commits-since/aubio/aubio/0.4.3.svg?maxAge=2592000
+   :target: https://github.com/aubio/aubio
+   :alt: Commits since last release
+
+