Skip to content

Commit 07b6d46

Browse files
committed
update sphinx and fix sphinx warnings
link to the intersphinx inventory https://alnoki.readthedocs.io/en/0.1.0/procedures/sphinx.html#using-intersphinx
1 parent 3c259b5 commit 07b6d46

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

.readthedocs.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
11
version: 2
2+
3+
sphinx:
4+
fail_on_warning: true
5+
6+
python:
7+
version: 3.8
8+
install:
9+
- method: pip
10+
path: .
11+
extra_requirements:
12+
- docs

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"python": ("https://docs.python.org/3", None),
9999
"python2": ("https://docs.python.org/2", None),
100100
"six": ("https://six.readthedocs.io/", None),
101+
"fissix": ("https://fissix.readthedocs.io/en/latest/", None),
101102
}
102103

103104

@@ -134,7 +135,7 @@
134135
# Add any paths that contain custom static files (such as style sheets) here,
135136
# relative to this directory. They are copied after the builtin static files,
136137
# so a file named "default.css" will overwrite the builtin "default.css".
137-
html_static_path = ["_static"]
138+
html_static_path = []
138139

139140
# Add any extra paths that contain custom files (such as robots.txt or
140141
# .htaccess) here, relative to this directory. These files are copied

docs/fixers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ version of ``six`` is installed.
230230
231231
232232
``fissix`` fixers
233-
+++++++++++++++
233+
+++++++++++++++++
234234

235235
Some `fixers from fissix <https://docs.python.org/3/library/2to3.html#fixers>`_
236236
in Python's standard library are run by default unmodified as their

docs/sphinxext/extra_types.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ console_scripts =
3030
modernize = libmodernize.main:main
3131
python-modernize = libmodernize.main:main
3232

33+
[options.extras_require]
34+
docs =
35+
sphinx~=3.2
36+
3337
[bdist_wheel]
3438
universal = 1
3539

0 commit comments

Comments
 (0)