Wiki publish the auto-generated settings documentation.

This commit is contained in:
Matthias Mailänder
2017-08-20 14:45:56 +02:00
committed by reaperrr
parent 1d8a50cdab
commit 7549abc516

View File

@@ -30,12 +30,14 @@ git clone git@github.com:OpenRA/OpenRA.wiki.git $HOME/openra-wiki
mono --debug ../OpenRA.Utility.exe all --docs > "${HOME}/openra-wiki/Traits${TAG}.md" mono --debug ../OpenRA.Utility.exe all --docs > "${HOME}/openra-wiki/Traits${TAG}.md"
mono --debug ../OpenRA.Utility.exe all --weapon-docs > "${HOME}/openra-wiki/Weapons${TAG}.md" mono --debug ../OpenRA.Utility.exe all --weapon-docs > "${HOME}/openra-wiki/Weapons${TAG}.md"
mono --debug ../OpenRA.Utility.exe all --lua-docs > "${HOME}/openra-wiki/Lua API${TAG}.md" mono --debug ../OpenRA.Utility.exe all --lua-docs > "${HOME}/openra-wiki/Lua API${TAG}.md"
mono --debug ../OpenRA.Utility.exe all --settings-docs > "${HOME}/openra-wiki/Settings${TAG}.md"
pushd $HOME/openra-wiki pushd $HOME/openra-wiki
git config --local user.email "orabot@users.noreply.github.com" git config --local user.email "orabot@users.noreply.github.com"
git config --local user.name "orabot" git config --local user.name "orabot"
git add "Traits${TAG}.md" git add "Traits${TAG}.md"
git add "Lua API${TAG}.md" git add "Lua API${TAG}.md"
git add "Settings${TAG}.md"
git commit -m "Update trait and scripting documentation for branch $1" && git commit -m "Update trait and scripting documentation for branch $1" &&
git push origin master git push origin master
popd popd