We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7d4ca1 commit 58975cbCopy full SHA for 58975cb
1 file changed
scripts/mkdoc.sh
@@ -50,5 +50,26 @@ echo "Generating HTML documentation..."
50
51
# PDF not supported by PyDoctor
52
53
+DOC2DASH=`which doc2dash 2>/dev/null || true`
54
+if [ "x$DOC2DASH" != x ]; then
55
+ echo "Generating Dash docset..."
56
+ "$DOC2DASH" \
57
+ --online-redirect-url "https://igraph.org/python/doc/api" \
58
+ --name "python-igraph" \
59
+ -d "${DOC_API_FOLDER}" \
60
+ -f \
61
+ "${DOC_API_FOLDER}/html"
62
+ DASH_READY=1
63
+else
64
+ echo "WARNING: doc2dash not installed, skipping Dash docset generation."
65
+ DASH_READY=0
66
+fi
67
+
68
+echo ""
69
+echo "HTML API documentation generated in ${DOC_API_FOLDER}/html"
70
+if [ "x${DASH_READY}" = x1 ]; then
71
+ echo "Dash docset generated in ${DOC_API_FOLDER}/python-igraph.docset"
72
73
74
cd "$PWD"
75
0 commit comments