-
Notifications
You must be signed in to change notification settings - Fork 170
Description
Is your feature request related to a problem? Please describe.
Currently, sphinx-tabs and sphinx-panels both provide tabbed-content functionality. This overlap isn't super useful and creates a very weird dynamic. Right now, we have two implementations of the same fundamental thing living in 2 packages maintained by the same group of people.
- sphinx-tabs: currently outdated, is generally more capable than sphinx-panel's CSS-only implementation of tabs.
- sphinx-panels: A CSS-only package, providing (among other things) a
tabbeddirective that generates tabs adopted from mkdocs-material, looks great on the final page. :)
Describe the solution you'd like
We move the sphinx-panels implementation of tabs into sphinx-tabs and remove the tabbed directive from sphinx-panels. The sphinx-tabs implementation would be modernized, and, heck, we could even have the tabbed directive added to it directly.
Basically, I'm volunteering to rewrite sphinx-tabs to look nicer whilst also adding graceful degradation and solving executablebooks/sphinx-tabs#87 (and a few more) but I don't want to step on anyone's toes and I want to make sure we're all on the same page. :)
Open Questions
- What does Chris think about this idea? :P
- Directive design:
- How important is it to preserve the current structure of sphinx-tabs's directives?
- How important is it to preserve the current structure of the
tabbeddirective? - Should we include both or only one of them in the rewrite? If so, which one?