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)
2 2
3DevDocs combines multiple API documentations in a fast, organized, and searchable interface.3DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
4 4
@@ -14,7 +14,7 @@ Keep track of development news: · 9 unmodified lines
14 14
15## Quick Start15## Quick Start
16 16
17Unless 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.17Unless 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.
18 18
19DevDocs is made of two pieces: a Ruby scraper that generates the documentation and metadata, and a JavaScript app powered by a small Sinatra app.19DevDocs is made of two pieces: a Ruby scraper that generates the documentation and metadata, and a JavaScript app powered by a small Sinatra app.
20 20
assets/javascripts/templates/notice_tmpl.coffee+1−1
@@ -2,7 +2,7 @@ notice = (text) -> """<p class="_notice-text">#{text}</p>""" · 1 unmodified line
2 2
3app.templates.singleDocNotice = (doc) ->3app.templates.singleDocNotice = (doc) ->
4 notice """ You're browsing the #{doc.fullName} documentation. To browse all docs, go to4 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>). """
6 6
7app.templates.disabledDocNotice = ->7app.templates.disabledDocNotice = ->
8 notice """ <strong>This documentation is disabled.</strong>8 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
58 58
59 <p><strong>Special thanks to:</strong>59 <p><strong>Special thanks to:</strong>
60 <ul>60 <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 DevDocs61 <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
62 <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 past62 <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 service63 <li><a href="https://www.heroku.com">Heroku</a> and <a href="https://newrelic.com/">New Relic</a> for providing awesome free service
64 <li><a href="https://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo64 <li><a href="https://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo
65 </ul>65 </ul>
66 66
@@ -76,7 +76,7 @@ app.templates.aboutPage = -> """ · 9 unmodified lines
76 76
77 <h2 class="_block-heading" id="privacy">Privacy Policy</h2>77 <h2 class="_block-heading" id="privacy">Privacy Policy</h2>
78 <ul>78 <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").
80 <li>We do not collect personal information.80 <li>We do not collect personal information.
81 <li>We use Google Analytics, Gauges and Sentry to collect anonymous traffic information and improve the app.81 <li>We use Google Analytics, Gauges and Sentry to collect anonymous traffic information and improve the app.
82 <li>The app uses cookies to store user preferences.82 <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
8 <p>Thanks for downloading DevDocs. Here are a few things you should know:8 <p>Thanks for downloading DevDocs. Here are a few things you should know:
9 <ol class="_intro-list">9 <ol class="_intro-list">
10 <li>Your local version of DevDocs won't self-update. Unless you're modifying the code,10 <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>.
12 <li>Run <code>thor docs:list</code> to see all available documentations.12 <li>Run <code>thor docs:list</code> to see all available documentations.
13 <li>Run <code>thor docs:download &lt;name&gt;</code> to download documentations.13 <li>Run <code>thor docs:download &lt;name&gt;</code> to download documentations.
14 <li>Run <code>thor docs:download --installed</code> to update all downloaded documentations.14 <li>Run <code>thor docs:download --installed</code> to update all downloaded documentations.
@@ -69,6 +69,6 @@ app.templates.androidWarning = """ · 54 unmodified lines
69 <h2 class="_intro-title">Hi there</h2>69 <h2 class="_intro-title">Hi there</h2>
70 <p>DevDocs is running inside an Android WebView. Some features may not work properly.70 <p>DevDocs is running inside an Android WebView. Some features may not work properly.
71 <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.71 <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.
73 </div>73 </div>
74"""74"""
lib/app.rb+1−1
@@ -253,7 +253,7 @@ class App < Sinatra::Application · 252 unmodified lines
253 before do253 before do
254 if request.host == OUT_HOST && !request.path.start_with?('/s/')254 if request.host == OUT_HOST && !request.path.start_with?('/s/')
255 query_string = "?#{request.query_string}" unless request.query_string.empty?255 query_string = "?#{request.query_string}" unless request.query_string.empty?
256 redirect "http://devdocs.io#{request.path}#{query_string}", 302256 redirect "https://devdocs.io#{request.path}#{query_string}", 302
257 end257 end
258 end258 end
259 259