1
0
Thibaut Courouble 9 жил өмнө
parent
commit
4149604960

+ 2 - 2
assets/javascripts/templates/notice_tmpl.coffee

@@ -1,9 +1,9 @@
 notice = (text) -> """<p class="_notice-text">#{text}</p>"""
 
 app.templates.singleDocNotice = (doc) ->
-  notice """ You're currently browsing the #{doc.fullName} documentation. To browse all docs, go to
+  notice """ You're browsing the #{doc.fullName} documentation. To browse all docs, go to
              <a href="http://#{app.config.production_host}" target="_top">#{app.config.production_host}</a> (or press <code>esc</code>). """
 
 app.templates.disabledDocNotice = ->
-  notice """ <strong>This documentation is currently disabled.</strong>
+  notice """ <strong>This documentation is disabled.</strong>
              To enable it, click <a href="#" class="_notice-link" data-pick-docs>Select documentation</a>. """

+ 1 - 1
assets/javascripts/templates/notif_tmpl.coffee

@@ -50,7 +50,7 @@ app.templates.notifUpdates = (docs, disabledDocs) ->
 
 app.templates.notifShare = ->
   textNotif """ Hi there! """,
-            """ Like DevDocs? Help us reach more developers by sharing the link with your friends, on
+            """ Like DevDocs? Help us reach more developers by sharing the link with your friends on
                 <a href="http://out.devdocs.io/s/tw" target="_blank">Twitter</a>, <a href="http://out.devdocs.io/s/fb" target="_blank">Facebook</a>,
                 <a href="http://out.devdocs.io/s/re" target="_blank">Reddit</a>, etc.<br>Thanks :) """
 

+ 0 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -72,7 +72,6 @@ app.templates.aboutPage = -> """
     <li><a href="https://github.com/gruehle/dev-docs-viewer">Brackets extension</a>
     <li><a href="https://github.com/xuchunyang/DevDocs.el">Emacs Package</a>
   </ul>
-  <p>You can also use <a href="http://fluidapp.com">Fluid</a> to turn DevDocs into a real OS X app.
 
   <h2 class="_lined-heading" id="privacy">Privacy Policy</h2>
   <ul>

+ 2 - 2
lib/app.rb

@@ -260,9 +260,9 @@ class App < Sinatra::Application
     '/s/jetbrains/c'      => 'https://www.jetbrains.com/clion/?utm_source=devdocs&utm_medium=sponsorship&utm_campaign=devdocs',
     '/s/jetbrains/web'    => 'https://www.jetbrains.com/webstorm/?utm_source=devdocs&utm_medium=sponsorship&utm_campaign=devdocs',
     '/s/code-school'      => 'http://www.codeschool.com/?utm_campaign=devdocs&utm_content=homepage&utm_source=devdocs&utm_medium=sponsorship',
-    '/s/tw'               => 'https://twitter.com/intent/tweet?url=http%3A%2F%2Fdevdocs.io&via=DevDocs&text=All-in-one%2C%20offline%20API%20documentation%20browser%3A',
+    '/s/tw'               => 'https://twitter.com/intent/tweet?url=http%3A%2F%2Fdevdocs.io&via=DevDocs&text=All-in-one%20API%20documentation%20browser%20with%20offline%20mode%20and%20instant%20search%3A',
     '/s/fb'               => 'https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fdevdocs.io',
-    '/s/re'               => 'http://www.reddit.com/submit?url=http%3A%2F%2Fdevdocs.io&title=All-in-one%2C%20offline%20API%20documentation%20browser&resubmit=true'
+    '/s/re'               => 'https://www.reddit.com/submit?url=http%3A%2F%2Fdevdocs.io&title=All-in-one%20API%20documentation%20browser%20with%20offline%20mode%20and%20instant%20search&resubmit=true'
   }.each do |path, url|
     class_eval <<-CODE, __FILE__, __LINE__ + 1
       get '#{path}' do

+ 2 - 2
views/index.erb

@@ -3,9 +3,9 @@
 <head>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no">
-  <meta name="description" content="DevDocs is a fast, offline API documentation browser with 80+ docs including HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++, jQuery, and more.">
+  <meta name="description" content="DevDocs is a fast, offline API documentation browser with 100+ docs including HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++, jQuery, and more.">
   <meta property="og:title" content="DevDocs">
-  <meta property="og:description" content="DevDocs is an API documentation browser that combines 80+ docs in a single UI with offline mode, instant search, keyboard shortcuts, and more.">
+  <meta property="og:description" content="DevDocs is an API documentation browser that combines 100+ docs in a single UI with offline mode, instant search, keyboard shortcuts, and more.">
   <meta property="og:type" content="website">
   <meta property="og:url" content="http://devdocs.io">
   <meta property="og:image" content="https://cdn.devdocs.io/images/icon-128.png">