This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Can' build document in Sphinx v2.2.0
Type: crash Stage: resolved
Components: Documentation Versions: Python 3.9
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Windson Yang, ammar2, docs@python
Priority: normal Keywords:

Created on 2019-09-11 23:58 by Windson Yang, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg352034 - (view) Author: Windson Yang (Windson Yang) * Date: 2019-09-11 23:58
I got two errors when I try to build python document with

    make venv
    make html

The first one is 

> Since v2.0, Sphinx uses "index" as master_doc by default. Please add "master_doc = 'contents'" to your conf.py.

After fixing this one, the second one is 

> /Users/windson/learn/cpython/Doc/library/email.message.rst:4:duplicate object description of email.message, other instance in library/email.compat32-message, use :noindex: for one of them
msg352037 - (view) Author: Ammar Askar (ammar2) * (Python committer) Date: 2019-09-12 00:11
When did you try this? For reference, Doc/conf.py on master currently has `master_doc = 'contents'` and I performed a successful build with Sphinx 2.2.0 a few days ago.
History
Date User Action Args
2022-04-11 14:59:20adminsetgithub: 82306
2019-10-29 02:44:07Windson Yangsetstatus: open -> closed
stage: resolved
2019-09-12 00:11:26ammar2setnosy: + ammar2
messages: + msg352037
2019-09-11 23:58:32Windson Yangcreate