diff --git a/docs/users_guide/conf.py b/docs/users_guide/conf.py
index 962982ffd3fb7891ec690c45c4b7b0044bfc3872..a6367ecf44bd5008e7da57f07cbb8336daf6ba24 100644
--- a/docs/users_guide/conf.py
+++ b/docs/users_guide/conf.py
@@ -225,7 +225,7 @@ def haddock_role(lib):
       # for the template_haskell.rst example this will be '..'
       current_doc_to_topdir = os.path.relpath(topdir, os.path.dirname(current_doc))
 
-      relative_path = '%s/%s/%s-%s' % (current_doc_to_topdir, libs_base_uri, lib, lib_version)
+      relative_path = '%s/%s/%s' % (current_doc_to_topdir, libs_base_uri, lib_version)
 
       uri = '%s/%s.html%s' % (relative_path, module, anchor)