We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Our current Config object is using hardcoded values to define some DOCKER settings:
Config
https://github.com/rtfd/readthedocs.org/blob/8466fa45a2fb1b813ef0272b1154e0c98fe62218/readthedocs/config/config.py#L60-L81
This should follow the pattern that we were using at
https://github.com/rtfd/readthedocs.org/blob/8466fa45a2fb1b813ef0272b1154e0c98fe62218/readthedocs/doc_builder/constants.py#L37-L44
This way, we can modify them by setting the values as a setting and also allow to override them from outside (like local_settings.py)
local_settings.py
Related to #2140
The text was updated successfully, but these errors were encountered:
The same happens at
https://github.com/rtfd/readthedocs.org/blob/8466fa45a2fb1b813ef0272b1154e0c98fe62218/readthedocs/config/config.py#L278-L279
Sorry, something went wrong.
Also, modifying PYTHON_SUPPORTED_VERSIONS has no effect because it then uses
PYTHON_SUPPORTED_VERSIONS
https://github.com/rtfd/readthedocs.org/blob/8466fa45a2fb1b813ef0272b1154e0c98fe62218/readthedocs/config/config.py#L283-L289
and returns at line 286 where the class variable was not used.
I found this flow kind of confusing and it's hard to know where we need to touch to get a new value supported.
It would be good if we can centralize this on only one setting/variable.
No branches or pull requests
Our current
Config
object is using hardcoded values to define some DOCKER settings:https://github.com/rtfd/readthedocs.org/blob/8466fa45a2fb1b813ef0272b1154e0c98fe62218/readthedocs/config/config.py#L60-L81
This should follow the pattern that we were using at
https://github.com/rtfd/readthedocs.org/blob/8466fa45a2fb1b813ef0272b1154e0c98fe62218/readthedocs/doc_builder/constants.py#L37-L44
This way, we can modify them by setting the values as a setting and also allow to override them from outside (like
local_settings.py
)Related to #2140
The text was updated successfully, but these errors were encountered: