Skip to content

Commit bb47429

Browse files
DOC: add placeholder for announcement banner in docs (and use for 3.0rc announcement) (#63282)
1 parent dd791df commit bb47429

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Announcement: pandas 3.0.0 release candidate ready for testing! Read more <a href="https://pandas.pydata.org/community/blog/pandas-3.0-release-candidate.html">in the blog post</a>

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@
258258
# This shows a warning for patch releases since the
259259
# patch version doesn't compare as equal (e.g. 2.2.1 != 2.2.0 but it should be)
260260
"show_version_warning_banner": False,
261+
"announcement": "https://raw.githubusercontent.com/pandas-dev/pandas/main/doc/_templates/docs-announcement-banner.html",
261262
"icon_links": [
262263
{
263264
"name": "X",

environment.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ dependencies:
8686
- natsort # DataFrame.sort_values doctest
8787
- pickleshare # Needed for IPython Sphinx directive in the docs GH#60429
8888
- numpydoc
89-
- pydata-sphinx-theme=0.16
89+
# temporary installed with pip with custom patch until released
90+
# - pydata-sphinx-theme=0.16
9091
- pytest-cython # doctest
9192
- sphinx
9293
- sphinx-design
@@ -126,3 +127,4 @@ dependencies:
126127

127128
- pip:
128129
- tzdata>=2023.3
130+
- https://github.com/jorisvandenbossche/pydata-sphinx-theme/archive/refs/heads/v0.16.1+dismissable-announcement-banner.zip

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ gitpython
6161
natsort
6262
pickleshare
6363
numpydoc
64-
pydata-sphinx-theme==0.16
6564
pytest-cython
6665
sphinx
6766
sphinx-design
@@ -87,3 +86,4 @@ pygments
8786
jupyterlite-core
8887
jupyterlite-pyodide-kernel
8988
tzdata>=2023.3
89+
https://github.com/jorisvandenbossche/pydata-sphinx-theme/archive/refs/heads/v0.16.1+dismissable-announcement-banner.zip

0 commit comments

Comments
 (0)