Unified · Split
| @@ -28,7 +28,7 @@ class app.views.Document extends app.View · 27 unmodified lines | ||
| 28 | 28 | return |
| 29 | 29 | |
| 30 | 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 | 33 | onHelp: -> |
| 34 | 34 | app.router.show '/help#shortcuts' |
| @@ -72,10 +72,12 @@ · 71 unmodified lines | ||
| 72 | 72 | margin: 0; |
| 73 | 73 | line-height: inherit; |
| 74 | 74 | font-size: inherit; |
| 75 | + cursor: default; | |
| 75 | 76 | |
| 76 | 77 | > ._nav-link { |
| 77 | 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 | 8 | <div class="_search-tag"></div> |
| 9 | 9 | </form> |
| 10 | 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 | 12 | </h1> |
| 13 | 13 | <nav class="_nav"> |
| 14 | 14 | <a href="/offline" class="_nav-link">Offline</a> |
| @@ -13,7 +13,7 @@ · 12 unmodified lines | ||
| 13 | 13 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
| 14 | 14 | <meta name="format-detection" content="telephone=no"> |
| 15 | 15 | <meta name="robots" content="noodp"> |
| 16 | − <title>DevDocs</title> | |
| 16 | + <title>DevDocs API Documentation</title> | |
| 17 | 17 | <link rel="canonical" href="http://devdocs.io"> |
| 18 | 18 | <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search"> |
| 19 | 19 | <link rel="alternate" href="http://devdocs.io/feed" title="DevDocs" type="application/atom+xml"> |
| @@ -6,7 +6,7 @@ · 5 unmodified lines | ||
| 6 | 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 | 7 | <meta name="format-detection" content="telephone=no"> |
| 8 | 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 | 10 | <link rel="canonical" href="http://devdocs.io<%= request.path %>"> |
| 11 | 11 | <link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico"> |
| 12 | 12 | <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs"> |