Skip to content

Commit 2f7453d

Browse files
committed
Update docs configuration
1 parent 7fc924f commit 2f7453d

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ pylint: env
77
.env/bin/pylint --rcfile .pylintrc backslash tests
88

99
doc: env
10-
.env/bin/python setup.py build_sphinx -a -E
10+
.env/bin/sphinx-build -a -W -E docs build/sphinx/html
1111

1212
env: .env/.up-to-date
1313

1414

1515
.env/.up-to-date: setup.py Makefile setup.cfg
1616
python3 -m venv .env
17-
.env/bin/pip install -e .[testing]
17+
.env/bin/pip install -e .[testing,doc]
1818
touch $@
1919

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#
7171
# This is also used if you do content translation via gettext catalogs.
7272
# Usually you set "language" from the command line for these cases.
73-
language = None
73+
#language = None
7474

7575
# There are two options for replacing |today|: either, you set today to some
7676
# non-false value, then it is used:

docs/requirements.txt

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

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ testing =
2121
URLObject
2222
weber-utils
2323

24+
doc =
25+
alabaster
26+
releases
27+
Sphinx
28+
2429
sentry =
2530
raven
2631

0 commit comments

Comments
 (0)