diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 5d2bfe87d..d9610c85b 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -26,6 +26,7 @@ jobs: run: | mkdir -p ooni-docs/src/content/docs/probe-engine/ cp -R dist/docs/* ooni-docs/src/content/docs/probe-engine/ + cp -R dist/docs/img/* ooni-docs/src/assets/ - name: Check for conflicting slugs run: | diff --git a/script/build_docs.sh b/script/build_docs.sh index 50d0a2220..c1b33e73d 100755 --- a/script/build_docs.sh +++ b/script/build_docs.sh @@ -80,10 +80,9 @@ slug: probe-engine/design/step-by-step EOF strip_title $BASE_PATH/dd-003-step-by-step.md >> $DOC_PATH mkdir -p $DOCS_ROOT/img -sed -i 's+img/git-probe-cli-netx-deps.png+../../../assets/images-probe-engine/git-probe-cli-netx-deps.png+' $DOC_PATH -cp $BASE_PATH/img/git-probe-cli-netx-deps.png $DOCS_ROOT/img -sed -i 's+img/git-probe-cli-change-histogram.png+../../../assets/images-probe-engine/git-probe-cli-change-histogram.png+' $DOC_PATH -cp $BASE_PATH/img/git-probe-cli-change-histogram.png $DOCS_ROOT/img +cp -R $BASE_PATH/img/* $DOCS_ROOT/img/ +sed -i '' 's+img/git-probe-cli-netx-deps.png+../../../assets/images-probe-engine/git-probe-cli-netx-deps.png+' $DOC_PATH +sed -i '' 's+img/git-probe-cli-change-histogram.png+../../../assets/images-probe-engine/git-probe-cli-change-histogram.png+' $DOC_PATH DOC_PATH=$DOCS_ROOT/04-design-minioonirunv2.md cat <$DOC_PATH