From 705eace4b98c3e5ec76f7600cad9f87bddeb0c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 4 Oct 2019 15:31:56 +0200 Subject: Fix landing page for Cowlib manual, links Also links for Ranch 2.0. --- _build/Makefile | 4 ++-- docs/en/cowlib/2.7/manual/cow_cookie/index.html | 2 +- docs/en/cowlib/2.7/manual/index.html | 27 +++++++++++++++++----- docs/en/ranch/2.0/manual/ranch/index.html | 2 +- docs/en/ranch/2.0/manual/ranch_protocol/index.html | 2 +- .../ranch/2.0/manual/ranch_proxy_header/index.html | 2 +- docs/en/ranch/2.0/manual/ranch_ssl/index.html | 2 +- docs/en/ranch/2.0/manual/ranch_tcp/index.html | 2 +- .../en/ranch/2.0/manual/ranch_transport/index.html | 2 +- docs/index.xml | 5 +++- index.xml | 5 +++- 11 files changed, 38 insertions(+), 17 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' \ diff --git a/docs/en/cowlib/2.7/manual/cow_cookie/index.html b/docs/en/cowlib/2.7/manual/cow_cookie/index.html index 066c5a3c..35239fbd 100644 --- a/docs/en/cowlib/2.7/manual/cow_cookie/index.html +++ b/docs/en/cowlib/2.7/manual/cow_cookie/index.html @@ -109,7 +109,7 @@ http://www.gnu.org/software/src-highlite -->

See also

-

cowlib(7), RFC 6265

+

cowlib(7), RFC 6265

diff --git a/docs/en/cowlib/2.7/manual/index.html b/docs/en/cowlib/2.7/manual/index.html index f6bc4637..3497484c 100644 --- a/docs/en/cowlib/2.7/manual/index.html +++ b/docs/en/cowlib/2.7/manual/index.html @@ -62,15 +62,30 @@

Cowlib Function Reference

-

See also

-

ranch(7)

+

ranch(7)

diff --git a/docs/en/ranch/2.0/manual/ranch_protocol/index.html b/docs/en/ranch/2.0/manual/ranch_protocol/index.html index cd94470c..2cf6cae0 100644 --- a/docs/en/ranch/2.0/manual/ranch_protocol/index.html +++ b/docs/en/ranch/2.0/manual/ranch_protocol/index.html @@ -90,7 +90,7 @@ http://www.gnu.org/software/src-highlite -->

See also

-

ranch:handshake(3), ranch(7)

+

ranch:handshake(3), ranch(7)

diff --git a/docs/en/ranch/2.0/manual/ranch_proxy_header/index.html b/docs/en/ranch/2.0/manual/ranch_proxy_header/index.html index ab2b0c2a..3d03e776 100644 --- a/docs/en/ranch/2.0/manual/ranch_proxy_header/index.html +++ b/docs/en/ranch/2.0/manual/ranch_proxy_header/index.html @@ -178,7 +178,7 @@ http://www.gnu.org/software/src-highlite -->

See also

-

ranch(7)

+

ranch(7)

diff --git a/docs/en/ranch/2.0/manual/ranch_ssl/index.html b/docs/en/ranch/2.0/manual/ranch_ssl/index.html index d3b4cc3a..cc3766a4 100644 --- a/docs/en/ranch/2.0/manual/ranch_ssl/index.html +++ b/docs/en/ranch/2.0/manual/ranch_ssl/index.html @@ -263,7 +263,7 @@ http://www.gnu.org/software/src-highlite -->

See also

-

ranch(7), ranch_transport(3), ranch_tcp(3), ssl(3)

+

ranch(7), ranch_transport(3), ranch_tcp(3), ssl(3)

diff --git a/docs/en/ranch/2.0/manual/ranch_tcp/index.html b/docs/en/ranch/2.0/manual/ranch_tcp/index.html index b5121de7..c5916c7e 100644 --- a/docs/en/ranch/2.0/manual/ranch_tcp/index.html +++ b/docs/en/ranch/2.0/manual/ranch_tcp/index.html @@ -190,7 +190,7 @@ http://www.gnu.org/software/src-highlite -->

List of listen options.

See also

-

ranch(7), ranch_transport(3), ranch_ssl(3), gen_tcp(3), inet(3)

+

ranch(7), ranch_transport(3), ranch_ssl(3), gen_tcp(3), inet(3)

diff --git a/docs/en/ranch/2.0/manual/ranch_transport/index.html b/docs/en/ranch/2.0/manual/ranch_transport/index.html index 633985fe..80f9f40c 100644 --- a/docs/en/ranch/2.0/manual/ranch_transport/index.html +++ b/docs/en/ranch/2.0/manual/ranch_transport/index.html @@ -296,7 +296,7 @@ http://www.gnu.org/software/src-highlite -->

See also

-

ranch(7), ranch_tcp(3), ranch_ssl(3)

+

ranch(7), ranch_tcp(3), ranch_ssl(3)

diff --git a/docs/index.xml b/docs/index.xml index 1a9d42d3..9fa98fe0 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -7089,7 +7089,10 @@ init(Req, State) -&gt; {cowboy_websocket, Req, State} | {cowboy_websocket, R Mon, 01 Jan 0001 00:00:00 +0000 https://ninenines.eu/docs/en/cowlib/2.7/manual/ - cow_cookie(3) cow_cookie:parse_cookie(3) cow_cookie:setcookie(3) cowlib(7) + Name cowlib - Support library for manipulating Web protocols +Description Cowlib provides libraries for parsing and building messages for various Web protocols, including HTTP/1.1, HTTP/2 and Websocket. +It is optimized for completeness rather than speed. No value is ignored, they are all returned. +Modules cow_cookie(3) - Cookies Dependencies crypto - Crypto functions All these applications must be started before the cowlib application. To start Cowlib and all dependencies at once: diff --git a/index.xml b/index.xml index 3df54fc8..d2c92971 100644 --- a/index.xml +++ b/index.xml @@ -7639,7 +7639,10 @@ init(Req, State) -&gt; {cowboy_websocket, Req, State} | {cowboy_websocket, R Mon, 01 Jan 0001 00:00:00 +0000 https://ninenines.eu/docs/en/cowlib/2.7/manual/ - cow_cookie(3) cow_cookie:parse_cookie(3) cow_cookie:setcookie(3) cowlib(7) + Name cowlib - Support library for manipulating Web protocols +Description Cowlib provides libraries for parsing and building messages for various Web protocols, including HTTP/1.1, HTTP/2 and Websocket. +It is optimized for completeness rather than speed. No value is ignored, they are all returned. +Modules cow_cookie(3) - Cookies Dependencies crypto - Crypto functions All these applications must be started before the cowlib application. To start Cowlib and all dependencies at once: -- cgit v1.2.3