Base URLs #225
Unanswered
jasonho-lynx
asked this question in
Q&A
Base URLs
#225
Replies: 1 comment
-
Hey @jasonho-lynx , The 'YAML Preprocessing' hyperlink you mention is a reference to an anchor on the same page, so it's not a link to another page. From your question, it sounds to me like you'd always like that link to point to the GitHub repo is that right? In that case just keep using the absolute URL? Let me know if I misunderstood you. Best, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, how can I specify base URLs when using readthedocs? For example, in the configuration docs here, the words 'YAML Preprocessing' are hyperlinked with a relative URL. On GitHub, the URL resolves to:
https://github.com/NiklasRosenstein/pydoc-markdown/blob/develop/docs/configuration.md#yaml-preprocessing
On readthedocs, it points to:
https://pydoc-markdown.readthedocs.io/en/latest/configuration/#yaml-preprocessing
Which is what I'm trying to achieve. However, when I try to do it with my own markdown file here that contains relative URLs, the local server returns various warnings that look like this:
Which shows that it's looking for the file locally, rather than relative to the GitHub repository. How can I change it such that the relative URLs reference the repo instead?
Apologies if I missed something obvious. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions