-
Notifications
You must be signed in to change notification settings - Fork 2
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
[DEPR]: edx-sphinx-theme #200
Comments
Thanks @feanil. I think this is great. I wonder if we could crowdsource a doc for migrating (unless you already have that). For example, are there settings that no longer apply, or should be renamed, or new ones that are useful to know about, etc. |
That's a great idea Robert, I think we can collect any items we want to cover on this ticket and then turn it into a "How to Migrate from edx-sphinx-theme to sphinx-book-theme" doc, what do you think? |
Also, for additional "Rationale", the old theme had a bunch of styling bugs, including being broken on mobile. See "Fix Sphinx theme" in https://openedx.atlassian.net/wiki/spaces/AC/pages/2624553266/Developer+Docs+Framework+Notes, if you need more details. |
I agree this is a good idea, just want to make sure we've covered two of the reasons for edx-sphinx-theme's existence that weren't mentioned in the description:
|
@jmbowman: It’s good to have that background:
|
I’d clarify that maintenance of a custom theme either adds maintenance cost, or leads to a badly broken theme if it is neglected, which was our case. |
@jmbowman good context on the a11y work, I didn't know about that. I've added openedx/docs.openedx.org#224 to review the a11y of the new theme and we can update/make improvements based on that but a quick tab-through and keyboard navigation test seems to show no major issues for now. If we do find some in a more thorough test I think it makes sense to fix forward upstream. |
Given that there were no concerns on the discourse post and all concerns on this issue have been addressed. This deprecation is now accepted. |
I've added a bunch of sub-tasks that need to be completed before this theme can be considered deprecated. |
I've noticed that the update to sphinx 6.0.0 has a breaking change involving the use of jquery see the changelogs. I believe the version will need to be pinned at |
Something is odd about the current state of the requirements. Sphinx is supposedly constrained to 1.8.5 here in edx-sphinx-theme. Typically we include constraints for base.in requirements in the package, but that doesn't seem to be happening here, since edx-platform is at 5.3.0 for sphinx. I wonder if our code to publish constraints is missing this due to a difference in capitalization in base.in (Sphinx vs sphinx), or some other reason? |
No new edx-sphinx-theme versions have been published since July 1, 2021. That predates our fix to include |
Note: @jmbowman created openedx-unsupported/edx-sphinx-theme#197 to handle this constraint issue. This should happen before the repo is archived. |
With https://github.com/openedx/edx-sphinx-theme/issues/184 we deprecate the edx-sphinx-theme so provide some docs for how people can migrate to the new theme.
With https://github.com/openedx/edx-sphinx-theme/issues/184 we deprecate the edx-sphinx-theme so provide some docs for how people can migrate to the new theme.
@feanil: Did we ever end up with a how-to for this (see earlier comment)? I noticed @xitij2000 is implementing much of this work, and it would be great for reviewers if decisions were captured in a doc. For example, I noticed the following changes:
I'm guessing we just went with the old settings, but is |
@robrap The how-to can be found here: https://docs.openedx.org/en/latest/developers/how-tos/switch-to-the-sphinx-book-theme.html As for the copyright etc. That is a good point. I copied over the values from edx-sphinx-theme, however as you pointed out perhaps they should be updated to say "The Axim Collaborative" @feanil I know you've updated the value in |
@xitij2000 yea, that's a good catch, let's do that. The Author should be |
Thanks @xitij2000 and @feanil. |
@xitij2000: I'd propose adding a link to this DEPR and to the how-to in your PR and commit comments. Merged PRs could potentially get the PR description updated as well for context, but I'll leave that to you all to decide. |
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See https://github.com/openedx/edx-sphinx-theme/issues/184
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See https://github.com/openedx/edx-sphinx-theme/issues/184
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See https://github.com/openedx/edx-sphinx-theme/issues/184
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See https://github.com/openedx/edx-sphinx-theme/issues/184
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See https://github.com/openedx/edx-sphinx-theme/issues/184
I've created PRs for the final batch and they have been reviewed. |
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme, replaces them with the new standard theme for the platform, and updates the theme configuraiton to use the new theme. See openedx/edx-sphinx-theme#184
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See openedx/edx-sphinx-theme#184
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See openedx/edx-sphinx-theme#184
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See openedx/edx-sphinx-theme#184
@xitij2000 I think we have 3 repos left, you've got PRs in progress for |
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See openedx/edx-sphinx-theme#184
Yes, it is on my radar, just pushed that PR as well. |
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme, replaces them with the new standard theme for the platform, and updates the theme configuraiton to use the new theme. See openedx/edx-sphinx-theme#184
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme and replaces them with the new standard theme for the platform. See openedx/edx-sphinx-theme#184
I noticed the old theme when going to https://edx.readthedocs.io/projects/edx-toggles/en/latest/how_to/documenting_new_feature_toggles.html. I guess we don't have a step to ensure that changes have actually made it out to readthedocs, or was this repo missed? |
The repo was not missed it looks like: openedx/edx-toggles#261 So likely an issue with the publishing of that specific repo, looks like it's failing to build due to requirements issues with the RTD setup: https://readthedocs.org/projects/edx-toggles/builds/20898194/ |
Thanks @feanil. I put up openedx/edx-toggles#278 to fix the build. |
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme, replaces them with the new standard theme for the platform, and updates the theme configuraiton to use the new theme. See https://github.com/openedx/edx-sphinx-theme/issues/184
The edx-sphinx theme is being deprecated, and replaced with sphinx-book-theme. This removes references to the deprecated theme, replaces them with the new standard theme for the platform, and updates the theme configuraiton to use the new theme. See https://github.com/openedx/edx-sphinx-theme/issues/184
The edx-sphinx theme has been removed from all |
Proposal Date
29 November 2022
Target Ticket Acceptance Date
13 December 2022
Earliest Open edX Named Release Without This Functionality
Palm - 2023-04
Rationale
Removal
This repository https://github.com/openedx/edx-sphinx-theme/ will be archived after doing one more PyPI release which will indicate that the project is deprecated and no longer maintained.
Replacement
Anyone building docs should use the sphinx-book-theme instead.
Deprecation
Migration
People can switch to the sphinx-book-theme by adding the
sphinx-book-theme
to their requirements and updating their sphinx conf.py to use the sphinx-book-theme.Additional Info
Discourse Post: https://discuss.openedx.org/t/deprecation-removal-edx-sphinx-theme/8817
The text was updated successfully, but these errors were encountered: