Skip to content

Conversation

Octachron
Copy link
Member

Currently the link generated for {!page:mld} in the html backend refers to mld rather than mld.html.
This PR fixes this issue.

@ target_from_common_ancestor
in
let page = String.concat "/" relative_target in
let page = if kind="page" then page ^ ".html" else page in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not the right place, you should fix Path.for_linking above. Looking at it, the implementation should probably merge code with as_filename as much as possible...

@Drup
Copy link
Contributor

Drup commented Oct 29, 2020

Oups, I'm surprised I didn't realized it in the tests .... The fix is not in the right place though.

@jonludlam
Copy link
Member

I have a patch incoming that contains a fix for this, so I'm closing this PR. Thanks though!

@jonludlam jonludlam closed this Nov 16, 2020
jonludlam added a commit to jonludlam/odoc that referenced this pull request Nov 17, 2020
This should additionally fix the issue mentioned in PR ocaml#528

Signed-off-by: Jon Ludlam <jon@recoil.org>
jonludlam added a commit to jonludlam/odoc that referenced this pull request Nov 17, 2020
This should additionally fix the issue mentioned in PR ocaml#528

Signed-off-by: Jon Ludlam <jon@recoil.org>
jonludlam added a commit to jonludlam/odoc that referenced this pull request Dec 8, 2020
This should additionally fix the issue mentioned in PR ocaml#528

Signed-off-by: Jon Ludlam <jon@recoil.org>
jonludlam added a commit to jonludlam/odoc that referenced this pull request Dec 16, 2020
This should additionally fix the issue mentioned in PR ocaml#528

Signed-off-by: Jon Ludlam <jon@recoil.org>
jonludlam added a commit to jonludlam/odoc that referenced this pull request Jan 5, 2021
This should additionally fix the issue mentioned in PR ocaml#528

Signed-off-by: Jon Ludlam <jon@recoil.org>
jonludlam added a commit that referenced this pull request Jan 5, 2021
This should additionally fix the issue mentioned in PR #528

Signed-off-by: Jon Ludlam <jon@recoil.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants