File tree 4 files changed +0
-16
lines changed
4 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ Available flags
17
17
Makes Read the Docs to install all the requirements at once on ``conda create `` step.
18
18
This helps users to pin dependencies on conda and to improve build time.
19
19
20
- ``DONT_OVERWRITE_SPHINX_CONTEXT ``: Do not overwrite context vars in conf.py with Read the Docs context.
21
-
22
20
``DONT_CREATE_INDEX ``: Do not create index.md or README.rst if the project does not have one.
23
21
24
22
When Read the Docs detects that your project doesn't have an ``index.md `` or ``README.rst ``,
Original file line number Diff line number Diff line change @@ -258,9 +258,6 @@ def get_config_params(self):
258
258
'display_gitlab' : display_gitlab ,
259
259
260
260
# Features
261
- 'dont_overwrite_sphinx_context' : self .project .has_feature (
262
- Feature .DONT_OVERWRITE_SPHINX_CONTEXT ,
263
- ),
264
261
"docsearch_disabled" : self .project .has_feature (
265
262
Feature .DISABLE_SERVER_SIDE_SEARCH
266
263
),
Original file line number Diff line number Diff line change @@ -160,13 +160,9 @@ if version_info >= (1, 8):
160
160
{% block extra_context %}{% endblock %}
161
161
162
162
if 'html_context' in globals():
163
- {% if dont_overwrite_sphinx_context %}
164
163
for key in context:
165
164
if key not in html_context:
166
165
html_context[key] = context[key]
167
- {% else %}
168
- html_context.update(context)
169
- {% endif %}
170
166
else:
171
167
html_context = context
172
168
Original file line number Diff line number Diff line change @@ -1862,7 +1862,6 @@ def add_features(sender, **kwargs):
1862
1862
# Feature constants - this is not a exhaustive list of features, features
1863
1863
# may be added by other packages
1864
1864
ALLOW_DEPRECATED_WEBHOOKS = "allow_deprecated_webhooks"
1865
- DONT_OVERWRITE_SPHINX_CONTEXT = "dont_overwrite_sphinx_context"
1866
1865
SKIP_SPHINX_HTML_THEME_PATH = "skip_sphinx_html_theme_path"
1867
1866
MKDOCS_THEME_RTD = "mkdocs_theme_rtd"
1868
1867
API_LARGE_DATA = "api_large_data"
@@ -1915,12 +1914,6 @@ def add_features(sender, **kwargs):
1915
1914
1916
1915
FEATURES = (
1917
1916
(ALLOW_DEPRECATED_WEBHOOKS , _ ("Webhook: Allow deprecated webhook views" )),
1918
- (
1919
- DONT_OVERWRITE_SPHINX_CONTEXT ,
1920
- _ (
1921
- "Sphinx: Do not overwrite context vars in conf.py with Read the Docs context" ,
1922
- ),
1923
- ),
1924
1917
(
1925
1918
SKIP_SPHINX_HTML_THEME_PATH ,
1926
1919
_ (
You can’t perform that action at this time.
0 commit comments