Sha256: 45a419460f27c80691251a5c2a3af52b9caa5bc41c7e55778d1998e221abda33

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 KB

Contents

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="description" content="<%= name %> GraphQL documentation">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <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('h3');
    });

    </script>
  </head>
  <body>

    <div id="wrap">
      <div id="header">
      </div>
      <div id="sidebar">
        <%= include.('sidebar.html') %>
      </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

4 entries across 4 versions & 1 rubygems

Version Path
graphql-docs-0.4.1 lib/graphql-docs/layouts/default.html
graphql-docs-0.4.0 lib/graphql-docs/layouts/default.html
graphql-docs-0.3.0 lib/graphql-docs/layouts/default.html
graphql-docs-0.2.2 lib/graphql-docs/layouts/default.html