Skip to content

Commit 5f47345

Browse files
authored
Merge pull request #637 from bckohan/fixdocs
fix tox docs build
2 parents 6f7a997 + 4ac97ec commit 5f47345

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import sys
1515

1616
import django
17-
import sphinx_rtd_theme
1817

1918
# If extensions (or modules to document with autodoc) are in another directory,
2019
# add these directories to sys.path here. If the directory is relative to the
@@ -104,7 +103,6 @@
104103
# The theme to use for HTML and HTML Help pages. See the documentation for
105104
# a list of builtin themes.
106105
html_theme = "sphinx_rtd_theme"
107-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
108106

109107
# Theme options are theme-specific and customize the look and feel of a theme
110108
# further. For a list of options available for each theme, see the
@@ -269,10 +267,12 @@
269267
# texinfo_show_urls = 'footnote'
270268

271269

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

278278
# autodoc settings

0 commit comments

Comments
 (0)