Skip to content
Snippets Groups Projects
Commit 2aff2361 authored by Zubin's avatar Zubin Committed by Marge Bot
Browse files

users-guide: Fix links to libraries from the users-guide.

The unit-ids generated in c1a3ecde include the
package name, so we don't need to explicitly add it to the links.

Fixes #24151
parent 99ced73b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment