diff --git a/README.rst b/README.rst
index a08889e83b7dd6ce701cb189d5a04ff9d7b690bf..60a9240b3e4c5d6645d7188da6044160adee2ce6 100644
--- a/README.rst
+++ b/README.rst
@@ -2,9 +2,9 @@
 .. Mon 15 Aug 2016 09:40:51 CEST
 
 .. image:: http://img.shields.io/badge/docs-stable-yellow.svg
-   :target: http://pythonhosted.org/bob.learn.linear/index.html
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.learn.linear/stable/index.html
 .. image:: http://img.shields.io/badge/docs-latest-orange.svg
-   :target: https://www.idiap.ch/software/bob/docs/latest/bob/bob.learn.linear/master/index.html
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.learn.linear/master/index.html
 .. image:: https://gitlab.idiap.ch/bob/bob.learn.linear/badges/master/build.svg
    :target: https://gitlab.idiap.ch/bob/bob.learn.linear/commits/master
 .. image:: https://gitlab.idiap.ch/bob/bob.learn.linear/badges/master/coverage.svg