From f7efaa8983be0418daa22eb00e3cdf906e72bb48 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 31 Jul 2024 10:17:13 -0700
Subject: [PATCH] Bump sphinx-design from 0.5.0 to 0.6.0 (#3268)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [sphinx-design](https://github.com/executablebooks/sphinx-design)
from 0.5.0 to 0.6.0.
Sourced from sphinx-design's
releases. You can use the The key is the new directive name to add, and the value is a
dictionary with the following keys: by Synchronised tabs can now be selected by adding a query parameter to
the URL, for that sync-group, such as Release notes
v0.6.0
What's Changed
Dependencies
@chrisjsewell
in executablebooks/sphinx-design#186@ffvpor
in executablebooks/sphinx-design#171New
✨ Create custom directives
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",
},
}
}
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)@chrisjsewell
in executablebooks/sphinx-design#194✨ sync tabs by URL query parameters
?code=python
for.. tab-set-code::
.. literalinclude:: snippet.py
:language: python
.. literalinclude:: snippet.js
:language: javascript
The last selected tab key, per group, is also persisted
SessionStorage
... (truncated)
Sourced from sphinx-design's changelog.
0.6.0 - 2024-05-23
Dependencies
- ⬆️ Python v3.9-3.12 by {user}
chrisjsewell
in {pr}186
- ⬆️ Octicon icons to v19.8.0 by {user}
ffvpor
in {pr}171
New
✨ Create custom directives
You can use the
sd_custom_directives
configuration option in yourconf.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
✨ sync tabs by URL query parameters
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: javascript
The last selected tab key, per group, is also persisted to
SessionStorage
... (truncated)
16af1dc
🚀 Release v0.6.0 (#197)f1427ce
✨ NEW: sync tabs by URL query parameters (#196)a6f97b8
🐛 FIX: do not close input
tag (#195)e258b45
👌 Use reference name by default for internal link cards (#183)3374383
✨ NEW: Create custom directives (#194)af64472
🔧 Add FIPS compliant flag to md5 call (#162)074f21f
👌 Remove duplicate CSS hashing for sphinx >= 7.1 (#193)be1b85d
🐛 Fix tab-item label with nested syntax (#135)89aaa26
👌 Improve dropdown title bar (#192)169c09d
📚 Change syntax dropdown color (#191)