Skip to content

Commit d4ed30f

Browse files
committed
fix tox docs build
1 parent 6f7a997 commit d4ed30f

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# for readthedocs
22
# Remaining requirements are picked up from setup.py
3-
Django == 4.2.20
4-
django-extra-views == 0.14.0
5-
sphinxcontrib-django == 0.5.1
6-
sphinx_rtd_theme==2.0.0
3+
Django>=4.2.20
4+
django-extra-views>=0.14.0
5+
sphinxcontrib-django>=2.5
6+
sphinx_rtd_theme>=2.0.0

docs/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
# The theme to use for HTML and HTML Help pages. See the documentation for
105105
# a list of builtin themes.
106106
html_theme = "sphinx_rtd_theme"
107-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
108107

109108
# Theme options are theme-specific and customize the look and feel of a theme
110109
# further. For a list of options available for each theme, see the
@@ -269,10 +268,12 @@
269268
# texinfo_show_urls = 'footnote'
270269

271270

272-
# Example configuration for intersphinx: refer to the Python standard library.
273271
intersphinx_mapping = {
274-
#'http://docs.python.org/': None,
275-
"https://docs.djangoproject.com/en/stable": "https://docs.djangoproject.com/en/stable/_objects"
272+
"django": (
273+
"https://docs.djangoproject.com/en/stable",
274+
"https://docs.djangoproject.com/en/stable/_objects/",
275+
),
276+
"python": ('https://docs.python.org/3', None)
276277
}
277278

278279
# autodoc settings

0 commit comments

Comments
 (0)