diff options
author | Loïc Hoguin <[email protected]> | 2019-10-04 15:31:56 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-04 15:31:56 +0200 |
commit | 705eace4b98c3e5ec76f7600cad9f87bddeb0c7d (patch) | |
tree | fb4b61dfdaff77d7163003942cd914980680fd63 /_build/Makefile | |
parent | 490056310be890ced37e6fb2899e573bb388db89 (diff) | |
download | ninenines.eu-705eace4b98c3e5ec76f7600cad9f87bddeb0c7d.tar.gz ninenines.eu-705eace4b98c3e5ec76f7600cad9f87bddeb0c7d.tar.bz2 ninenines.eu-705eace4b98c3e5ec76f7600cad9f87bddeb0c7d.zip |
Fix landing page for Cowlib manual, links
Also links for Ranch 2.0.
Diffstat (limited to '_build/Makefile')
-rw-r--r-- | _build/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_build/Makefile b/_build/Makefile index d307924e..81ad0e02 100644 --- a/_build/Makefile +++ b/_build/Makefile @@ -73,7 +73,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" -o "$1" = "gun" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ] || [ "$1" = "ranch" -a "$3" = "2.0" ]; then \ + if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ] || [ "$1" = "ranch" -a "$3" = "2.0" ]; 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/g' \ | sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \ @@ -94,7 +94,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" -o "$1" = "gun" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ]; then \ + if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ] || [ "$1" = "ranch" -a "$3" = "2.0" ]; then \ sed '1,/^$$$$/d' $$$$f | sed 's/xref:/link:..\//g' \ | sed 's/link:man:$1(7)/link:../g' \ | sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \ |