diff --git a/README.rst b/README.rst
index 80e41b62acbd70d2368967904b654b7111e4f586..856ff5d8d5a0727bd74c1079735475b70c75efc1 100644
--- a/README.rst
+++ b/README.rst
@@ -2,9 +2,9 @@
 .. Thu 11 Aug 2016 09:34:29 CEST
 
 .. image:: http://img.shields.io/badge/docs-stable-yellow.svg
-   :target: http://pythonhosted.org/bob.math/index.html
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/stable/index.html
 .. image:: http://img.shields.io/badge/docs-latest-orange.svg
-   :target: https://www.idiap.ch/software/bob/docs/latest/bob/bob.math/master/index.html
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/master/index.html
 .. image:: https://gitlab.idiap.ch/bob/bob.math/badges/master/build.svg
    :target: https://gitlab.idiap.ch/bob/bob.math/commits/master
 .. image:: https://gitlab.idiap.ch/bob/bob.math/badges/master/coverage.svg