mirror of
https://gitee.com/BDWare/bdcontract-doc
synced 2026-02-14 20:29:27 +00:00
prune structure
This commit is contained in:
15
toRst.sh
15
toRst.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user