Mercurial > hg > monetdb-php
view doc/generate_doc.sh @ 0:b32ff9c84370
Initial version, copied from changeset bb36451050ad of MonetDB.
author | Sjoerd Mullender <sjoerd@acm.org> |
---|---|
date | Wed, 14 Sep 2016 15:12:34 +0200 (2016-09-14) |
parents | |
children | 9b2d3cdbb1e7 |
line wrap: on
line source
#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright 1997 - July 2008 CWI, August 2008 - 2016 MonetDB B.V. # # # Generates (html) documentation from source code comments. # # Requires: phpdoc (http://www.phpdoc.org/) # # Usage: generate_doc.sh <source dir> <doc dir> # # By default <doc dir> is located within the source tree 'doc/' directory # source_code=$1 current_dir=$(pwd) doc_dir=$current_dir/$2 title="MonetDB5 PHP API" phpdoc -ti $title -o "HTML:frames:phpedit" -f $source_code -t $doc_dir