Skip to content

Commit

Permalink
update sphinx and fix sphinx warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Sep 3, 2020
1 parent 3c259b5 commit 07b6d46
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
version: 2

sphinx:
fail_on_warning: true

python:
version: 3.8
install:
- method: pip
path: .
extra_requirements:
- docs
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
"python": ("https://docs.python.org/3", None),
"python2": ("https://docs.python.org/2", None),
"six": ("https://six.readthedocs.io/", None),
"fissix": ("https://fissix.readthedocs.io/en/latest/", None),
}


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

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
2 changes: 1 addition & 1 deletion docs/fixers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ version of ``six`` is installed.
``fissix`` fixers
+++++++++++++++
+++++++++++++++++

Some `fixers from fissix <https://docs.python.org/3/library/2to3.html#fixers>`_
in Python's standard library are run by default unmodified as their
Expand Down
5 changes: 0 additions & 5 deletions docs/sphinxext/extra_types.py

This file was deleted.

4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ console_scripts =
modernize = libmodernize.main:main
python-modernize = libmodernize.main:main

[options.extras_require]
docs =
sphinx~=3.2

[bdist_wheel]
universal = 1

Expand Down

0 comments on commit 07b6d46

Please sign in to comment.