From ad78d3583034c45bc155b5a3c17fce2d9d26ed02 Mon Sep 17 00:00:00 2001 From: Arve Seljebu Date: Sat, 22 Jun 2019 15:00:00 +0200 Subject: [PATCH 1/3] add note about documentation being out of sync --- layouts/partials/header.html | 4 ++++ static/css/actix.css | 14 ++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index f7e6e87..e2e57bf 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -54,4 +54,8 @@ + diff --git a/static/css/actix.css b/static/css/actix.css index 2b0a061..041ada6 100644 --- a/static/css/actix.css +++ b/static/css/actix.css @@ -599,7 +599,7 @@ h5:hover a { } @media (min-width: 480px) and (max-width: 576px) { - header .nav { + header .nav, #heads-up { width: 100%; } .hd-lg-down { @@ -607,7 +607,7 @@ h5:hover a { } } @media (min-width: 576px) and (max-width: 768px) { - header .nav { + header .nav, #heads-up { width: 88%; } .hd-lg-down { @@ -615,7 +615,7 @@ h5:hover a { } } @media (min-width: 768px) and (max-width: 992px) { - header .nav { + header .nav, #heads-up { width: 90%; } .hd-lg-down { @@ -624,7 +624,7 @@ h5:hover a { } @media (min-width: 992px) { - header .nav { + header .nav, #heads-up { width: 75%; } .hd-lg-down { @@ -667,3 +667,9 @@ h5:hover a { width: 77%; } } + +#heads-up { + margin-left: auto; + margin-right: auto; + margin-top: 1rem; +} From abaf353d65a3b984becc63c1753448336faa31b5 Mon Sep 17 00:00:00 2001 From: Arve Seljebu Date: Tue, 25 Jun 2019 07:10:42 +0200 Subject: [PATCH 2/3] reword, add links to docs PR and examples repo --- layouts/partials/header.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e2e57bf..18760bf 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -55,7 +55,11 @@ From 3d68670359cd860adc2156a22e86e5827ff2f939 Mon Sep 17 00:00:00 2001 From: Arve Seljebu Date: Fri, 28 Jun 2019 18:05:44 +0200 Subject: [PATCH 3/3] link to latest version in docs.rs --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 18760bf..f3139ac 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -58,7 +58,7 @@ Looking for actix-web 1.0 docs? This book is currently out of date. In the meantime checkout the - API docs + API docs and the examples repo.