mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 04:08:40 +00:00
Cleans up layout
Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
This commit is contained in:
parent
b171d3c48a
commit
d1b98be182
1 changed files with 4 additions and 7 deletions
|
|
@ -18,15 +18,11 @@ under the License.
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<!-- Always force latest IE rendering engine or request Chrome Frame -->
|
||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
||||
|
||||
<!-- Use title if it's in the page YAML frontmatter -->
|
||||
<title><%= current_page.data.title || "API Documentation" %></title>
|
||||
|
||||
<%= stylesheet_link_tag "screen", media: 'screen' %>
|
||||
<%= stylesheet_link_tag "print", media: 'print' %>
|
||||
<%= stylesheet_link_tag :screen, media: :screen %>
|
||||
<%= stylesheet_link_tag :print, media: :print %>
|
||||
<script src="https://code.jquery.com/jquery-1.10.1.min.js"></script>
|
||||
<%= javascript_include_tag "all" %>
|
||||
|
||||
|
|
@ -42,6 +38,7 @@ under the License.
|
|||
<body class="<%= page_classes %>">
|
||||
<div class="tocify-wrapper">
|
||||
<%= image_tag "logo.png" %>
|
||||
<input type="text" id="search" placeholder="search">
|
||||
<div id="toc">
|
||||
</div>
|
||||
<% if current_page.data.toc_footers %>
|
||||
|
|
@ -64,7 +61,7 @@ under the License.
|
|||
<div id="lang-selector">
|
||||
<% language_tabs.each do |lang| %>
|
||||
<% if lang.is_a? Hash %>
|
||||
<a href="#" data-language-name="<%= lang.keys[0] %>"><%= lang.values[0] %></a>
|
||||
<a href="#" data-language-name="<%= lang.keys.first %>"><%= lang.values.first %></a>
|
||||
<% else %>
|
||||
<a href="#" data-language-name="<%= lang %>"><%= lang %></a>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Reference in a new issue