File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,20 @@ windows-wheel-steps:
84
84
paths :
85
85
- .tox
86
86
key : cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
87
+
88
+ docs : &docs
89
+ docker :
90
+ - image : common
91
+ steps :
92
+ - run :
93
+ name : install latexpdf dependencies
94
+ command : |
95
+ sudo apt-get update
96
+ sudo apt-get install latexmk tex-gyre texlive-fonts-extra
87
97
88
98
jobs :
89
99
docs :
90
- << : *common
100
+ << : *docs
91
101
docker :
92
102
- image : cimg/python:3.8
93
103
environment :
Original file line number Diff line number Diff line change @@ -38,12 +38,18 @@ build-docs:
38
38
$(MAKE ) -C docs clean
39
39
$(MAKE ) -C docs html
40
40
$(MAKE ) -C docs doctest
41
+
42
+ build-docs-ci :
43
+ $(MAKE ) -C docs latexpdf
44
+ $(MAKE ) -C docs epub
41
45
42
- validate-docs :
46
+ validate-newsfragments :
43
47
python ./newsfragments/validate_files.py
44
48
towncrier build --draft --version preview
45
49
46
- check-docs : build-docs validate-docs
50
+ check-docs : build-docs validate-newsfragments
51
+
52
+ check-docs-ci : build-docs build-docs-ci validate-newsfragments
47
53
48
54
docs : check-docs
49
55
open docs/_build/html/index.html
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ per-file-ignores=__init__.py:F401
16
16
usedevelop =True
17
17
commands =
18
18
core: pytest {posargs:tests/core}
19
- docs: make check-docs
19
+ docs: make check-docs-ci
20
20
basepython =
21
21
docs: python
22
22
windows-wheel: python
You can’t perform that action at this time.
0 commit comments