| Index: utils/apidoc/apidoc
|
| diff --git a/utils/apidoc/apidoc b/utils/apidoc/apidoc
|
| deleted file mode 100755
|
| index a613f11a6b2d71001f84504db3e96f39ea2e4cbc..0000000000000000000000000000000000000000
|
| --- a/utils/apidoc/apidoc
|
| +++ /dev/null
|
| @@ -1,39 +0,0 @@
|
| -#!/bin/bash
|
| -
|
| -# This generates the reference documentation for the core libraries that come
|
| -# with dartdoc. It is built on top of dartdoc, which is a general-purpose
|
| -# library for generating docs from any Dart code. This library extends that to
|
| -# include additional information and styling specific to our corelib.
|
| -#
|
| -# Usage:
|
| -#
|
| -# $ ./apidoc
|
| -#
|
| -# Pretty simple. :)
|
| -
|
| -# TODO(rnystrom): This script is more or less a copy of the one in dartdoc but
|
| -# tweaked to output stuff to here instead of inside dartdoc/docs. That's pretty
|
| -# gross. Ideally, we'd write the whole thing in Dart an ditch the shell
|
| -# but right now we can't even copy binary files using Dart.
|
| -
|
| -# Run from apidoc directory to get correct relative paths.
|
| -pushd `dirname "$0"` >>/dev/null
|
| -
|
| -compileToJs() {
|
| - if [ "../../lib/dartdoc/$1.dart" -nt "../../lib/dartdoc/static/$1.js" ]
|
| - then
|
| - ../../frog/minfrog --libdir=../../frog/lib \
|
| - --out=../../lib/dartdoc/static/$1.js --compile-only \
|
| - ../../lib/dartdoc/$1.dart
|
| - echo "Compiled $1.dart."
|
| - fi
|
| -}
|
| -
|
| -# Generate the client-side .js files if needed.
|
| -compileToJs "client-static"
|
| -compileToJs "client-live-nav"
|
| -
|
| -# Generate the user's docs.
|
| -dart apidoc.dart $@
|
| -
|
| -popd >>/dev/null
|
|
|