您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122232425262728
  1. .SILENT:
  2. .PHONY: docs docs-server docs-watch docs-sync-server
  3. _invalid:
  4. echo "Specify a target name to execute"
  5. docs:
  6. sphinx-build -b html \
  7. docs \
  8. _build/docs \
  9. -d _build/doctrees \
  10. -Wqanj8
  11. echo "Docs generated to _build/docs"
  12. docs-server: docs
  13. echo "Docs are visible on http://localhost:9794/"
  14. cd _build/docs && \
  15. python -m http.server 9794
  16. docs-watch: docs
  17. +sh tools/docs-watch.sh
  18. docs-sync-server: docs
  19. cd _build/docs && \
  20. browser-sync start --server \
  21. --reload-delay 300 \
  22. --watch **/*.html