Commit 33fb96b
Header nav link styles (focus, hover, current) (#1545)
* Implement header nav link styles
* add comments
* add comment
* changes from implementation review
* Consistent focus ring (first pass) (#1549)
* wip
* Style focus state in header nav
* update focus ring style on all focussable elements
* simplify
* fix links in mobile sidebar overlay
* put focus rings around a few more focusable elements
* polish
* update comment
* review
* better align focus ring on collapsible admonitions
* comment and simplify sphinx-togglebutton focus ring
* make css override more explicit
* Fix SD link-card focus ring and on homepage, bring links inside card
* Update docs/index.md
---------
Co-authored-by: Daniel McCloy <dan@mccloy.info>
* Resolve current sidebar link notch and focus ring (#1561)
* Fix sidebar current notch
* focus-ring-radius
* missed a spot 0.125rem
* keep focus ring on top
* Restyle Sphinx Design tabs (#1555)
* restyle sphinx design tabs
* increase panel border radius
* increase line height, zero padding-y
* use shadow variable
* Update src/pydata_sphinx_theme/assets/styles/extensions/_sphinx_design.scss
* Update src/pydata_sphinx_theme/assets/styles/extensions/_sphinx_design.scss
* Fix tabbed panel colors (#1567)
* update feature focus (#1569)
* docs: add instructions for custom SVG icons (#1490)
* docs: add instructions for custom SVG icons
* docs: minor tweaks in SVG icon instructions
* docs: some more tweaks to SVG icon instructions
* Update docs/user_guide/header-links.rst
Co-authored-by: Rambaud Pierrick <12rambau@users.noreply.github.com>
* Change literalinclude to code-block in header links
* Update docs/user_guide/header-links.rst
Co-authored-by: Daniel McCloy <dan@mccloy.info>
* Update docs/user_guide/header-links.rst
* Update docs/user_guide/header-links.rst
* Update docs/user_guide/header-links.rst
* Update docs/user_guide/header-links.rst
* Update docs/user_guide/header-links.rst
---------
Co-authored-by: tgresavage <thomas.gresavage.ext@afresearchlab.com>
Co-authored-by: Rambaud Pierrick <12rambau@users.noreply.github.com>
Co-authored-by: Daniel McCloy <dan@mccloy.info>
* fix: make table background transparent (#1546)
* fix: make table background transparent
* fix: make table background transparent
* fix: add color-theme option to html tag (#1536)
* Silence warnings (#1542)
* avoid webpack warning during asset compile
* avoid frozen modules warning during import
* try to make jupyterlite quieter
* add config option to silence warnings
* fix tests
* add docs
* hide conditional warning logic in utils
* bump: 0.14.2 → 0.14.3
* chore: back to dev
* docs: add the list of component using a directive (#1476)
* fix: create the component list automatically
* fix: read the first comment as documentation
* docs: add disclaimer on .html suffix
* docs: document every component with a simple one liner
* fix: use regex to identify comments
* update component branch (#15)
* Change default logo alt text (#1472)
* Default logo alt text only if no extra text
* change default logo
* use docstitle as default logo alt text
* update docs to reflect change
* Apply suggestions from code review
Co-authored-by: Daniel McCloy <dan@mccloy.info>
* use string formatting operator
* Update docs/user_guide/branding.rst
* docs fixes
* Update docs/user_guide/branding.rst
* add test
* Update pyproject.toml
* revert to original
---------
Co-authored-by: Daniel McCloy <dan@mccloy.info>
Co-authored-by: Rambaud Pierrick <12rambau@users.noreply.github.com>
* chore(i18n) catalan (#1488)
i18n: Translate sphinx.po in ca
100% translated source file: 'sphinx.po'
on 'ca'.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
* Build(deps): Bump postcss and css-loader (#1494)
Bumps [postcss](https://github.com/postcss/postcss) to 8.4.31 and updates ancestor dependency [css-loader](https://github.com/webpack-contrib/css-loader). These dependencies need to be updated together.
Updates `postcss` from 8.4.21 to 8.4.31
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.21...8.4.31)
Updates `css-loader` from 3.6.0 to 6.8.1
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](webpack/css-loader@v3.6.0...v6.8.1)
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
- dependency-name: css-loader
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Revert "Build(deps): Bump postcss and css-loader" (#1509)
Revert "Build(deps): Bump postcss and css-loader (#1494)"
This reverts commit 185a37a.
* Update pst docs buttons (#1502)
* call them button-links
* copy edit
* docs: link back to GitHub from PyPI metadata (#1504)
This will add a "Source" link in the PyPI page.
* navigation_with_keys = False (#1503)
* navigation_with_keys = False
* None -> False
* Apply suggestions from code review
---------
Co-authored-by: Daniel McCloy <dan@mccloy.info>
* fix: convert "stable" to actual version number (#1512)
* convert "stable" to actual version number
* fix tests re: navigation_with_keys
* try bumping autoapi
* refactor: use nbsphinx as the default execution lib (#1482)
* refactor: use nbsphinx as the default execution lib
* add nbstripout to the pre-commits'
* add pandoc to the readthedocs deps
* refactor: clean the notebook
* move the example to the correct folder
* fix: solve link issue
* install pandoc in the test environment
* fix: display of large table in executed cells
* avoid Userwarnings from matplotlib
* hide the matplotlib wrning management cell
* Update readthedocs.yml
* build: use pandoc_binary to install pandoc
* docs: add reference to pandoc in the setup
* update docs
* remove pypandoc_binary
* Update pyproject.toml
Co-authored-by: gabalafou <gabriel@fouasnon.com>
* ci: use back setup-pandoc
* Trigger CI build
---------
Co-authored-by: Gabriel Fouasnon <gabriel@fouasnon.com>
* BUG - Clear alt_text in conf.py (#1471)
* comment out alt_text in conf.py
* set alt_text to empty string
* remove alt_text from conf.py
* fix: use 12rambau fork until it's merged with nikeee repo (#1517)
* deps: drop support for Sphinx 5 (#1516)
* remove ref to myst-nb
* update minimal supported version of sphinx
* Fix: (webpack.config.js) css-loader API change (#1508)
* Fix: (webpack.config.js) css-loader API change
The build was broken in
<https://github.com/pydata/pydata-sphinx-theme/commit/185a37aa36820f77bffa4c87a772092e9e7cc380>/<https://github.com/pydata/pydata-sphinx-theme/pull/1494>.
This change fixes the build, and it seems to be in accordance with the
current API as described at <https://github.com/webpack-contrib/css-loader/blob/c6f36cf91ac61743a70e81cfb077faa0f8730ebe/README.md#boolean>.
Closes <#1507>.
* dedup
* restore version bump
---------
Co-authored-by: Daniel McCloy <dan@mccloy.info>
* Fix duplicate HTML IDs (#1425)
* Fix duplicate HTML IDs
* fix tests
* Do not animate the version admonitions colors. (#1424)
Otherwise a delay has to be added to the accessibility color
contrast checks, to wait for the colors to fully transition.
* BUG - Remove redundant ARIA in breadcrumb navigation (#1426)
* style(i18n): French Typo fixed (#1430)
* Add the ability to add a center section to the footer (#1432)
* Add a center section for the footer
* Add docs for footer_center
* Add a test site for the center footer
* test it in our own docs
* remove new test site
* add footer test
---------
Co-authored-by: Daniel McCloy <dan@mccloy.info>
* Build(deps): Bump actions/checkout from 3 to 4 (#1433)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add dropdown_text argument to generate_header_nav_html (#1423)
* Add dropdown_text argument to generate_header_nav_html
* Add a test, fix typo in theme.conf and remove header_dropdown_text from docs/conf.py
* fixed?
---------
Co-authored-by: Daniel McCloy <dan@mccloy.info>
* fix: rollback ref and Id changes (#1438)
* bump: version 0.13.3 → 0.14.0 (#1440)
* bump version
* update version switcher
* back to dev
* fix: change the z-index of the dropdown (#1442)
In order to be on top of the primary sidebar on small screens.
* fix: set the same background for dark/light (#1443)
* fix: set the same background for dark/light
et the same background color for all state of the search field. It is currently only applied when hovered
* fix: wrong css selector
* Update src/pydata_sphinx_theme/assets/styles/components/_search.scss
* Update src/pydata_sphinx_theme/assets/styles/components/_search.scss
* Fix duplicate HTML IDs
* fix tests
* unique_html_id
* backwards-compat generate_header_nav_html
* feedback review
* update fixture
* ughhhh...caching
* code cleanup
* fix test snapshot
* put comment inside def
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Denis Bitouzé <dbitouze@wanadoo.fr>
Co-authored-by: Stuart Mumford <stuart@cadair.com>
Co-authored-by: Daniel McCloy <dan@mccloy.info>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com>
Co-authored-by: Rambaud Pierrick <12rambau@users.noreply.github.com>
* chore: build the devcontainer automatically in codespace (#1483)
* chore: build the devcontainer automaticallyin codespace
* refactor: lint
* add pandoc to the environment
* Fix font color in search input box (#1524)
* Fix color
* Use --pst-color-text-base
* docs: add DecentralChain (#1528)
Co-authored-by: jourlez <josuecr.288@gmail.com>
* Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in ru [Manual Sync] (#1527)
i18n: Translate sphinx.po in ru [Manual Sync]
96% of minimum 20% translated source file: 'sphinx.po'
on 'ru'.
Sync of partially translated files:
untranslated content is included with an empty translation
or source language content depending on file format
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
* ignore transient errors in windows build CI (#1520)
* use warning list
* clean up notebook
* refactor to pass on all platforms?
* simplify
* fix logic
* iterate backwards
* fix plaform detection? also don't log unnecessarily�[H
* ignore empty string warnings
* remove notebook metawarning
* Revert "remove notebook metawarning"
This reverts commit 42f4672.
* try again
* debug the mysterious empty warning
* escape color codes
* import
* triage by intermittency, not by platform; better var names
* simplify
* fix list.remove
* undo what I broke
* Update tests/utils/check_warnings.py
* refactor: remove extention on component set-up (#1529)
* use event.key for search shortcut (#1525)
* use event.key for search shortcut
* suggestions from review
* caps lock
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: gabalafou <gabriel@fouasnon.com>
Co-authored-by: Daniel McCloy <dan@mccloy.info>
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Adam Porter <adam@alphapapa.net>
Co-authored-by: Denis Bitouzé <dbitouze@wanadoo.fr>
Co-authored-by: Stuart Mumford <stuart@cadair.com>
Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com>
Co-authored-by: Harutaka Kawamura <hkawamura0130@gmail.com>
Co-authored-by: jourlez <josuecr.288@gmail.com>
* fix: use a directive instead of raw html
* fix: make links externals
* fix: set reference in paragraphs
* fix: missing parameter
* fix: use the stem for the component name
* refactor: remove never used variables
* standardize component descriptions
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: gabalafou <gabriel@fouasnon.com>
Co-authored-by: Daniel McCloy <dan@mccloy.info>
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Adam Porter <adam@alphapapa.net>
Co-authored-by: Denis Bitouzé <dbitouze@wanadoo.fr>
Co-authored-by: Stuart Mumford <stuart@cadair.com>
Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com>
Co-authored-by: Harutaka Kawamura <hkawamura0130@gmail.com>
Co-authored-by: jourlez <josuecr.288@gmail.com>
* fix: primer link in docs (#1556)
* docs: add data-content (#1559)
Reproduce the change made in Sphinx 7
sphinx-doc/sphinx@8e730ae#diff-a5066e933cbf65adc46e0d1ab9a0b44e0a53ca64cc95dca7e6aa902aed6bd468R105
* Obviate background-from-color-variable (#1558)
* Obviate background-from-color-variable
* backwards compatibility
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: gresavage <tomgresavage@gmail.com>
Co-authored-by: tgresavage <thomas.gresavage.ext@afresearchlab.com>
Co-authored-by: Daniel McCloy <dan@mccloy.info>
Co-authored-by: gabalafou <gabriel@fouasnon.com>
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Adam Porter <adam@alphapapa.net>
Co-authored-by: Denis Bitouzé <dbitouze@wanadoo.fr>
Co-authored-by: Stuart Mumford <stuart@cadair.com>
Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com>
Co-authored-by: Harutaka Kawamura <hkawamura0130@gmail.com>
Co-authored-by: jourlez <josuecr.288@gmail.com>
Co-authored-by: Chris Holdgraf <choldgraf@berkeley.edu>
* simplify (do not change state of hover)
* fix icon links
* forgot to add pydata-icon.js
* Restore hover styles to sidebar toggles
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Daniel McCloy <dan@mccloy.info>
Co-authored-by: Rambaud Pierrick <12rambau@users.noreply.github.com>
Co-authored-by: gresavage <tomgresavage@gmail.com>
Co-authored-by: tgresavage <thomas.gresavage.ext@afresearchlab.com>
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Adam Porter <adam@alphapapa.net>
Co-authored-by: Denis Bitouzé <dbitouze@wanadoo.fr>
Co-authored-by: Stuart Mumford <stuart@cadair.com>
Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com>
Co-authored-by: Harutaka Kawamura <hkawamura0130@gmail.com>
Co-authored-by: jourlez <josuecr.288@gmail.com>
Co-authored-by: Chris Holdgraf <choldgraf@berkeley.edu>1 parent 4839dc2 commit 33fb96b
File tree
9 files changed
+139
-23
lines changed- docs
- _static
- src/pydata_sphinx_theme
- assets/styles
- abstracts
- components
- sections
9 files changed
+139
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 156 | + | |
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
| |||
226 | 224 | | |
227 | 225 | | |
228 | 226 | | |
229 | | - | |
| 227 | + | |
230 | 228 | | |
231 | 229 | | |
232 | 230 | | |
| |||
Lines changed: 80 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
53 | 62 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| |||
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 101 | + | |
| 102 | + | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
102 | 108 | | |
103 | | - | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
| 117 | + | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| |||
177 | 180 | | |
178 | 181 | | |
179 | 182 | | |
180 | | - | |
| 183 | + | |
181 | 184 | | |
182 | 185 | | |
183 | 186 | | |
| |||
0 commit comments