-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to link to an additional page from README? #448
Comments
Hey! I believe this is a shortcoming with our current approach to additional pages - we rewrite the page paths for you, meaning that any subdirectory is discarded, which is why using a relative link like that currently does not work, but it's definitely something I personally want to make work in the future. |
from my testing the link is not being rewritten at all:
above html snippet is directly from https://untitaker.github.io/spacemod/, README is at https://github.com/untitaker/spacemod/blob/main/README.md |
Oh, in that case that's definitely a bug we should fix ASAP. Will reproduce and file an issue separately |
@shadows-withal I don't think this got fully fixed in 0.1.0. Adding a subpage from a subdirectory already worked before the fix afaict. the problem is links to it in the README check out this PR: untitaker/spacemod#21 and run but then i don't know if that was ever intended to work at all |
Yeah we don't yet support that. I've sketched out part of the implementation here: #512 |
I have a feature overview on https://untitaker.github.io/spacemod/ where I would like to link into the "Matching modes" page.
I would like my README to link to
./docs/matching.md
(so following the link in GitHub's UI works), while the oranda landing page should link tohttps://untitaker.github.io/spacemod/matching/
.Is that possible or should I go with mdbook? I find mdbook overkill for simple docs.
The text was updated successfully, but these errors were encountered: