Skip to content

Commit

Permalink
Start working on fixing image paths
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jul 5, 2024
1 parent bb1017a commit 77bb1b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@
/probe-cli.cov
/tinyjafar
/tmp-*
/dist
6 changes: 6 additions & 0 deletions script/build_docs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set +ex
DOCS_ROOT=dist/docs/
REPO_NAME="ooni/probe-cli"
COMMIT_HASH=$(git rev-parse --short HEAD)
Expand Down Expand Up @@ -78,6 +79,11 @@ 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
DOC_PATH=$DOCS_ROOT/04-design-minioonirunv2.md
cat <<EOF>$DOC_PATH
Expand Down

0 comments on commit 77bb1b0

Please sign in to comment.