Originally created by: jnewsome
Specifically, they are missing the tree
prefix.
For example, the first link in this README gets rendered as https://sourceforge.net/u/jnewsome/doctest/ci/97004050fd3f344052cbc92fd7509859e390b33e/subdir instead of https://sourceforge.net/u/jnewsome/doctest/ci/97004050fd3f344052cbc92fd7509859e390b33e/tree/subdir
I considered adding the tree
prefix myself in the source markdown as a workaround. However, this would break the link when the same README is viewed directly. When viewed directly, the processor does add the tree
prefix, and the same link that doesn't work from the directory view does work here. Therefore, adding the tree
prefix in the source markdown would presumably break the link in this view.
Originally by: jnewsome
Btw, though I linked to a sandbox repository for demonstration purposes, this bug impacts the xmhf project, where we keep our documentation as in-repository markdown files.
Originally by: jnewsome
Another workaround I considered is to link directly to markdown files instead of to directory listings.
Unfortunately, there is no way to link to the most recent version of a file. This means there would be no way to give people a stable link to the root README.md in the repository.
Using the doctest example again, my options are:
Originally by: jnewsome
Cross-posted as sourceforge ticket 324EDIT: cross-post was closed as invalid since this ticket already exists.