File tree 3 files changed +17
-21
lines changed
3 files changed +17
-21
lines changed Original file line number Diff line number Diff line change 41
41
echo " setup to perform Git repository setup"
42
42
echo " install-system-deps to install build (and development) system requirements"
43
43
echo " install-python-deps to install Python runtime requirements with ${PIP}"
44
+ echo " install-sphinx-deps to install Sphinx runtime requirements with ${PIP}"
44
45
echo " install-python-tools to install Python development tools with ${PIPX}"
45
46
echo
46
47
@@ -66,6 +67,7 @@ install-ubuntu-deps::
66
67
curl \
67
68
file \
68
69
git \
70
+ graphviz \
69
71
jq \
70
72
patchelf \
71
73
psmisc \
@@ -99,6 +101,7 @@ install-archlinux-deps::
99
101
curl \
100
102
doxygen \
101
103
git \
104
+ graphviz \
102
105
jq \
103
106
patchelf \
104
107
psmisc \
@@ -117,19 +120,20 @@ install-archlinux-deps::
117
120
endif
118
121
119
122
# Python ----------------------------------------------------------------------
120
- ifdef PIP
121
- install-deps:: install-python-deps install-python-tools
122
- endif
123
-
124
123
install-python-deps::
125
124
command -v ${PIP} >/dev/null 2>&1
126
125
${PIP} install ${PIP_INSTALL_ARGS} \
127
126
click \
128
127
conan \
129
128
libtmux \
130
129
toml \
130
+ pipx \
131
131
;
132
132
133
+ install-sphinx-deps:
134
+ command -v ${PIP} >/dev/null 2>&1
135
+ ${PIP} install ${PIP_INSTALL_ARGS} -r docs/requirements.txt
136
+
133
137
install-python-tools::
134
138
command -v ${PIPX} >/dev/null 2>&1
135
139
for pkg in \
Original file line number Diff line number Diff line change 24
24
echo " Available serving targets:"
25
25
echo " serve to serve the documentation on 0.0.0.0:8000"
26
26
echo " livehtml to autobuild and serve the documentation on localhost:8000"
27
- echo
28
- echo " Available setup targets:"
29
- echo " install-sphinx-deps to install dependencies for sphinx"
30
-
31
- .PHONY : install-sphinx-deps serve livehtml
32
-
33
- SPHINXDEPS := \
34
- sphinx_rtd_theme \
35
- sphinxcontrib-runcmd \
36
- sphinxcontrib-plantuml \
37
- sphinxcontrib.asciinema \
38
- jsx-lexer
39
- install-sphinx-deps :
40
- pipx install sphinx
41
- pipx inject sphinx ${SPHINXDEPS}
42
- pipx install sphinx-autobuild
43
- pipx inject sphinx-autobuild ${SPHINXDEPS}
44
27
28
+ .PHONY : serve livehtml
45
29
serve :
46
30
cd ${BUILDDIR} /html && python3 -m http.server
47
31
Original file line number Diff line number Diff line change
1
+ sphinx
2
+ sphinx-autobuild
3
+ sphinx_rtd_theme
4
+ sphinxcontrib-runcmd
5
+ sphinxcontrib-plantuml
6
+ sphinxcontrib.asciinema
7
+ jsx-lexer
8
+ pygments >= 2.7
You can’t perform that action at this time.
0 commit comments