25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/sh
-
- # Generates API documentation.
- # Requires documentationjs <http://documentation.js.org/>.
-
- # Usage:
- #
- # Regular: ./generate.sh
- # Include private methods: ./generate.sh private
- # Release: ./generate.sh release
-
- version=`git rev-parse --short=10 @`
- private=""
-
- if [ "$1" = "release" ]; then
- version=`cat ../../VERSION`
- elif [ "$1" = "private" ]; then
- private="-p"
- fi
-
- echo "Generating documentation..."
- documentation ../../src/js/pannellum.js ../../src/js/libpannellum.js -o generated_docs -f html --name Pannellum --project-version $version -g $private
|