Unified · Split
| @@ -28,7 +28,7 @@ class app.views.Document extends app.View · 27 unmodified lines | |||
| 28 | return | 28 | return |
| 29 | 29 | ||
| 30 | setTitle: (title) -> | 30 | setTitle: (title) -> |
| 31 | @el.title = if title then "DevDocs/#{title}" else 'DevDocs' | 31 | @el.title = if title then "DevDocs / #{title}" else 'DevDocs API Documentation' |
| 32 | 32 | ||
| 33 | onHelp: -> | 33 | onHelp: -> |
| 34 | app.router.show '/help#shortcuts' | 34 | app.router.show '/help#shortcuts' |
| @@ -72,10 +72,12 @@ · 71 unmodified lines | |||
| 72 | margin: 0; | 72 | margin: 0; |
| 73 | line-height: inherit; | 73 | line-height: inherit; |
| 74 | font-size: inherit; | 74 | font-size: inherit; |
| 75 | cursor: default; | ||
| 75 | 76 | ||
| 76 | > ._nav-link { | 77 | > ._nav-link { |
| 77 | float: none; | 78 | float: none; |
| 78 | padding: 0 1rem; | 79 | margin-left: .75rem; |
| 80 | padding: 0 .25rem; | ||
| 79 | } | 81 | } |
| 80 | } | 82 | } |
| 81 | 83 | ||
| @@ -8,7 +8,7 @@ · 7 unmodified lines | |||
| 8 | <div class="_search-tag"></div> | 8 | <div class="_search-tag"></div> |
| 9 | </form> | 9 | </form> |
| 10 | <h1 class="_logo"> | 10 | <h1 class="_logo"> |
| 11 | <a href="/" class="_nav-link" title="Offline API Documentation Browser">DevDocs</a> | 11 | <a href="/" class="_nav-link" title="Offline API Documentation Browser">DevDocs</a><%= "/ #{@doc['name']}" if @doc %> |
| 12 | </h1> | 12 | </h1> |
| 13 | <nav class="_nav"> | 13 | <nav class="_nav"> |
| 14 | <a href="/offline" class="_nav-link">Offline</a> | 14 | <a href="/offline" class="_nav-link">Offline</a> |
| @@ -13,7 +13,7 @@ · 12 unmodified lines | |||
| 13 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> | 13 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
| 14 | <meta name="format-detection" content="telephone=no"> | 14 | <meta name="format-detection" content="telephone=no"> |
| 15 | <meta name="robots" content="noodp"> | 15 | <meta name="robots" content="noodp"> |
| 16 | <title>DevDocs</title> | 16 | <title>DevDocs API Documentation</title> |
| 17 | <link rel="canonical" href="http://devdocs.io"> | 17 | <link rel="canonical" href="http://devdocs.io"> |
| 18 | <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search"> | 18 | <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search"> |
| 19 | <link rel="alternate" href="http://devdocs.io/feed" title="DevDocs" type="application/atom+xml"> | 19 | <link rel="alternate" href="http://devdocs.io/feed" title="DevDocs" type="application/atom+xml"> |
| @@ -6,7 +6,7 @@ · 5 unmodified lines | |||
| 6 | <% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> API documentation with instant search, offline mode, keyboard shortcuts, mobile version, and more."><% else %><meta name="robots" content="noindex"><% end %> | 6 | <% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> API documentation with instant search, offline mode, keyboard shortcuts, mobile version, and more."><% else %><meta name="robots" content="noindex"><% end %> |
| 7 | <meta name="format-detection" content="telephone=no"> | 7 | <meta name="format-detection" content="telephone=no"> |
| 8 | <meta property="og:image" content="http://cdn.devdocs.io/images/icon-128.png"> | 8 | <meta property="og:image" content="http://cdn.devdocs.io/images/icon-128.png"> |
| 9 | <title>DevDocs<%= "/#{@doc['name']}" if doc_index_page? %></title> | 9 | <title>DevDocs<%= " / #{@doc['name']}" if doc_index_page? %></title> |
| 10 | <link rel="canonical" href="http://devdocs.io<%= request.path %>"> | 10 | <link rel="canonical" href="http://devdocs.io<%= request.path %>"> |
| 11 | <link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico"> | 11 | <link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico"> |
| 12 | <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs"> | 12 | <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs"> |