You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by zh...@apache.org on 2017/04/27 18:48:05 UTC

[30/40] geode git commit: GEODE-2821 - Geode User Guide: Add running heads with logo

GEODE-2821 - Geode User Guide: Add running heads with logo


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/13824f48
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/13824f48
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/13824f48

Branch: refs/heads/feature/GEM-1299
Commit: 13824f486f4b3a78859cd3c1de96f367a4ed52d2
Parents: 9887cfd
Author: Dave Barnes <db...@pivotal.io>
Authored: Tue Apr 25 13:05:00 2017 -0700
Committer: Dave Barnes <db...@pivotal.io>
Committed: Wed Apr 26 13:50:54 2017 -0700

----------------------------------------------------------------------
 geode-book/config.yml                           |   3 +++
 .../source/images/Apache_Geode_logo_symbol.png  | Bin 0 -> 13871 bytes
 .../images/Apache_Geode_logo_symbol_white.png   | Bin 0 -> 21485 bytes
 .../source/layouts/_local-header.erb            |  27 +++++++++++++++++++
 4 files changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/13824f48/geode-book/config.yml
----------------------------------------------------------------------
diff --git a/geode-book/config.yml b/geode-book/config.yml
index 013e2d7..ae1489b 100644
--- a/geode-book/config.yml
+++ b/geode-book/config.yml
@@ -35,8 +35,11 @@ template_variables:
   book_title: Apache Geode Documentation
   support_link: <a href="http://geode.apache.org/community" target="_blank">Community</a>
   support_call_to_action: <a href="http://geode.apache.org/community" target="_blank">Need Help?</a>
+  changelog_href: https://cwiki.apache.org/confluence/display/GEODE/Release+Notes
   product_link: <div class="header-item"><a href="http://geode.apache.org/">Back to Geode Page</a></div>
   domain_name: apache.org
   book_title_short: Geode Docs
+  local_header_title: Apache Geode
+  local_header_img: /images/Apache_Geode_logo_symbol.png
 
 broken_link_exclusions: iefix|using_custom_classes|arrowhead|cppdocs|DotNetDocs

http://git-wip-us.apache.org/repos/asf/geode/blob/13824f48/geode-book/master_middleman/source/images/Apache_Geode_logo_symbol.png
----------------------------------------------------------------------
diff --git a/geode-book/master_middleman/source/images/Apache_Geode_logo_symbol.png b/geode-book/master_middleman/source/images/Apache_Geode_logo_symbol.png
new file mode 100644
index 0000000..88f3996
Binary files /dev/null and b/geode-book/master_middleman/source/images/Apache_Geode_logo_symbol.png differ

http://git-wip-us.apache.org/repos/asf/geode/blob/13824f48/geode-book/master_middleman/source/images/Apache_Geode_logo_symbol_white.png
----------------------------------------------------------------------
diff --git a/geode-book/master_middleman/source/images/Apache_Geode_logo_symbol_white.png b/geode-book/master_middleman/source/images/Apache_Geode_logo_symbol_white.png
new file mode 100644
index 0000000..01d286c
Binary files /dev/null and b/geode-book/master_middleman/source/images/Apache_Geode_logo_symbol_white.png differ

http://git-wip-us.apache.org/repos/asf/geode/blob/13824f48/geode-book/master_middleman/source/layouts/_local-header.erb
----------------------------------------------------------------------
diff --git a/geode-book/master_middleman/source/layouts/_local-header.erb b/geode-book/master_middleman/source/layouts/_local-header.erb
new file mode 100644
index 0000000..3c98674
--- /dev/null
+++ b/geode-book/master_middleman/source/layouts/_local-header.erb
@@ -0,0 +1,27 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<span style="font-weight:200;font-size:31px;" style="float:left;">
+  <% if vars.local_header_img %>
+    <img src="<%=vars.local_header_img%>" style="height:26px;">
+  <% end %>
+  <%= vars.local_header_title %>
+</span>
+<% if vars.changelog_href %>
+  <span class="local-header version-info" style="float:right;">
+    <a href="<%= vars.changelog_href %>">CHANGELOG</a>
+  </span>
+<% end %>