-
Notifications
You must be signed in to change notification settings - Fork 77
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
Unable to define the source_url base when the input source is a generated directory #458
Comments
I am having the same issue. I think that Initally I thought that maybe this or this However if in my project sbt console I run |
I forget to post that I found a way to solve this, the drawback is that it very simple and link sources from a single branch, it involves overriding the source url template, and a simple js to fix the source url.
|
Thanks for sharing your workaround @AlexITC! However, I think it would be better if we could fix the root cause of the problem instead. I think the issue should be re-opened. |
I agree wtih @julienrf . I do not like this solution and I think the issue should be still be open. It is not an easy fix but I think it is very important. Paradox is one of the very few resources allowing to create a site without relying on node, yarn, jekyll or ruby and having a broken link on each page does not look great. |
I know it is not an ideal workaround but at least, there is a way. I'd have preferred to have a plugin option to either disable the generation, or to set the right source url. |
This is pretty important |
I'm using mdoc with paradox, which means that I set the paradox source to be from the mdoc output, specifically
Compile / paradox / sourceDirectory := mdocOut.value
.Unfortunately, this means that I have dead-links on every page, because they link to the mdoc output directory instead of the proper source.
This is from the page footers with this content:
From my research, this gets rendered from the
source_url
variable, and I see no way to override this to the proper source, any hints appreciated.The text was updated successfully, but these errors were encountered: