-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Enable DONT_OVERWRITE_SPHINX_CONTEXT for tapir-scala #8091
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
Comments
I have added that feature flag to your project, it should link to the correct page no https://tapir.softwaremill.com/en/latest/ |
@stsewd Works, thank you very much! Sorry for not mentioning this outright, could you do the same for the |
@adamw done! |
@stsewd Thanks again! :) |
@stsewd Can I ask for the same for the https://github.com/softwaremill/diffx project? It uses the same mechanism. |
@ghostbuster91 Hi! Please, send us an email to [email protected] and let us know the URL of your project under Read the Docs (not the GH, one). Thanks! |
@humitos I'll do that, thanks for the info :) |
I need to overwrite the
conf_py_path
context value, so that the "Edit on github" links are properly generated on https://tapir.softwaremill.com/en/latest/ - they currently point to thegenerated-doc
directory, instead of thedoc
directory (there's an additional docs type-checking step during a release).I've tried following https://docs.readthedocs.io/en/latest/guides/vcs.html and defining the
html_contex
as specified there - this works locally, but not on rtd:I then found #2971, and as I understand, I need the
DONT_OVERWRITE_SPHINX_CONTEXT
feature flag enabled. I tried doing this by defining an environment variable, but this doesn't seem to work.Can this feature be enabled for the
tapir-scala
project, or maybe there's a better way to adjust the "Edit on GitHub" link?The text was updated successfully, but these errors were encountered: