summaryrefslogtreecommitdiffstats
path: root/_build
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-06-04 13:05:55 +0200
committerLoïc Hoguin <[email protected]>2018-06-04 13:05:55 +0200
commit24247e9145b7b3a5fb8bc0665b2c55d1ace6cd85 (patch)
treee995822fd006e932c5328e002a74d1c0a22029ea /_build
parent2b588340af501825f3ab03f2e76dba0353c98fae (diff)
downloadninenines.eu-24247e9145b7b3a5fb8bc0665b2c55d1ace6cd85.tar.gz
ninenines.eu-24247e9145b7b3a5fb8bc0665b2c55d1ace6cd85.tar.bz2
ninenines.eu-24247e9145b7b3a5fb8bc0665b2c55d1ace6cd85.zip
Gun uses the new manual format
Diffstat (limited to '_build')
-rw-r--r--_build/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/_build/Makefile b/_build/Makefile
index cf016284..47814d7b 100644
--- a/_build/Makefile
+++ b/_build/Makefile
@@ -68,7 +68,7 @@ docs-$1-$2: tmp/$1
printf "%s\n" "+++" "title = \"`sed 's/\(.\)/\U\1/' <<< $1` Function Reference\"" \
"project = \"$1\"" "version = \"$3\"" "doctype = \"manual\"" "+++" "" \
> content/docs/en/$1/$3/manual.asciidoc; \
- if [ "$1" = "cowboy" ]; then \
+ if [ "$1" = "cowboy" -o "$1" = "gun" ]; then \
sed '1,/^$$$$/d' tmp/$1/doc/src/manual/$1_app.asciidoc | sed 's/xref:/link:..\//' \
| sed 's/link:man:\([a-z0-9_]*\)(7)/link:\1_app/' \
| sed 's/\(link:man:[a-z0-9_]*\):/\1./' \
@@ -89,7 +89,7 @@ docs-$1-$2: tmp/$1
echo "\"" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \
echo "+++" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \
echo >> content/docs/en/$1/$3/manual/`basename $$$$f`; \
- if [ "$1" = "cowboy" ]; then \
+ if [ "$1" = "cowboy" -o "$1" = "gun" ]; then \
sed '1,/^$$$$/d' $$$$f | sed 's/xref:/link:..\//' \
| sed 's/link:man:$1(7)/link:../' \
| sed 's/\(link:man:[a-z0-9_]*\):/\1./' \