Skip to content

Commit 2a33e53

Browse files
Adding RTD prefix to support docs building
1 parent daea301 commit 2a33e53

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/config-file/v1.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ The ``build`` block configures specific aspects of the documentation build.
107107
build.image
108108
```````````
109109

110-
* Default: :djangosetting:`DOCKER_DEFAULT_VERSION`
110+
* Default: :djangosetting:`RTD_DOCKER_DEFAULT_VERSION`
111111
* Options: ``stable``, ``latest``
112112

113113
The build image to use for specific builds.

docs/doc_extensions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def django_setting_role(typ, rawtext, text, lineno, inliner, options=None,
2929
def python_supported_versions_role(typ, rawtext, text, lineno, inliner,
3030
options=None, content=None):
3131
"""Up to date supported python versions for each build image."""
32-
image = '{}:{}'.format(settings.DOCKER_DEFAULT_IMAGE, text)
33-
image_settings = settings.DOCKER_IMAGE_SETTINGS[image]
32+
image = '{}:{}'.format(settings.RTD_DOCKER_DEFAULT_IMAGE, text)
33+
image_settings = settings.RTD_DOCKER_IMAGE_SETTINGS[image]
3434
python_versions = image_settings['python']['supported_versions']
3535
node_list = []
3636
separator = ', '

0 commit comments

Comments
 (0)