-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Sphinx: don't override html_context by default #10394
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
Conversation
We have this feature enabled on .org and .com, we haven't heard any complaints. Closes #10293
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.
LGTM - but just curious, what happens to a Feature when its entry in the FEATURES
list is removed? Should there be a data migration for all existing Feature records in the database to remove for instance everything that used to be related to DONT_OVERWRITE_SPHINX_CONTEXT
?
@benjaoming we can just manually remove them from the DB after deploy (they are just 2, one for .org and one for .com), |
@stsewd sounds good 👍 a post-deploy task I guess? |
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.
Meh, I sent this comment yesterday but it got stuck in Pending because I didn't hit the last button 🙃
@@ -160,13 +160,9 @@ if version_info >= (1, 8): | |||
{% block extra_context %}{% endblock %} | |||
|
|||
if 'html_context' in globals(): | |||
{% if dont_overwrite_sphinx_context %} |
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.
It would be good to write an explicit comment here noting that we are not overriding these on purpose
We have this feature enabled on .org and .com,
we haven't heard any complaints.
Closes #10293
📚 Documentation previews 📚
docs
): https://docs--10394.org.readthedocs.build/en/10394/dev
): https://dev--10394.org.readthedocs.build/en/10394/