From 238f8ebc9c468f579ec296c443a74df227dc7a1a Mon Sep 17 00:00:00 2001 From: MomIsBestFriend <> Date: Fri, 20 Mar 2020 02:47:11 +0200 Subject: [PATCH 1/2] Backport PR #32840 on branch 1.0.x (DOC: use new pydata-sphinx-theme name) --- doc/source/conf.py | 2 +- environment.yml | 2 +- requirements-dev.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 6891f7d82d6c1..5ea76c2f9c39f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -194,7 +194,7 @@ # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. -html_theme = "pandas_sphinx_theme" +html_theme = "pydata_sphinx_theme" # The style sheet to use for HTML and HTML Help pages. A file of that name # must exist either in Sphinx' static/ path, or in one of the custom paths diff --git a/environment.yml b/environment.yml index 0d624c3c716a0..3c7aed32af3f8 100644 --- a/environment.yml +++ b/environment.yml @@ -105,4 +105,4 @@ dependencies: - pyreadstat # pandas.read_spss - tabulate>=0.8.3 # DataFrame.to_markdown - pip: - - git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master + - git+https://github.com/pandas-dev/pydata-sphinx-theme.git@master diff --git a/requirements-dev.txt b/requirements-dev.txt index b10ea0c54b96c..3089b96d26780 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -71,4 +71,4 @@ sqlalchemy xarray pyreadstat tabulate>=0.8.3 -git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master \ No newline at end of file +git+https://github.com/pandas-dev/pydata-sphinx-theme.git@master \ No newline at end of file From f7c193ab178c5536abcdf9d5a687b39a80134c12 Mon Sep 17 00:00:00 2001 From: MomIsBestFriend <> Date: Fri, 20 Mar 2020 03:31:47 +0200 Subject: [PATCH 2/2] Adding `okwarning` --- doc/source/user_guide/scale.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/user_guide/scale.rst b/doc/source/user_guide/scale.rst index 43bb4966ec5bf..61fa24bb77cfc 100644 --- a/doc/source/user_guide/scale.rst +++ b/doc/source/user_guide/scale.rst @@ -246,6 +246,7 @@ We'll import ``dask.dataframe`` and notice that the API feels similar to pandas. We can use Dask's ``read_parquet`` function, but provide a globstring of files to read in. .. ipython:: python + :okwarning: import dask.dataframe as dd