- ⬆️ Drop Python 3.9 & 3.10, support Python 3.14 by {user}
chrisjsewellin {pr}250 - ⬆️ Drop Sphinx v6, add Sphinx v9 support by {user}
chrisjsewellin {pr}250and {pr}255 - ⬆️ Update Material Design Icons to v4.0.0-116-ge9da21 by {user}
2bndy5in {pr}223
- 📚 Document
muted,white, andblacksemantic colors by {user}agriyakhetarpalin {pr}216
- ⬆️ Update sphinx to >=6,<9 by {user}
chrisjsewellin {pr}212 - 👌 Reduce right-padding of dropdown title by {user}
chrisjsewellin {pr}198
- ⬆️ Python v3.9-3.12 by {user}
chrisjsewellin {pr}186 - ⬆️ Octicon icons to v19.8.0 by {user}
ffvporin {pr}171
You can use the sd_custom_directives configuration option in your conf.py to add custom directives, with default option values:
sd_custom_directives = {
"dropdown-syntax": {
"inherit": "dropdown",
"argument": "Syntax",
"options": {
"color": "primary",
"icon": "code",
},
}
}The key is the new directive name to add, and the value is a dictionary with the following keys:
inherit: The directive to inherit from (e.g.dropdown)argument: The default argument (optional, only for directives that take a single argument)options: A dictionary of default options for the directive (optional)
by {user}chrisjsewell in {pr}194
Synchronised tabs can now be selected by adding a query parameter to the URL, for that sync-group, such as ?code=python for
.. tab-set-code::
.. literalinclude:: snippet.py
:language: python
.. literalinclude:: snippet.js
:language: javascriptThe last selected tab key, per group, is also persisted to SessionStorage
by {user}mikemckiernan and {user}chrisjsewell in {pr}196
- 👌 Use reference name by default for internal link cards by {user}
gabalafouin {pr}183 - 👌 Improve specificity of JS function name by {user}
danirusin {pr}153 - 👌 Remove duplicate CSS hashing for sphinx >= 7.1 by {user}
chrisjsewellin {pr}193
There are three visible changes:
- The "default" behaviour of the right chevron is to go from right-facing (closed) to down-facing (open), instead of down-facing (closed) to up-facing (open). There is also a rotate transition on opening/closing.
The old default behaviour can be retained by using the new
:chevron: down-updirective option. - The prefix icon (optional), title text, and chevron state icon are now all better aligned
- The top/bottom padding is now 0.5em instead of 1em
The PR also introduces three new CSS variables to control font sizes of the dropdown:
--sd-fontsize-tabs-label: 1rem;
--sd-fontsize-dropdown-title: 1rem;
--sd-fontweight-dropdown-title: 700;Internally, the HTML / CSS is changed, such that the title is now an inline-flex box, with three columns arranged with justify-content: space-between:
| icon (optional) | text (flex-grow: 1) |
state chevron |
|---|---|---|
Also, the state chevron was previously two distinct SVGs (with one hidden), but now is one that get rotated on open/close.
by {user}chrisjsewell in {pr}192
- 🐛 Fix tab-item label with nested syntax by {user}
Praecordiin {pr}135 - 🐛 Fix do not close
inputtag by {user}chrisjsewellin {pr}195
-
📚 Update theme versions by {user}
chrisjsewellin {pr}189 -
📚 Make octicon list a table by {user}
chrisjsewellin {pr}188 -
📚 Add sphinx-immaterial to doc theme builds by {user}
chrisjsewellin {pr}190 -
📚 Change syntax dropdown color by {user}
chrisjsewellin {pr}191 -
🔧 Add FIPS compliant flag to md5 call by {user}
gabor-vargain {pr}162 -
🔧 define
build.osfor RTD to fix build by {user}sciencewhizin {pr}176 -
🔧 Move to ruff by {user}
chrisjsewellin {pr}185
Full Changelog: https://github.com/executablebooks/sphinx-design/compare/v0.5.0...v0.6.0
- ⬆️ Drop Python 3.7 support, by {user}
chrisjsewellin {pr}146 - ⬆️ UPGRADE: sphinx>=5,<8, by {user}
chrisjsewellin {pr}148
Full Changelog: https://github.com/executablebooks/sphinx-design/compare/v0.4.1...v0.5.0
Full Changelog: https://github.com/executablebooks/sphinx-design/compare/v0.3.0...v0.4.0
- Make default blue color a11y friendly. {pr}
124({user}feanil, {user}choldgraf) - Make card titles translatable {pr}
113({user}jpmckinney, {user}chrisjsewell)
- Sphinx 6.x. {pr}
106 - Support for Python 3.11 {pr}
105
The following people contributed discussions, new ideas, code and documentation contributions, and review. See our definition of contributors.
(GitHub contributors page for this release)
- ⬆️ Update Materials Design Icons to v4.0.0-46-gc9e5528, thanks to {user}
2bndy5({pr}69) - 🐛 FIX: dropdown/tab-item
:name:options ({pr}91) - 🐛 FIX: Docs build against non-html formats ({pr}
88) - 👌 IMPROVE: Add card options
class-img-top/class-img-bottom({pr}92) - 👌 IMPROVE: Add
link-altto fix card link accessibility ({pr}89)- adds the
link-altoption tocard(andgrid-item-card) directives, in order to assign a discernable name to the link (for screen readers).
- adds the
- 👌 IMPROVE: Make tab ids deterministic ({pr}
93)- Use increasing indices, rather than UUIDs
- 🔧 MAINTAIN: Fix docutils
PendingDeprecationWarning({pr}94) - 📚 DOCS: Update font awesome icons ({pr}
64)
Full Changelog: https://github.com/executablebooks/sphinx-design/compare/v0.2.0...v0.3.0
- ⬆️ Support Sphinx v5, drop v3
- ⬆️ Add Python 3.10 support
Full Changelog: https://github.com/executablebooks/sphinx-design/compare/v0.1.0...v0.2.0
- ✨ NEW: Add material design icons roles, thanks to {user}
2bndy5in {pr}41 - ⬆️ UPGRADE: octicons to v16.1.1, thanks to {user}
pocekin {pr}43 - 🐛 FIX: Links in card titles by {user}
chrisjsewellin {pr}59 - 🐛 FIX: Exception on missing card link by {user}
chrisjsewellin {pr}60 - 🔧 MAINTAIN: Move from setuptools to flit for package build by {user}
chrisjsewellin {pr}58 - 🔧 MAINTAIN: Drop furo-specific stylesheet, thanks to {user}
pradyunsgin {pr}22
Full Changelog: https://github.com/executablebooks/sphinx-design/compare/v0.0.13...v0.1.0
✨ NEW: add icon far role ({pr}35), thanks to {user}OriolAbril
👌 IMPROVE: Styling for tabs ({pr}21), thanks to {user}pradyunsg
👌 IMPROVE: Properly remove the border on dropdown card body ({pr}23), thanks to {user}pradyunsg
🐛 FIX: sd-outline-* classes color ({pr}25)
✨ NEW: Add ref-type option to button-ref directive
✨ NEW: Add grid-item directive child-direction and child-align options
✨ NEW: Add card directive img-background option
♻️ REFACTOR: test_sd_hide_root_title to sd_hide_title front-matter
👌 IMPROVE: dropdown chevrons
✨ NEW: Add test_sd_hide_root_title config option to hide the root title.
👌 IMPROVE: sd-card-hover:hover add scale 101%
📚 DOCS: Update landing page
✨ NEW: Add reverse option for grid directive
✨ NEW: Add animations
✨ NEW: Add card-carousel directive
👌 IMPROVE: Make octicon's size variable
👌 IMPROVE: Allow auto for grid columns
👌 IMPROVE: Add more CSS classes and add documentation 📚
Improve documentation 📚
Initial release 🎉