Skip to content
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

Remove disable_sphinx_manipulation feature flag #11841

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Dec 10, 2024

This flag is enabled by default on .org and .com, so the other branches are dead code now.
append_conf was renamed to show_conf since that's what it only does.

@stsewd stsewd requested a review from a team as a code owner December 10, 2024 21:59
@stsewd stsewd requested a review from humitos December 10, 2024 21:59
Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 🎉

@@ -40,7 +40,7 @@ def get_final_doctype(self):
"""Some builders may have a different doctype at build time."""
return self.config.doctype

def append_conf(self):
def show_conf(self):
"""Set custom configurations for this builder."""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"""Set custom configurations for this builder."""
"""Show custom configurations for this builder."""

Comment on lines +198 to +199
# Mark this version to inject the new js client when serving it via El Proxito.
self.data.version.addons = True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can delete the field Version.addons now. We are not using it anymore since we are always inject addons unless AddonsConfig.enabled=False -- but we are not checking for Version.addons.

@stsewd stsewd merged commit 1ebd4e5 into main Dec 11, 2024
5 of 6 checks passed
@stsewd stsewd deleted the remove-sphinx-override-ft branch December 11, 2024 14:41
Copy link

sentry-io bot commented Dec 18, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ BuildCancelled: Build user exception readthedocs.projects.tasks.builds.update_docs_task View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants