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

23 行
571 B

  1. #!/bin/sh
  2. # Generates API documentation.
  3. # Requires documentationjs <http://documentation.js.org/>.
  4. # Usage:
  5. #
  6. # Regular: ./generate.sh
  7. # Include private methods: ./generate.sh private
  8. # Release: ./generate.sh release
  9. version=`git rev-parse --short=10 @`
  10. private=""
  11. if [ "$1" = "release" ]; then
  12. version=`cat ../../VERSION`
  13. elif [ "$1" = "private" ]; then
  14. private="-p"
  15. fi
  16. echo "Generating documentation..."
  17. documentation ../../src/js/pannellum.js ../../src/js/libpannellum.js -o generated_docs -f html --name Pannellum --project-version $version -g $private