From: John Crispin Date: Fri, 1 Apr 2016 12:13:55 +0000 (+0200) Subject: generate the docs X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4f587e902b0a7b5967313ff6b9220246e4c45f0b;p=web.git generate the docs Signed-off-by: John Crispin --- diff --git a/generate.sh b/generate.sh index ba01122..8766717 100755 --- a/generate.sh +++ b/generate.sh @@ -7,5 +7,6 @@ D="$(pwd)" -mkdir -p "$D/html" +mkdir -p "$D/html/docs" find "$D/pages/" -type f | xargs -L1 a2x -f xhtml -r "$D/" -a "toc!" -a "numbered!" -D "$D/html/" +find "$D/docs/" -type f | xargs -L1 a2x -f xhtml -r "$D/" -a "toc!" -a "numbered!" -D "$D/html/docs/"