Skip to content

DOC: Error in building documentation #53354

Closed
@DominikBerger01

Description

@DominikBerger01

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

Documentation build.

Documentation problem

I followed the contribution guide : https://pandas.pydata.org/docs/dev/development/contributing_environment.html
to setup my environment with the provided Dockerfile. (Note I'm working on main branch)
Then I tried building the docs following this guide https://pandas.pydata.org/docs/dev/development/contributing_documentation.html

But I received the following error. Just want to know if lately a bug has been introduced or if it is on my side.

loading intersphinx inventory from https://dateutil.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://matplotlib.org/stable/objects.inv...
loading intersphinx inventory from https://numpy.org/doc/stable/objects.inv...
loading intersphinx inventory from https://pandas-gbq.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://pylib.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
loading intersphinx inventory from https://docs.scipy.org/doc/scipy/objects.inv...
loading intersphinx inventory from https://arrow.apache.org/docs/objects.inv...
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 171 source files that are out of date
updating environment: [new config] 2468 added, 0 changed, 0 removed
reading sources... [ 71%] reference/api/pandas.tseries.offsets.BusinessMonthEnd.is_anchored .. reference/api/pandas.tseries.offsets.CustomBusinessMonthBegin.is_anchorreading sources... [ 75%] reference/api/pandas.tseries.offsets.CustomBusinessMonthBegin.is_month_end .. reference/api/pandas.tseries.offsets.Day.is_year_end         
Sphinx parallel build error:
RuntimeError: Non Expected warning in `/home/pandas/doc/source/user_guide/basics.rst` line 2150

Pandas Version

>>> import pandas
>>> pandas.__version__
'2.1.0.dev0+823.g7a7d684b38'

I checked the line referenced in the error message but didn't find anything suspicious. But I must note I'm new to Sphinx.

Screen Shot 2023-05-23 at 17 28 09

Suggested fix for documentation

Not sure about issue yet.

Metadata

Metadata

Labels

DocsNeeds InfoClarification about behavior needed to assess issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions