Skip to content

Commit da5b4e7

Browse files
committed
docs: fix Dash docset build
1 parent dc21046 commit da5b4e7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

doc/source/icon.png

2.51 KB
Loading

doc/source/icon@2x.png

3.17 KB
Loading

scripts/mkdoc.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,19 @@ if [ "x$DOC2DASH" = "x1" ]; then
104104
PWD=`pwd`
105105
# Output folder of sphinx (before Jekyll if requested)
106106
DOC_API_FOLDER=${ROOT_FOLDER}/doc/html/api
107-
DOC2DASH=`which doc2dash 2>/dev/null || true`
107+
DOC2DASH=.venv/bin/doc2dash
108108
DASH_FOLDER=${ROOT_FOLDER}/doc/dash
109109
if [ "x$DOC2DASH" != x ]; then
110110
echo "Generating Dash docset..."
111111
"$DOC2DASH" \
112-
--online-redirect-url "https://igraph.org/python/api/latest" \
112+
--online-redirect-url "https://python.igraph.org/en/latest/api/" \
113113
--name "python-igraph" \
114114
-d "${DASH_FOLDER}" \
115115
-f \
116116
-j \
117117
-I "index.html" \
118+
--icon ${ROOT_FOLDER}/doc/source/icon.png \
119+
--icon-2x ${ROOT_FOLDER}/doc/source/icon@2x.png \
118120
"${DOC_API_FOLDER}"
119121
DASH_READY=1
120122
else

0 commit comments

Comments
 (0)