index.erb 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!DOCTYPE html>
  2. <html<%= ' manifest="/manifest.appcache"' if App.production? %> prefix="og: http://ogp.me/ns#" lang="en" class="_booting _theme-<%= app_theme %>">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no">
  6. <meta name="description" content="Fast, offline, and free documentation browser for developers. Search 100+ docs in one web app: HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++…">
  7. <meta property="application-name" content="DevDocs">
  8. <meta property="og:title" content="DevDocs">
  9. <meta property="og:description" content="Fast, offline, and free documentation browser for developers. Search 100+ docs in one web app including HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++, and many more.">
  10. <meta property="og:type" content="website">
  11. <meta property="og:url" content="<%= canonical_origin %>">
  12. <meta property="og:image" content="<%= App.cdn_origin %>/images/icon-320.png">
  13. <meta name="apple-mobile-web-app-title" content="DevDocs">
  14. <meta name="apple-mobile-web-app-capable" content="yes">
  15. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  16. <meta name="format-detection" content="telephone=no">
  17. <meta name="robots" content="noodp">
  18. <title>DevDocs API Documentation</title>
  19. <link rel="canonical" href="<%= canonical_origin %>">
  20. <link rel="manifest" href="/manifest.json">
  21. <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search">
  22. <link rel="alternate" href="<%= canonical_origin %>/feed" title="DevDocs" type="application/atom+xml">
  23. <link rel="icon" type="image/x-icon" href="<%= App.cdn_origin %>/favicon.ico">
  24. <link rel="fluid-icon" href="<%= App.cdn_origin %>/images/fluid-icon.png" title="DevDocs">
  25. <link rel="apple-touch-icon" sizes="72x72" href="<%= App.cdn_origin %>/images/apple-icon-72.png">
  26. <link rel="apple-touch-icon" sizes="76x76" href="<%= App.cdn_origin %>/images/apple-icon-76.png">
  27. <link rel="apple-touch-icon" sizes="114x114" href="<%= App.cdn_origin %>/images/apple-icon-114.png">
  28. <link rel="apple-touch-icon" sizes="120x120" href="<%= App.cdn_origin %>/images/apple-icon-120.png">
  29. <link rel="apple-touch-icon" sizes="144x144" href="<%= App.cdn_origin %>/images/apple-icon-144.png">
  30. <link rel="apple-touch-icon" sizes="152x152" href="<%= App.cdn_origin %>/images/apple-icon-152.png">
  31. <link rel="apple-touch-icon" sizes="160x160" href="<%= App.cdn_origin %>/images/apple-icon-160.png">
  32. <link rel="mask-icon" href="<%= App.cdn_origin %>/images/webkit-mask-icon.svg" color="#398df0">
  33. <%= stylesheet_tag 'application' %>
  34. </head>
  35. <body<%= %( class="#{app_layout}") if app_layout %>>
  36. <noscript class="_fail">DevDocs requires JavaScript to run.</noscript>
  37. <%= erb :app -%>
  38. <%= javascript_tag 'application', asset_host: false %>
  39. <%= javascript_tag 'docs' %><% unless App.production? %>
  40. <%= javascript_tag 'debug' %><% end %>
  41. </body>
  42. </html>