-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Build: expose env var with the full URL from the current version #8260
Comments
This would be really great to have. What open problems / questions are currently blocking this issue? |
Hi @mootari! Can you comment here what's the use case you want to handle? I'm curious about how people will use this value. Also, note there is a current workaround for this that's linked in the description of this issue. That may solve your case for now.
I don't think there is anything blocking this, but it hasn't been a priority for our roadmap and we haven't had the time to implement it. |
@humitos The ddev project uses Since mkdocs now supports environment variables in its config, the last missing piece for a straightforward fix of the above problem would be an env var that provides the entire path, since multiple YAML tags / env vars cannot be concatenated. Related issue: ddev/ddev#2939 |
MkDocs requires that `site_url` is set to the complete URL of the docs, this means the domain and any subdirectory. But RTD doesn't yet provide any way to check what is the correct directory that should be set here. Related: readthedocs/readthedocs.org#8260
MkDocs requires that `site_url` is set to the complete URL of the docs, this means the domain and any subdirectory. But RTD doesn't yet provide any way to check what is the correct directory that should be set here. Related: readthedocs/readthedocs.org#8260
We expose some env vars in our builds https://docs.readthedocs.io/en/stable/builds.html#build-environment, I think it should be useful to add a
READTHEDOCS_VERSION_URL
or similar. (think we add the full url in the sphinx context, but having an env var would be more general)Ref #8256 (comment)
The text was updated successfully, but these errors were encountered: