diff --git a/doc/source/conf.py b/doc/source/conf.py index d808d60b1ac95..20d26645988ed 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -56,7 +56,7 @@ "matplotlib.sphinxext.plot_directive", "numpydoc", "sphinx_copybutton", - "sphinx_panels", + "sphinx_design", "sphinx_toggleprompt", "sphinx.ext.autodoc", "sphinx.ext.autosummary", @@ -143,10 +143,6 @@ # nbsphinx do not use requirejs (breaks bootstrap) nbsphinx_requirejs_path = "" -# sphinx-panels shouldn't add bootstrap css since the pydata-sphinx-theme -# already loads it -panels_add_bootstrap_css = False - # https://sphinx-toggleprompt.readthedocs.io/en/stable/#offset toggleprompt_offset_right = 35 diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst index d344c0750b73d..62c0731b8a05a 100644 --- a/doc/source/getting_started/index.rst +++ b/doc/source/getting_started/index.rst @@ -9,7 +9,7 @@ Getting started Installation ------------ -.. panels:: +.. grid:: :card: + install-card :column: col-lg-6 col-md-6 col-sm-12 col-xs-12 p-3 @@ -536,7 +536,7 @@ Coming from... Are you familiar with other software for manipulating tabular data? Learn the pandas-equivalent operations compared to software you already know: -.. panels:: +.. grid:: :img-top-cls: dark-light :card: + comparison-card text-center shadow :column: col-lg-6 col-md-6 col-sm-6 col-xs-12 d-flex diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template index 59280536536db..886696596173f 100644 --- a/doc/source/index.rst.template +++ b/doc/source/index.rst.template @@ -27,7 +27,7 @@ easy-to-use data structures and data analysis tools for the `Python