diff --git a/docs/conf.py b/docs/conf.py index 1bb9e96..4970d90 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -60,7 +60,7 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] # sphinx-gallery configuration sphinx_gallery_conf = { @@ -80,6 +80,6 @@ # configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { 'python': ('https://docs.python.org/{.major}'.format(sys.version_info), None), - 'matplotlib': ('https://matplotlib.org/', None), - 'pandas': ('https://pandas.pydata.org/', None), + 'matplotlib': ('https://matplotlib.org/stable/', None), + 'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None), } diff --git a/sample-gallery-2/plot_0_gal2_example.py b/sample-gallery-2/plot_0_gal2_example.py index fae1a63..c1dc61a 100644 --- a/sample-gallery-2/plot_0_gal2_example.py +++ b/sample-gallery-2/plot_0_gal2_example.py @@ -20,4 +20,8 @@ 'col2': [4,5,6]}) df -s = pd.Series([1,2,3]) +#%% +# pandas series don't have a html representation, so the text representation +# is captured: + +pd.Series([1,2,3])