ref: 275524e6d77516214da47317036c50f400bae1a7
parent: c9e20ca180b89339d56de40ab2d6b5956552d823
author: Paul Brossier <piem@piem.org>
date: Mon Jan 9 08:38:31 EST 2017
doc/index.rst: include status links for development documentation
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -243,3 +243,6 @@
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
+
+def setup(app):
+ if release.endswith('~alpha'): app.tags.add('devel')
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -18,6 +18,10 @@
* :ref:`develop`
* :ref:`building`
+.. only:: devel
+
+ .. include:: statuslinks.rst
+
Project pages
=============
--- /dev/null
+++ b/doc/statuslinks.rst
@@ -1,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
+
+