You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
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:
Way back in the early days, one of the original reasons for forking the theme was that we urgently needed to make some a11y fixes. Are we reasonably sure that the new theme is sufficiently accessible?
Later we added a link for providing doc feedback via a Google Form that could be used even by people unfamiliar with rST and GitHub. Does the new theme support anything comparable, and/or do we want to retain that functionality?
I say we review the replacement for a11y and help fix it if that is needed.
For most of the time the Google Doc existed, it was a black hole that collected comments that no one ever looked at. Instead, we could have a how-to on all the ways someone could provide feedback.
@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.
I've noticed that the update to sphinx 6.0.0 has a breaking change involving the use of jquery see the changelogs.
We use jquery in the edx-sphinx-theme repo here.
I believe the version will need to be pinned at 5.3.0 until the deprecation is complete.
No new edx-sphinx-theme versions have been published since July 1, 2021. That predates our fix to include constraints.txt information in the package metadata, which was made on November 9, 2021.
@xitij2000 I think we have 3 repos left, you've got PRs in progress for credentials and blockstore it looks like, I just want to make sure you have edx-platform on your radar as well? Also, FYI, I'll be on vacation next week so I'll not be responding to reviews then. I'll be back on June 12th.
Yes, it is on my radar, just pushed that PR as well.
The edx-sphinx theme has been removed from all openedx repositories. The last change left is to update common-constraints(openedx/edx-lint#349) and then we can close this ticket and archive this repository.
Activity
robrap commentedon Nov 30, 2022
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.
feanil commentedon Nov 30, 2022
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?
robrap commentedon Nov 30, 2022
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.
jmbowman commentedon Dec 6, 2022
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:
robrap commentedon Dec 6, 2022
@jmbowman: It’s good to have that background:
robrap commentedon Dec 6, 2022
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.
feanil commentedon Dec 8, 2022
@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.
feanil commentedon Dec 8, 2022
As for the feedback form, there is a new feedback form, there is a new feedback form that Jenna and I are monitoring and it's on all the new pages:

feanil commentedon Dec 20, 2022
Given that there were no concerns on the discourse post and all concerns on this issue have been addressed. This deprecation is now accepted.
feanil commentedon Dec 20, 2022
I've added a bunch of sub-tasks that need to be completed before this theme can be considered deprecated.
MaxFrank13 commentedon Jan 5, 2023
I've noticed that the update to sphinx 6.0.0 has a breaking change involving the use of jquery see the changelogs.
We use jquery in the edx-sphinx-theme repo here.
I believe the version will need to be pinned at
5.3.0until the deprecation is complete.robrap commentedon Jan 5, 2023
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?
jmbowman commentedon Jan 5, 2023
No new edx-sphinx-theme versions have been published since July 1, 2021. That predates our fix to include
constraints.txtinformation in the package metadata, which was made on November 9, 2021.150 remaining items
xitij2000 commentedon Jun 1, 2023
Yes, it is on my radar, just pushed that PR as well.
chore: Switch from edx-sphinx-theme to sphinx-book-theme (#87)
chore: Switch from edx-sphinx-theme to sphinx-book-theme
robrap commentedon Jun 1, 2023
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?
feanil commentedon Jun 2, 2023
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/
robrap commentedon Jun 6, 2023
Thanks @feanil. I put up openedx/edx-toggles#278 to fix the build.
chore: Switch from edx-sphinx-theme to sphinx-book-theme
chore: remove references to edx-sphinx-theme to fully deprecate it
chore: Switch from edx-sphinx-theme to sphinx-book-theme
feanil commentedon Jun 20, 2023
The edx-sphinx theme has been removed from all
openedxrepositories. The last change left is to update common-constraints(openedx/edx-lint#349) and then we can close this ticket and archive this repository.