From fe5dba946cbda50aef02eec740c7b14c4685aa61 Mon Sep 17 00:00:00 2001 From: Brian Moss Date: Fri, 20 Nov 2015 14:59:53 +1000 Subject: [PATCH] Add summaries for guides on docs.openstack.org Adds a summary line for each guide on docs.openstack.org in order to help users find the appropriate book for their needs. Adds ".docs-link-sections p" to combined.css to style the summary lines. Changes applied to Juno, Kilo, Liberty, and Mitaka. Change-Id: Ibcbc3d18981a58184646f55b93e77032e4f6c1c0 --- www/index.html | 2 ++ www/juno/index.html | 2 ++ www/kilo/index.html | 2 ++ www/liberty/index.html | 2 ++ www/static/common/css/combined.css | 6 ++++++ www/templates/api_guides.tmpl | 2 ++ www/templates/contributor_guides.tmpl | 18 ++++++++++++++---- www/templates/ops_and_admin_guides.tmpl | 7 +++++++ www/templates/training_guides.tmpl | 1 + www/templates/user_guides.tmpl | 5 +++++ 10 files changed, 43 insertions(+), 4 deletions(-) diff --git a/www/index.html b/www/index.html index df2c1f704c..f1d984a522 100644 --- a/www/index.html +++ b/www/index.html @@ -63,6 +63,7 @@
diff --git a/www/juno/index.html b/www/juno/index.html index b5aa9cb365..81ca6247b2 100644 --- a/www/juno/index.html +++ b/www/juno/index.html @@ -64,6 +64,7 @@
diff --git a/www/kilo/index.html b/www/kilo/index.html index 70c81c2996..9dba063ce1 100644 --- a/www/kilo/index.html +++ b/www/kilo/index.html @@ -63,6 +63,7 @@
diff --git a/www/liberty/index.html b/www/liberty/index.html index 386539326f..ff51dfe475 100644 --- a/www/liberty/index.html +++ b/www/liberty/index.html @@ -63,6 +63,7 @@
diff --git a/www/static/common/css/combined.css b/www/static/common/css/combined.css index 3cfc3bbde7..dd08eaf296 100644 --- a/www/static/common/css/combined.css +++ b/www/static/common/css/combined.css @@ -3816,6 +3816,12 @@ input.docs-main-search:-ms-input-placeholder { .docs-link-sections { margin: 0 0 80px; } +.docs-link-sections p { + color: gray; + font-size:90%; + padding-left:20px +} + .docs-contribute-wrapper { padding-bottom: 80px; text-align: center; } diff --git a/www/templates/api_guides.tmpl b/www/templates/api_guides.tmpl index 895784871c..90a50fee5f 100644 --- a/www/templates/api_guides.tmpl +++ b/www/templates/api_guides.tmpl @@ -1,5 +1,7 @@ diff --git a/www/templates/contributor_guides.tmpl b/www/templates/contributor_guides.tmpl index 2f0e5abaeb..2cb2339de9 100644 --- a/www/templates/contributor_guides.tmpl +++ b/www/templates/contributor_guides.tmpl @@ -1,17 +1,27 @@ diff --git a/www/templates/ops_and_admin_guides.tmpl b/www/templates/ops_and_admin_guides.tmpl index a8af7d845d..7398a93dc6 100644 --- a/www/templates/ops_and_admin_guides.tmpl +++ b/www/templates/ops_and_admin_guides.tmpl @@ -1,10 +1,17 @@ diff --git a/www/templates/training_guides.tmpl b/www/templates/training_guides.tmpl index 8bc0c50cd2..ced5993e86 100644 --- a/www/templates/training_guides.tmpl +++ b/www/templates/training_guides.tmpl @@ -1,4 +1,5 @@ diff --git a/www/templates/user_guides.tmpl b/www/templates/user_guides.tmpl index 81de81af64..ed869c7911 100644 --- a/www/templates/user_guides.tmpl +++ b/www/templates/user_guides.tmpl @@ -1,8 +1,13 @@