History

Update links to HTTPS

Thibaut Courouble committed 8 years ago

Commit e8bb76f1 parent 0f352395 files · +9 −9Browse files

Unified · Split

5 files
  1. README.md +2 −2
  2. assets/javascripts/templates/notice_tmpl.coffee +1 −1
  3. assets/javascripts/templates/pages/about_tmpl.coffee +3 −3
  4. assets/javascripts/templates/pages/root_tmpl.coffee.erb +2 −2
  5. lib/app.rb +1 −1
README.md+2−2
@@ -1,4 +1,4 @@
1−# [DevDocs](http://devdocs.io) [![Build Status](https://travis-ci.org/Thibaut/devdocs.svg?branch=master)](https://travis-ci.org/Thibaut/devdocs)
1+# [DevDocs](https://devdocs.io) [![Build Status](https://travis-ci.org/Thibaut/devdocs.svg?branch=master)](https://travis-ci.org/Thibaut/devdocs)
22
33 DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
44
@@ -14,7 +14,7 @@ Keep track of development news: · 9 unmodified lines
1414
1515 ## Quick Start
1616
17−Unless you wish to contribute to the project, I recommend using the hosted version at [devdocs.io](http://devdocs.io). It's up-to-date and works offline out-of-the-box.
17+Unless you wish to contribute to the project, I recommend using the hosted version at [devdocs.io](https://devdocs.io). It's up-to-date and works offline out-of-the-box.
1818
1919 DevDocs is made of two pieces: a Ruby scraper that generates the documentation and metadata, and a JavaScript app powered by a small Sinatra app.
2020
assets/javascripts/templates/notice_tmpl.coffee+1−1
@@ -2,7 +2,7 @@ notice = (text) -> """<p class="_notice-text">#{text}</p>""" · 1 unmodified line
22
33 app.templates.singleDocNotice = (doc) ->
44 notice """ You're browsing the #{doc.fullName} documentation. To browse all docs, go to
5− <a href="http://#{app.config.production_host}" target="_top">#{app.config.production_host}</a> (or press <code>esc</code>). """
5+ <a href="//#{app.config.production_host}" target="_top">#{app.config.production_host}</a> (or press <code>esc</code>). """
66
77 app.templates.disabledDocNotice = ->
88 notice """ <strong>This documentation is disabled.</strong>
assets/javascripts/templates/pages/about_tmpl.coffee+3−3
@@ -58,9 +58,9 @@ app.templates.aboutPage = -> """ · 57 unmodified lines
5858
5959 <p><strong>Special thanks to:</strong>
6060 <ul>
61− <li><a href="https://out.devdocs.io/s/maxcdn">MaxCDN</a>, <a href="https://sentry.io/">Sentry</a> and <a href="http://get.gaug.es/?utm_source=devdocs&utm_medium=referral&utm_campaign=sponsorships" title="Real Time Web Analytics">Gauges</a> for offering a free account to DevDocs
61+ <li><a href="https://out.devdocs.io/s/maxcdn">MaxCDN</a>, <a href="https://sentry.io/">Sentry</a> and <a href="https://get.gaug.es/?utm_source=devdocs&utm_medium=referral&utm_campaign=sponsorships" title="Real Time Web Analytics">Gauges</a> for offering a free account to DevDocs
6262 <li><a href="https://out.devdocs.io/s/maxcdn">MaxCDN</a>, <a href="https://out.devdocs.io/s/shopify">Shopify</a>, <a href="https://out.devdocs.io/s/jetbrains">JetBrains</a> and <a href="https://out.devdocs.io/s/code-school">Code School</a> for sponsoring DevDocs in the past
63− <li><a href="https://www.heroku.com">Heroku</a> and <a href="http://newrelic.com">New Relic</a> for providing awesome free service
63+ <li><a href="https://www.heroku.com">Heroku</a> and <a href="https://newrelic.com/">New Relic</a> for providing awesome free service
6464 <li><a href="https://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo
6565 </ul>
6666
@@ -76,7 +76,7 @@ app.templates.aboutPage = -> """ · 9 unmodified lines
7676
7777 <h2 class="_block-heading" id="privacy">Privacy Policy</h2>
7878 <ul>
79− <li><a href="http://devdocs.io">devdocs.io</a> ("App") is operated by Thibaut Courouble ("We").
79+ <li><a href="https://devdocs.io">devdocs.io</a> ("App") is operated by Thibaut Courouble ("We").
8080 <li>We do not collect personal information.
8181 <li>We use Google Analytics, Gauges and Sentry to collect anonymous traffic information and improve the app.
8282 <li>The app uses cookies to store user preferences.
assets/javascripts/templates/pages/root_tmpl.coffee.erb+2−2
@@ -8,7 +8,7 @@ app.templates.intro = """ · 7 unmodified lines
88 <p>Thanks for downloading DevDocs. Here are a few things you should know:
99 <ol class="_intro-list">
1010 <li>Your local version of DevDocs won't self-update. Unless you're modifying the code,
11− I&nbsp;recommend using the hosted version at <a href="http://devdocs.io">devdocs.io</a>.
11+ I&nbsp;recommend using the hosted version at <a href="https://devdocs.io">devdocs.io</a>.
1212 <li>Run <code>thor docs:list</code> to see all available documentations.
1313 <li>Run <code>thor docs:download &lt;name&gt;</code> to download documentations.
1414 <li>Run <code>thor docs:download --installed</code> to update all downloaded documentations.
@@ -69,6 +69,6 @@ app.templates.androidWarning = """ · 54 unmodified lines
6969 <h2 class="_intro-title">Hi there</h2>
7070 <p>DevDocs is running inside an Android WebView. Some features may not work properly.
7171 <p>If you downloaded an app called DevDocs on the Play Store, please uninstall it — it's made by someone who is using (and profiting from) the name DevDocs without permission.
72− <p>To install DevDocs on your phone, visit <a href="http://devdocs.io" target="_blank" rel="noopener">devdocs.io</a> in Chrome and select "Add to home screen" in the menu.
72+ <p>To install DevDocs on your phone, visit <a href="https://devdocs.io" target="_blank" rel="noopener">devdocs.io</a> in Chrome and select "Add to home screen" in the menu.
7373 </div>
7474 """
lib/app.rb+1−1
@@ -253,7 +253,7 @@ class App < Sinatra::Application · 252 unmodified lines
253253 before do
254254 if request.host == OUT_HOST && !request.path.start_with?('/s/')
255255 query_string = "?#{request.query_string}" unless request.query_string.empty?
256− redirect "http://devdocs.io#{request.path}#{query_string}", 302
256+ redirect "https://devdocs.io#{request.path}#{query_string}", 302
257257 end
258258 end
259259