-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a single string value for html_sidebars
will be deprecated in 2.0
#4178
a single string value for html_sidebars
will be deprecated in 2.0
#4178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you mean deprecated at 1.7 and removed at 2.0 but I am not entirely sure...
CHANGES
Outdated
@@ -15,6 +15,8 @@ Incompatible changes | |||
Deprecated | |||
---------- | |||
|
|||
* a single string value for :confval:`html_sidebars` will be deprecated in 2.0. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean something like:
* using a string value for :confval:`html_sidebars` is deprecated and only list
values will be accepted at 2.0.
doc/config.rst
Outdated
.. deprecated:: 2.0 | ||
|
||
a single string value for ``html_sidebars`` will be deprecated in 2.0 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not clear to me if you mean it is deprecated at 1.7 and removed at 2.0 or simply deprecated at 2.0.
sphinx/builders/html.py
Outdated
warnings.warn('Now html_sidebars allows list of sidebar templates ' | ||
'as a value. The string value will be deprecated in ' | ||
'Sphinx-2.0.', RemovedInSphinx20Warning) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems you mean it is deprecated at 1.7 and will be removed at 2.0 ?
6771acf
to
83c266a
Compare
Thank you for reviewing! I just updated.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thank you for reviewing! |
Feature or Bugfix
Purpose
html_sidebars
accepts a string as a value to keep compatible with 0.x