File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ BASE_DIR="$( cd "$( dirname "$0" )/.." >/dev/null 2>&1 && pwd )"
77STATIC_DIR=" ${BASE_DIR} /static"
88DOCS_DIR=" ${BASE_DIR} /content/en/docs"
99
10- # Serve static images
11- cp ${DOCS_DIR} /images/* ${STATIC_DIR} /images/
12- sed -i -e ' s/\(images\/[a-zA-Z\-]*\.svg\)/\/\1/g' ${DOCS_DIR} /* .md
13-
1410# Serve versioned schemas
1511cd ${DOCS_DIR}
1612ORIGINAL_REVISION=$( git rev-parse HEAD)
@@ -29,4 +25,8 @@ for tag in $(git tag); do
2925 cp ${schema} ${TARGET_SCHEMA_FOLDER} /${TARGET_SCHEMA}
3026 done
3127done
32- git checkout ${ORIGINAL_REVISION}
28+ git checkout ${ORIGINAL_REVISION}
29+
30+ # Serve static images
31+ cp ${DOCS_DIR} /images/* ${STATIC_DIR} /images/
32+ sed -i -e ' s/\(images\/[a-zA-Z\-]*\.svg\)/\/\1/g' ${DOCS_DIR} /* .md
You can’t perform that action at this time.
0 commit comments