accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwa...@apache.org
Subject [1/2] accumulo-website git commit: Updated documentation layout
Date Fri, 02 Jun 2017 19:20:56 GMT
Repository: accumulo-website
Updated Branches:
  refs/heads/asf-site c1dde8007 -> d5fc9d3d4
  refs/heads/master 26f0eb301 -> 2386e76b2


Updated documentation layout

* Added 'edit this page' link to all pages
* Added link to archive to all pages


Project: http://git-wip-us.apache.org/repos/asf/accumulo-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo-website/commit/2386e76b
Tree: http://git-wip-us.apache.org/repos/asf/accumulo-website/tree/2386e76b
Diff: http://git-wip-us.apache.org/repos/asf/accumulo-website/diff/2386e76b

Branch: refs/heads/master
Commit: 2386e76b2ea2c2971d39866383c39201de0d84cc
Parents: 26f0eb3
Author: Mike Walch <mwalch@apache.org>
Authored: Fri Jun 2 15:16:48 2017 -0400
Committer: Mike Walch <mwalch@apache.org>
Committed: Fri Jun 2 15:16:48 2017 -0400

----------------------------------------------------------------------
 _layouts/docs-unreleased.html | 12 ++++++++++--
 css/accumulo.scss             |  2 +-
 2 files changed, 11 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo-website/blob/2386e76b/_layouts/docs-unreleased.html
----------------------------------------------------------------------
diff --git a/_layouts/docs-unreleased.html b/_layouts/docs-unreleased.html
index 5410885..6d6c519 100644
--- a/_layouts/docs-unreleased.html
+++ b/_layouts/docs-unreleased.html
@@ -39,10 +39,18 @@ skiph1fortitle: true
     {% endif %}
     {% unless page.nodoctitle %}
 
-    <div class="alert alert-danger" role="alert">This documentation is for a future
release of Accumulo! <a href="{{ site.baseurl }}/{{ site.latest_minor_release }}/accumulo_user_manual.html">View
documentation for the latest release</a>.</div>
+    <div class="alert alert-danger" style="margin-bottom: 0px;" role="alert">This documentation
is for a future release of Accumulo! <a href="{{ site.baseurl }}/{{ site.latest_minor_release
}}/accumulo_user_manual.html">View documentation for the latest release</a>.</div>
 
-    <h1>{{ page.title }}</h1>
+    <div class="row">
+      <div class="col-md-10"><h1>{{ page.title }}</h1></div>
+      <div class="col-md-2"><a class="pull-right" style="margin-top: 25px;" href="https://github.com/apache/accumulo-website/edit/master/{{
page.path }}" role="button"><i class="glyphicon glyphicon-pencil"></i> <small>Edit
this page</small></a></div>
+    </div>  
     {% endunless %}
     {{ content }}
+
+    <div class="row" style="margin-top: 20px;">
+      <div class="col-md-10"><strong>Find documentation for all releases in the
<a href="{{ site.baseurl }}/docs-archive">archive</strong></div>
+      <div class="col-md-2"><a class="pull-right" href="https://github.com/apache/accumulo-website/edit/master/{{
page.path }}" role="button"><i class="glyphicon glyphicon-pencil"></i> <small>Edit
this page</small></a></div>
+    </div>  
   </div>
 </div>

http://git-wip-us.apache.org/repos/asf/accumulo-website/blob/2386e76b/css/accumulo.scss
----------------------------------------------------------------------
diff --git a/css/accumulo.scss b/css/accumulo.scss
index 1d89d13..a5ba7f7 100644
--- a/css/accumulo.scss
+++ b/css/accumulo.scss
@@ -91,7 +91,7 @@ code {
 }
 
 #content {
-    padding: 0 8px 40px;
+    padding: 0 8px 20px;
 }
 
 #content h1 {


Mime
View raw message