This repository was archived by the owner on Oct 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed
Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 2121 git config --global user.email "me@patrickwu.space"
2222 git config --global user.name "Jinming Wu, Patrick"
2323 git clone --depth 1 https://patrick330602:$GH_TOKEN@github.com/wslutilities/website.git website
24- mkdir -p ./website/wslpy/
25- if [ ! -d "./website/wslpy/$(python3 setup.py --version)" ] ; then mkdir ./website/wslpy/$(python3 setup.py --version); rm -f ./website/wslpy/current; ln -s ./$(python3 setup.py --version) ./website/wslpy/current; fi
26- cp -rf ./html/wslpy/* ./website/wslpy/$(python3 setup.py --version)
24+ bash -x scripts/website-update.bash
2725 git --git-dir=./website/.git --work-tree=./website add -A
2826 git --git-dir=./website/.git --work-tree=./website commit -m "wslpy Wiki update at $(date)" || exit 0
2927 git --git-dir=./website/.git --work-tree=./website push
Original file line number Diff line number Diff line change 1+ mkdir -p ./website/wslpy/
2+ wslpy_ver=" $( python3 setup.py --version) "
3+ if [ ! -d " ./website/wslpy/${wslpy_ver} " ] ; then
4+ mkdir ./website/wslpy/${wslpy_ver}
5+ rm -f ./website/wslpy/current
6+ ln -s ./${wslpy_ver} ./website/wslpy/current
7+ rm -f website/wslpy/dir.txt
8+ echo " <option value=\"\" selected disabled hidden>-</option>" >> website/wslpy/dir.txt
9+ for f in $( ls -d website/wslpy/* /) ; do
10+ f=" $( echo ${f} | sed -e ' s\website/\\' ) "
11+ s_f=" $( echo ${f} | sed -e ' s\wslpy/\\' -e ' s|/||' ) "
12+ echo -e " <option value=\" ${f} \" >${s_f} </option>\r" >> website/wslpy/dir.txt
13+ done
14+ fi
15+ cp -rf ./html/wslpy/* ./website/wslpy/${wslpy_ver}
Original file line number Diff line number Diff line change 11"""
2- [](https://pypi.org/project/wslpy/)
2+ ## Documentation for Ver. 0.0.14
33
44> `wslpy` is far from complete. the API will change frequently.
55
You can’t perform that action at this time.
0 commit comments