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.
|
- #!/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
|