Skip to content

Commit

Permalink
Backport PR #48285 on branch 1.5.x (WEB: Unpin pydata sphinx theme) (#…
Browse files Browse the repository at this point in the history
…48585)

Backport PR #48285: WEB: Unpin pydata sphinx theme

Co-authored-by: Patrick Hoefler <61934744+phofl@users.noreply.github.com>
  • Loading branch information
meeseeksmachine and phofl committed Sep 16, 2022
1 parent 9e8d859 commit 27fd6c6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
4 changes: 2 additions & 2 deletions doc/_templates/sidebar-nav-bs.html
@@ -1,9 +1,9 @@
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation">
<div class="bd-toc-item active">
{% if pagename.startswith("reference") %}
{{ generate_nav_html("sidebar", maxdepth=4, collapse=True, includehidden=True, titles_only=True) }}
{{ generate_toctree_html("sidebar", maxdepth=4, collapse=True, includehidden=True, titles_only=True) }}
{% else %}
{{ generate_nav_html("sidebar", maxdepth=4, collapse=False, includehidden=True, titles_only=True) }}
{{ generate_toctree_html("sidebar", maxdepth=4, collapse=False, includehidden=True, titles_only=True) }}
{% endif %}
</div>
</nav>
4 changes: 2 additions & 2 deletions doc/source/conf.py
Expand Up @@ -244,10 +244,10 @@
"github_url": "https://github.com/pandas-dev/pandas",
"twitter_url": "https://twitter.com/pandas_dev",
"google_analytics_id": "UA-27880019-2",
"logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"},
"navbar_end": ["version-switcher", "navbar-icon-links"],
"switcher": {
"json_url": "https://pandas.pydata.org/versions.json",
"url_template": "https://pandas.pydata.org/{version}/",
"json_url": "/versions.json",
"version_match": switcher_version,
},
}
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Expand Up @@ -99,7 +99,7 @@ dependencies:
- natsort # DataFrame.sort_values doctest
- numpydoc
- pandas-dev-flaker=0.5.0
- pydata-sphinx-theme=0.8.0
- pydata-sphinx-theme
- pytest-cython # doctest
- sphinx
- sphinx-panels
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Expand Up @@ -76,7 +76,7 @@ gitdb
natsort
numpydoc
pandas-dev-flaker==0.5.0
pydata-sphinx-theme==0.8.0
pydata-sphinx-theme
pytest-cython
sphinx
sphinx-panels
Expand Down
21 changes: 14 additions & 7 deletions web/pandas/versions.json
@@ -1,30 +1,37 @@
[
{
"name": "dev",
"version": "docs/dev"
"version": "dev",
"url": "/docs/dev/"
},
{
"name": "1.4 (stable)",
"version": "docs"
"version": "1.4 (stable)",
"url": "/docs/"
},
{
"name": "1.4",
"version": "pandas-docs/version/1.4"
"version": "1.4",
"url": "/pandas-docs/version/1.4/"
},
{
"name": "1.3",
"version": "pandas-docs/version/1.3"
"version": "1.3",
"url": "/pandas-docs/version/1.3/"
},
{
"name": "1.2",
"version": "pandas-docs/version/1.2"
"version": "1.2",
"url": "/pandas-docs/version/1.2/"
},
{
"name": "1.1",
"version": "pandas-docs/version/1.1"
"version": "1.1",
"url": "/pandas-docs/version/1.1/"
},
{
"name": "1.0",
"version": "pandas-docs/version/1.0"
"version": "1.0",
"url": "/pandas-docs/version/1.0/"
}
]

0 comments on commit 27fd6c6

Please sign in to comment.