-
Notifications
You must be signed in to change notification settings - Fork 357
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
Fix version warning in documentation #2187
Conversation
A single reviewer should be enough for this one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this will be helpful going forward with releases. We will keep in mind updating the version for each new release for local builds. thanks!
@steffengraber: I'm still seeing the warning on https://nest-simulator.readthedocs.io/en/v3.1/. Perhaps the v3.1 docs build needs to be manually triggered to incorporate the changes from this PR? |
@clinssen Unfortunately, we can not change the documentation for the current release. These changes will only take effect starting with the next release. |
Problem:
The documentation contains a warning prologue that should only appear in the "latest" version.
Solution:
Readthedocs contains an environment variable "READTHEDOCS_VERSION" at build time which contains the version number that is currently being built. Only if this is "latest" the warning is displayed.
Note: for locally built documentation no warning is shown anymore.