Sha256: 3dc167b57496c180703a4cfd148e1ec02ed55f9c5c82fa8e3e277bfa6f1eec62

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%= api_name %></title>
    <% css_files.each do |file| %>
      <link rel="stylesheet" href="<%= file %>" />
    <% end %>

    <script src="<%= url_location %>/js/jquery-1-7-2.js"></script>
    <script src="<%= url_location %>/js/codemirror.js"></script>
    <script src="<%= url_location %>/js/mode/css/css.js"></script>
    <script src="<%= url_location %>/js/mode/htmlmixed/htmlmixed.js"></script>
    <script src="<%= url_location %>/js/mode/javascript/javascript.js"></script>
    <script src="<%= url_location %>/js/mode/xml/xml.js"></script>

    <style>
      td.required .name:after {
        float: right;
        content: "required";
        font-weight: normal;
        color: #F08080;
      }

      p {
        padding: 15px;
        font-size: 130%;
      }

      nav {
        margin-bottom: 15px;
      }
    </style>
  </head>
  <body>

  <div class="container">
    <nav>
      <%= link_to "&laquo; Back to Index", "/" %>
    </nav>

<%= Kramdown::Document.new(guide, input: "GFM", syntax_highlighter_opts: { line_numbers: false }).to_html %>
  </div>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
raddocs-2.2.0 lib/views/guide.erb
raddocs-2.0.0 lib/views/guide.erb