You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Adjust root_doc to 'contents' to support an old project which does not have
any root_doc setting.
"""
if (app.config.root_doc=='index'and
'index'notinapp.project.docnamesand
'contents'inapp.project.docnames):
logger.warning(__('Since v2.0, Sphinx uses "index" as root_doc by default. '
'Please add "root_doc = \'contents\'" to your conf.py.'))
app.config.root_doc="contents"
returnchanged
As cleanup / maintanance, I'd like to remove this code. Question: Is the log warning sufficient so that we can immediately remove, or do you want a formal deprecation?
The text was updated successfully, but these errors were encountered:
Since 2.0, there has been special code to support a root doc "contents", which has not been specified in the config:
sphinx/sphinx/config.py
Lines 769 to 781 in 116a430
As cleanup / maintanance, I'd like to remove this code. Question: Is the log warning sufficient so that we can immediately remove, or do you want a formal deprecation?
The text was updated successfully, but these errors were encountered: