lib/Tools/doc
author wenzelm
Wed, 09 Dec 2015 16:36:26 +0100
changeset 61814 1ca1142e1711
parent 52444 2cfe6656d6d6
child 62438 42e13a4f52f5
permissions -rwxr-xr-x
clarified type Token.src: plain token list, with usual implicit value assignment; clarified type Token.name_value, notably for head of Token.src; clarified Attrib/Method check_src vs. parser;

#!/usr/bin/env bash
#
# Author: Markus Wenzel, TU Muenchen
#
# DESCRIPTION: view Isabelle documentation


PRG="$(basename "$0")"

function usage()
{
  echo
  echo "Usage: isabelle $PRG [DOC ...]"
  echo
  echo "  View Isabelle documentation."
  echo
  exit 1
}

function fail()
{
  echo "$1" >&2
  exit 2
}


## args

[ "$#" -eq 1 -a "$1" = "-?" ] && usage


## main

isabelle_admin_build jars || exit $?

"$ISABELLE_TOOL" java isabelle.Doc "$@"