Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122
  1. #!/bin/sh
  2. # Generates API documentation.
  3. # Requires documentationjs <https://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 build ../../src/js/pannellum.js ../../src/js/libpannellum.js -o generated_docs -f html --project-name Pannellum --project-version $version -g $private