Skip to content

Commit bb9575e

Browse files
mroeschkejorisvandenbosschedatapythonista
authored and
im-vinicius
committed
DEPS: Unpin pydata-sphinx-theme (pandas-dev#53029)
* DOC: migrate from sphinx-panels to sphinx-design * update css for latest pydata-sphinx-theme * add sphinx-design to env * further fix css * Convert panels to grid, address warning, remove panel dependency * Try addressing failures * Fix css * Fix more css * Just use one comparison card class * Unpin pydata-sphinx-theme * Uncomment other workflows * address some warnings * Revert "Uncomment other workflows" This reverts commit dbdfc38. * Change bath to json_url * Change back to path * No / * Change version * Update doc/source/conf.py Co-authored-by: Marc Garcia <[email protected]> --------- Co-authored-by: Joris Van den Bossche <[email protected]> Co-authored-by: Marc Garcia <[email protected]>
1 parent 2b1fdea commit bb9575e

File tree

5 files changed

+47
-47
lines changed

5 files changed

+47
-47
lines changed

doc/source/conf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,14 @@
237237

238238
html_theme_options = {
239239
"external_links": [],
240-
"footer_items": ["pandas_footer", "sphinx-version"],
240+
"footer_start": ["pandas_footer", "sphinx-version"],
241241
"github_url": "https://github.com/pandas-dev/pandas",
242242
"twitter_url": "https://twitter.com/pandas_dev",
243-
"google_analytics_id": "UA-27880019-2",
243+
"analytics": {"google_analytics_id": "UA-27880019-2"},
244244
"logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"},
245245
"navbar_end": ["version-switcher", "theme-switcher", "navbar-icon-links"],
246246
"switcher": {
247-
"json_url": "/versions.json",
247+
"json_url": "https://pandas.pydata.org/versions.json",
248248
"version_match": switcher_version,
249249
},
250250
"icon_links": [

doc/source/versions.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[
2+
{
3+
"name": "dev",
4+
"version": "dev",
5+
"url": "https://pandas.pydata.org/docs/dev/"
6+
},
7+
{
8+
"name": "2.0 (stable)",
9+
"version": "2.0",
10+
"url": "https://pandas.pydata.org/docs/"
11+
},
12+
{
13+
"name": "1.5",
14+
"version": "1.5",
15+
"url": "https://pandas.pydata.org/pandas-docs/version/1.5/"
16+
},
17+
{
18+
"name": "1.4",
19+
"version": "1.4",
20+
"url": "https://pandas.pydata.org/pandas-docs/version/1.4/"
21+
},
22+
{
23+
"name": "1.3",
24+
"version": "1.3",
25+
"url": "https://pandas.pydata.org/pandas-docs/version/1.3/"
26+
},
27+
{
28+
"name": "1.2",
29+
"version": "1.2",
30+
"url": "https://pandas.pydata.org/pandas-docs/version/1.2/"
31+
},
32+
{
33+
"name": "1.1",
34+
"version": "1.1",
35+
"url": "https://pandas.pydata.org/pandas-docs/version/1.1/"
36+
},
37+
{
38+
"name": "1.0",
39+
"version": "1.0",
40+
"url": "https://pandas.pydata.org/pandas-docs/version/1.0/"
41+
}
42+
]

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ dependencies:
8989
- gitdb
9090
- natsort # DataFrame.sort_values doctest
9191
- numpydoc
92-
- pydata-sphinx-theme<0.11
92+
- pydata-sphinx-theme
9393
- pytest-cython # doctest
9494
- sphinx
9595
- sphinx-design

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ gitpython
6464
gitdb
6565
natsort
6666
numpydoc
67-
pydata-sphinx-theme<0.11
67+
pydata-sphinx-theme
6868
pytest-cython
6969
sphinx
7070
sphinx-design

web/pandas/versions.json

-42
This file was deleted.

0 commit comments

Comments
 (0)