You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 年之前
5 年之前
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