Migrate documentation from sphinx_tabs to sphinx-design#600
Conversation
Co-authored-by: gitosaurus <6794831+gitosaurus@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This pull request migrates Hyrax documentation from the unmaintained sphinx_tabs extension to the actively maintained sphinx-design extension to resolve build failures on Sphinx 8.0+. The migration addresses a KeyError: 'backrefs' issue caused by sphinx_tabs attempting to access deprecated Sphinx attributes.
Changes:
- Removed
sphinx-tabsdependency andsphinx_tabs.tabsextension reference - Updated tab directive syntax from
.. tabs::/.. group-tab::to.. tab-set::/.. tab-item::across all documentation files - Migrated 12 instances of tab directives across 6 RST files with consistent syntax conversion
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| docs/requirements.txt | Removed deprecated sphinx-tabs dependency (sphinx-design already present) |
| docs/conf.py | Removed sphinx_tabs.tabs from extensions list |
| docs/architecture_overview.rst | Migrated 1 tab directive to sphinx-design syntax |
| docs/configuration.rst | Migrated 2 tab directives to sphinx-design syntax |
| docs/data_set_splits.rst | Migrated 3 tab directives to sphinx-design syntax |
| docs/external_libraries.rst | Migrated 1 tab directive to sphinx-design syntax |
| docs/model_comparison.rst | Migrated 1 tab directive to sphinx-design syntax |
| docs/verbs.rst | Migrated 4 tab directives to sphinx-design syntax |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #600 +/- ##
=======================================
Coverage 62.31% 62.31%
=======================================
Files 53 53
Lines 5235 5235
=======================================
Hits 3262 3262
Misses 1973 1973 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
gitosaurus
left a comment
There was a problem hiding this comment.
LGTM. Local build seems to render properly.
* Migrate from sphinx_tabs to sphinx-design --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gitosaurus <6794831+gitosaurus@users.noreply.github.com>
Change Description
Documentation builds were failing on Sphinx 8.0+ due to
sphinx_tabsattempting to access a deprecated'backrefs'attribute, resulting inKeyError.Solution Description
Migrated from unmaintained
sphinx_tabsto actively maintainedsphinx-designextension.Dependencies
docs/requirements.txt: Removedsphinx-tabsdependencydocs/conf.py: Removedsphinx_tabs.tabsfrom extensions listSyntax Migration (12 instances across 6 files)
architecture_overview.rst(1)configuration.rst(2)data_set_splits.rst(3)external_libraries.rst(1)model_comparison.rst(1)verbs.rst(4)Tab directive syntax updated:
sphinx-designis fully compatible with Sphinx 8.0+ and provides equivalent tabbed content functionality.Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.