1
0

other.erb 1.3 KB

1234567891011121314151617181920212223
  1. <!DOCTYPE html>
  2. <html lang="en" class="_booting">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  6. <% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> <%= @doc['release'] %> API documentation with instant search, offline support, keyboard shortcuts, mobile version, and more."><% else %><meta name="robots" content="noindex"><% end %>
  7. <meta name="format-detection" content="telephone=no">
  8. <meta name="theme-color" content="#eee">
  9. <meta property="og:image" content="/images/icon-320.png">
  10. <title>DevDocs<%= " &mdash; #{@doc['full_name']} documentation" if doc_index_page? %></title>
  11. <link rel="canonical" href="<%= canonical_origin %><%= request.path %>">
  12. <link rel="manifest" href="/manifest.json">
  13. <link rel="icon" type="image/x-icon" href="/favicon.ico">
  14. <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
  15. <%= stylesheet_tag 'application' %>
  16. </head>
  17. <body data-doc="<%= CGI::escape_html @doc.to_json %>">
  18. <noscript class="_fail">DevDocs requires JavaScript to run.</noscript>
  19. <%= erb :app -%>
  20. <%= javascript_tag 'application' %><% unless App.production? %>
  21. <%= javascript_tag 'debug' %><% end %>
  22. </body>
  23. </html>