Skip to content

Commit

Permalink
fix: shift images to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
decfox authored and decfox committed Jul 5, 2024
1 parent 77bb1b0 commit c432973
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
7 changes: 3 additions & 4 deletions script/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF>$DOC_PATH
Expand Down

0 comments on commit c432973

Please sign in to comment.