diff --git a/doc/build/taskfile b/doc/build/taskfile index a9e3e1c..312d37b 100755 --- a/doc/build/taskfile +++ b/doc/build/taskfile @@ -82,7 +82,7 @@ function build_api() { # manually mangle the index.html file to add generation date, lib version, etc... TAG=$(grep 'public \+static \+$xmlrpcVersion *=' ../src/PhpXmlRpc.php | sed 's/public \+static \+$xmlrpcVersion *= *//' | tr -d ' ' | tr -d \" | tr -d ';' | tr -d "'") sed -r -i -e "s|

Documentation

|

Documentation for the PHPXMLRPC library, ver. ${TAG}

Built on $(date +%Y/%m/%d)

|g" ./api/index.html - find api -name '*.html' xargs sed -r -i -e 's|||g' + find api -name '*.html' | xargs sed -r -i -e 's|||g' find api -name '*.html' | xargs sed -r -i -e "s|>PHPXMLRPC|>PHPXMLRPC ${TAG}|g" #find api -name '*.html' | fgrep -v 'api/index.html' | xargs sed -r -i -e "s|...|...|g"