File tree 5 files changed +16
-13
lines changed 5 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 55
55
uses : actions/cache@v1
56
56
with :
57
57
path : ~/.cache/pip
58
- key : ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }}-${{ hashFiles(' setup.cfg') }}-${{ hashFiles('tox.ini ') }}
58
+ key : ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}
59
59
restore-keys : |
60
60
${{ runner.os }}-pip-
61
61
${{ runner.os }}-
Original file line number Diff line number Diff line change 1
1
python :
2
2
version : 3
3
- requirements_file : docs/requirements.txt
4
- pip_install : false
3
+ extra_requirements :
4
+ - docs
5
+ pip_install : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -55,8 +55,10 @@ exclude = *.tests
55
55
[options.extras_require]
56
56
ssl =
57
57
wincertstore ==0.2; sys_platform=='win32'
58
+
58
59
certs =
59
60
certifi ==2016.9.26
61
+
60
62
tests =
61
63
mock
62
64
pytest-flake8
@@ -70,3 +72,8 @@ tests =
70
72
paver; python_version>="3.6"
71
73
futures; python_version=="2.7"
72
74
pip>=19.1 # For proper file:// URLs support.
75
+
76
+ docs =
77
+ sphinx
78
+ jaraco.packaging>=6.1
79
+ rst.linker>=1.9
Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ skip_install=True
44
44
commands =codecov -X gcov --file {toxworkdir}/coverage.xml
45
45
46
46
[testenv:docs]
47
- deps = -r{toxinidir}/docs/requirements.txt
48
- skip_install =True
47
+ extras =
48
+ docs
49
+ testing
50
+ changedir = docs
49
51
commands =
50
- python -m bootstrap
51
- sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/build/html
52
- sphinx-build -W -b man -d {envtmpdir}/doctrees docs docs/build/man
52
+ python -m sphinx . {toxinidir}/build/html
53
53
54
54
[coverage:run]
55
55
source =
You can’t perform that action at this time.
0 commit comments