prune structure

This commit is contained in:
CaiHQ
2022-01-04 13:51:41 +08:00
parent 827c401149
commit e4f9be64fa
17 changed files with 650 additions and 49 deletions

View File

@@ -23,12 +23,15 @@ cp ${src}/conf.py ./conf.py
cp ${src}/index.rst ./index.rst
cp -r ${src}/_static ./_static
pandoc ${src}/ContractAPI.md -f markdown -t rst -o ContractAPI.rst
pandoc ${src}/IDEUsage.md -f markdown -t rst -o IDEUsage.rst
pandoc ${src}/InstallTips.md -f markdown -t rst -o InstallTips.rst
pandoc ${src}/Introduction.md -f markdown -t rst -o Introduction.rst
pandoc ${src}/YJSAPI.md -f markdown -t rst -o YJSAPI.rst
pandoc ${src}/YJSInDepth.md -f markdown -t rst -o YJSInDepth.rst
for f in `ls ${src} | grep .md ` ; do
echo "convert $f --> ${f/.md/.rst}"
pandoc ${src}/$f -f markdown -t rst -o ${f/.md/.rst}
done
#pandoc ${src}/IDEUsage.md -f markdown -t rst -o IDEUsage.rst
#pandoc ${src}/InstallTips.md -f markdown -t rst -o InstallTips.rst
#pandoc ${src}/Introduction.md -f markdown -t rst -o Introduction.rst
#pandoc ${src}/YJSAPI.md -f markdown -t rst -o YJSAPI.rst
#pandoc ${src}/YJSInDepth.md -f markdown -t rst -o YJSInDepth.rst
cd ..
make clean
#make html