diff --git a/README.rst b/README.rst
index e9c1a9ea20a528eabbc5a29439c5a98712676ca4..b9883001d6c15ea64e11c13c0562bf71894870b1 100644
--- a/README.rst
+++ b/README.rst
@@ -2,9 +2,9 @@
 .. Mon 15 Aug 2016 18:33:46 CEST
 
 .. image:: http://img.shields.io/badge/docs-stable-yellow.svg
-   :target: http://pythonhosted.org/bob.ip.optflow.hornschunck/index.html
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.ip.optflow.hornschunck/stable/index.html
 .. image:: http://img.shields.io/badge/docs-latest-orange.svg
-   :target: https://www.idiap.ch/software/bob/docs/latest/bob/bob.ip.optflow.hornschunck/master/index.html
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.ip.optflow.hornschunck/master/index.html
 .. image:: https://gitlab.idiap.ch/bob/bob.ip.optflow.hornschunck/badges/master/build.svg
    :target: https://gitlab.idiap.ch/bob/bob.ip.optflow.hornschunck/commits/master
 .. image:: https://gitlab.idiap.ch/bob/bob.ip.optflow.hornschunck/badges/master/coverage.svg