start.sh 276 B

12345678910
  1. #!/bin/bash
  2. if [ -d "./sphinx_env" ];then
  3. source sphinx_env/bin/activate
  4. make html
  5. else
  6. virtualenv -p /usr/bin/python3 sphinx_env
  7. source sphinx_env/bin/activate
  8. pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
  9. make html
  10. fi