Sha256: 1eb079d17cdb2d8254810d4a2bee002fb41a409a4eaa84dd2dcf3281253e1437

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="description" content="<%= name %> Reference documentation" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
    />
    <title><%= title || name %></title>
    <link rel="stylesheet" href="<%= base_url %>/assets/style.css" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.2/anchor.min.js"></script>
    <script>
      // Add anchors on DOMContentLoaded
      document.addEventListener("DOMContentLoaded", function(event) {
        anchors.options = {
          placement: "left",
          visible: "hover",
          icon: "ΒΆ"
        };
        anchors.add("h2, h3, h4, h5, h6, .anchored");
      });
    </script>
  </head>
  <body>
    <div id="wrap">
      <div id="header"></div>
      <div id="sidebar">
        <%= include.('sidebar.html.erb', name: name) %>
      </div>
      <div id="content">
        <%= contents %>
      </div>

      <!-- mobile only -->
      <div id="mobile-header">
        <a class="menu-button"></a>
        <a class="logo" href="<%= base_url.present? ? base_url : '/' %>"> </a>
      </div>
      <div id="mobile-shade"></div>
    </div>
  </body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
json-schema-docs-0.3.1 lib/json-schema-docs/layouts/default.html.erb
json-schema-docs-0.3.0 lib/json-schema-docs/layouts/default.html.erb
json-schema-docs-0.2.4 lib/json-schema-docs/layouts/default.html.erb
json-schema-docs-0.2.3 lib/json-schema-docs/layouts/default.html.erb
json-schema-docs-0.2.2 lib/json-schema-docs/layouts/default.html.erb
json-schema-docs-0.2.1 lib/json-schema-docs/layouts/default.html.erb
json-schema-docs-0.2.0 lib/json-schema-docs/layouts/default.html.erb