build.sh 392 B

123456789101112131415161718
  1. #!/bin/zsh
  2. rm -Rf $PHASEREDITOR_HOME/PhaserEditor2D-v3-docs-html/docs
  3. # build docs
  4. cd $PHASEREDITOR_HOME/PhaserEditor2D-v3-docs
  5. ./build.sh
  6. cp -R _build/html $PHASEREDITOR_HOME/PhaserEditor2D-v3-docs-html/
  7. # clean
  8. cd $PHASEREDITOR_HOME/PhaserEditor2D-v3-docs-html/
  9. mv html docs
  10. rm -R docs/_sources
  11. rm -R docs/.doctrees
  12. cp _config.yml.template docs/_config.yml
  13. cp CNAME.template docs/CNAME