X-Git-Url: http://nitlanguage.org diff --git a/contrib/neo_doxygen/gen-one.sh b/contrib/neo_doxygen/gen-one.sh index 86f5925..2621c8d 100755 --- a/contrib/neo_doxygen/gen-one.sh +++ b/contrib/neo_doxygen/gen-one.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# ./gen-one.sh directory +# ./gen-one.sh # # Document the project in the specified directory. # @@ -25,12 +25,14 @@ NEO_DOXYGEN="${PWD}/bin/neo_doxygen" NX="${PWD}/../../bin/nx" -dir=$1 +dir=$2 + +. sh-lib/errors.sh echo "$0: Documenting \"${dir##*/}\"..." pushd "$dir" -"$NEO_DOXYGEN" "${dir##*/}" "$dir/doxygen/xml" http://localhost:7474 > neo_doxygen.out \ -&& echo "$0: [done] neo_doxygen" \ -&& "$NX" neo doc "${dir##*/}" \ -&& echo "$0: [done] nx" +try "$NEO_DOXYGEN" --src-lang "$1" --dest http://localhost:7474 -- "${dir##*/}" "$dir/doxygen/xml" +try echo "$0: [done] neo_doxygen" +try "$NX" neo doc "${dir##*/}" +try echo "$0: [done] nx" popd