drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tshi...@apache.org
Subject [15/17] drill git commit: docpage layout now inherits from default. Fixed hilighting of current toc menu item, where the parent li was not getting the current_section class.
Date Sat, 02 May 2015 06:28:41 GMT
docpage layout now inherits from default. Fixed hilighting of current
toc menu item, where the parent li was not getting the current_section
class.


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/906611da
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/906611da
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/906611da

Branch: refs/heads/gh-pages
Commit: 906611daa52e2e0c3135694ddc015a36d0de24d6
Parents: 96843b3
Author: Danny <dkirschner@batchblue.com>
Authored: Fri May 1 23:37:10 2015 -0400
Committer: Danny <dkirschner@batchblue.com>
Committed: Fri May 1 23:37:10 2015 -0400

----------------------------------------------------------------------
 _includes/doctoc.html |  2 +-
 _layouts/docpage.html | 19 ++-----------------
 2 files changed, 3 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/906611da/_includes/doctoc.html
----------------------------------------------------------------------
diff --git a/_includes/doctoc.html b/_includes/doctoc.html
index 726f778..070ffb1 100644
--- a/_includes/doctoc.html
+++ b/_includes/doctoc.html
@@ -17,7 +17,7 @@ Notes:
         {% if doc0.children.size == 0 %}
           <li class="toctree-l1{% if page.title == doc0.title %} current{% endif %}"><a
class="reference internal" href="{{ site.baseurl }}{{ doc0.url }}">{{ doc0.title }}</a></li>
         {% else %}
-          <li class="toctree-l1{% if page.title == doc0.title %} current{% endif %}"><a
href="javascript: void(0);">{{ doc0.title }}</a></li>
+          <li class="toctree-l1{% if page.title == doc0.title %} current{% endif %}{%if
titles_array contains doc0.title %} current_section {% endif %}"><a href="javascript:
void(0);">{{ doc0.title }}</a></li>
           <ul {% if titles_array contains doc0.title %}class="current_section"{% else
%}style="display: none"{% endif %}>
           {% for doc1 in doc0.children %}
             {% if doc1.children.size == 0 %}

http://git-wip-us.apache.org/repos/asf/drill/blob/906611da/_layouts/docpage.html
----------------------------------------------------------------------
diff --git a/_layouts/docpage.html b/_layouts/docpage.html
index 72fb5b5..de08169 100644
--- a/_layouts/docpage.html
+++ b/_layouts/docpage.html
@@ -1,19 +1,11 @@
 ---
+layout: default
 title: Documentation
 ---
-<!DOCTYPE html>
-<html>
-
-{% include head.html %}
-
-<body onResize="resized();">
-<div class="page-wrap">
-  {% include menu.html %}
 
   {% include doctoc.html %}
-
-
   {% include breadcrumbs.html %}
+
   <div class="main-content-wrapper">
     <div class="main-content">
 
@@ -51,10 +43,3 @@ title: Documentation
       </div>
     </div>
   </div>
-
-  {% include footer.html %}
-</div>
-{% include scripts.html %}
-</body>
-</html>
-


Mime
View raw message