diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index 5205a4e6175fb631fbc315acd0ce9ddf6f7587d8..09726ea775f2c52a1b92e4f730d2fc7b11ffca36 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -425,9 +425,9 @@ export_env BOB_PREFIX_PATH
 
 # Setup default documentation server
 if [ -z "${CI_COMMIT_TAG}" ]; then
- DEFSRV="${DOCSERVER}/software/bob/docs/bob/%s/master/"
+  DEFSRV="${DOCSERVER}/software/bob/docs/bob/%s/master/"
 else
-  DEFSRV="http://pythonhosted.org/%s/"
+  DEFSRV="${DOCSERVER}/software/bob/docs/bob/%s/stable/|http://pythonhosted.org/%s/"
 fi
 if [ -z "${BOB_DOCUMENTATION_SERVER}" ]; then
   BOB_DOCUMENTATION_SERVER="${DEFSRV}"
diff --git a/templates/readme-template.rst b/templates/readme-template.rst
index 079264bf681a71427a5f5b22569e433270664613..84cd5bc25a4bed2b2e118e7a928febc3733436da 100644
--- a/templates/readme-template.rst
+++ b/templates/readme-template.rst
@@ -2,9 +2,9 @@
 .. <DATE>
 
 .. image:: http://img.shields.io/badge/docs-stable-yellow.svg
-   :target: http://pythonhosted.org/<PACKAGE>/index.html
+   :target: https://www.idiap.ch/software/bob/docs/bob/<PACKAGE>/stable/index.html
 .. image:: http://img.shields.io/badge/docs-latest-orange.svg
-   :target: https://www.idiap.ch/software/bob/docs/latest/bob/<PACKAGE>/master/index.html
+   :target: https://www.idiap.ch/software/bob/docs/bob/<PACKAGE>/master/index.html
 .. image:: https://gitlab.idiap.ch/bob/<PACKAGE>/badges/master/build.svg
    :target: https://gitlab.idiap.ch/bob/<PACKAGE>/commits/master
 .. image:: https://gitlab.idiap.ch/bob/<PACKAGE>/badges/master/coverage.svg
@@ -13,8 +13,6 @@
    :target: https://gitlab.idiap.ch/bob/<PACKAGE>
 .. image:: http://img.shields.io/pypi/v/<PACKAGE>.svg
    :target: https://pypi.python.org/pypi/<PACKAGE>
-.. image:: http://img.shields.io/pypi/dm/<PACKAGE>.svg
-   :target: https://pypi.python.org/pypi/<PACKAGE>
 
 
 =========