File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,12 @@ jobs:
1717 - name : Set Base Url
1818 run : |
1919 BRANCH=$(echo ${GITHUB_REF} | sed -e 's/refs\/heads\///')
20- BEFORE='base: "" '
20+ BEFORE='--- base--- '
2121 if [[ $BRANCH == ver/* ]]; then
2222 BRANCH_NAME=$(echo $BRANCH | sed 's|origin/||')
2323 AFTER=$(echo $BRANCH_NAME | sed 's|build/ver/||')
24- AFTER="base: '${AFTER}'"
2524 else
26- AFTER='base: "" '
25+ AFTER=''
2726 fi
2827 echo $AFTER
2928 sed -i "s/${BEFORE}/${AFTER}/g" ./docs/.vitepress/config.mts
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const vitepressOptions: UserConfig = {
2727 description : "Docs of CommandAPI" ,
2828 cleanUrls : true ,
2929 metaChunk : true ,
30- base : "" , // do not change this line
30+ base : "---base---" ,
3131 ignoreDeadLinks : true , // TODO remove when all things are done
3232 rewrites : {
3333 'en/:rest*' : ':rest*'
You can’t perform that action at this time.
0 commit comments