History

DevDocs → freeCodeCamp

Thibaut Courouble committed 8 years ago

Commit d48396d1 parent 30a577411 files · +42 −39Browse files

Unified · Split

11 files
  1. CONTRIBUTING.md +2 −2
  2. ISSUE_TEMPLATE.md +1 −1
  3. README.md +10 −10
  4. assets/javascripts/news.json +7 −4
  5. assets/javascripts/templates/notif_tmpl.coffee +1 −1
  6. assets/javascripts/templates/pages/about_tmpl.coffee +9 −9
  7. assets/javascripts/templates/pages/help_tmpl.coffee +1 −1
  8. assets/javascripts/templates/pages/news_tmpl.coffee.erb +1 −1
  9. assets/javascripts/templates/pages/offline_tmpl.coffee +1 −1
  10. assets/javascripts/templates/pages/root_tmpl.coffee.erb +8 −8
  11. assets/javascripts/views/layout/resizer.coffee +1 −1
CONTRIBUTING.md+2−2
@@ -24,7 +24,7 @@ Want to contribute? Great. Please review the following guidelines carefully and · 23 unmodified lines
24## Requesting new features24## Requesting new features
25 25
261. Search for similar feature requests; someone may have already requested it.261. Search for similar feature requests; someone may have already requested it.
272. Make sure your feature fits DevDocs's [vision](https://github.com/Thibaut/devdocs/blob/master/README.md#vision).272. Make sure your feature fits DevDocs's [vision](https://github.com/freeCodeCamp/devdocs/blob/master/README.md#vision).
283. Provide a clear and detailed explanation of the feature and why it's important to add it.283. Provide a clear and detailed explanation of the feature and why it's important to add it.
29 29
30For general feedback and ideas, please use the [mailing list](https://groups.google.com/d/forum/devdocs).30For general feedback and ideas, please use the [mailing list](https://groups.google.com/d/forum/devdocs).
@@ -46,7 +46,7 @@ Use the [Trello board](https://trello.com/b/6BmTulfx/devdocs-documentation) wher · 15 unmodified lines
46 46
47## Contributing new documentations47## Contributing new documentations
48 48
49See the [wiki](https://github.com/Thibaut/devdocs/wiki) to learn how to add new documentations.49See the [wiki](https://github.com/freeCodeCamp/devdocs/wiki) to learn how to add new documentations.
50 50
51**Important:** the documentation's license must permit alteration, redistribution and commercial use, and the documented software must be released under an open source license. Feel free to get in touch if you're not sure if a documentation meets those requirements.51**Important:** the documentation's license must permit alteration, redistribution and commercial use, and the documented software must be released under an open source license. Feel free to get in touch if you're not sure if a documentation meets those requirements.
52 52
ISSUE_TEMPLATE.md+1−1
@@ -1,6 +1,6 @@
1<!--1<!--
2 Please read the contributing guidelines before opening an issue:2 Please read the contributing guidelines before opening an issue:
3 https://github.com/Thibaut/devdocs/blob/master/CONTRIBUTING.md3 https://github.com/freeCodeCamp/devdocs/blob/master/CONTRIBUTING.md
4 4
5 To request a new documentation, or an update of an existing documentation, go here:5 To request a new documentation, or an update of an existing documentation, go here:
6 https://trello.com/b/6BmTulfx/devdocs-documentation6 https://trello.com/b/6BmTulfx/devdocs-documentation
README.md+10−10
@@ -1,4 +1,4 @@
1# [DevDocs](https://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/freeCodeCamp/devdocs.svg?branch=master)](https://travis-ci.org/freeCodeCamp/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
@@ -7,7 +7,7 @@ DevDocs combines multiple API documentations in a fast, organized, and searchabl · 2 unmodified lines
7Keep track of development news:7Keep track of development news:
8 8
9* Join the contributor chat room on [Gitter](https://gitter.im/FreeCodeCamp/DevDocs)9* Join the contributor chat room on [Gitter](https://gitter.im/FreeCodeCamp/DevDocs)
10* Watch the repository on [GitHub](https://github.com/Thibaut/devdocs/subscription)10* Watch the repository on [GitHub](https://github.com/freeCodeCamp/devdocs/subscription)
11* Follow [@DevDocs](https://twitter.com/DevDocs) on Twitter11* Follow [@DevDocs](https://twitter.com/DevDocs) on Twitter
12* Join the [mailing list](https://groups.google.com/d/forum/devdocs)12* Join the [mailing list](https://groups.google.com/d/forum/devdocs)
13 13
@@ -22,7 +22,7 @@ DevDocs is made of two pieces: a Ruby scraper that generates the documentation a · 8 unmodified lines
22DevDocs requires Ruby 2.5.0, libcurl, and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). Once you have these installed, run the following commands:22DevDocs requires Ruby 2.5.0, libcurl, and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). Once you have these installed, run the following commands:
23 23
24```24```
25git clone https://github.com/Thibaut/devdocs.git && cd devdocs25git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs
26gem install bundler26gem install bundler
27bundle install27bundle install
28bundle exec thor docs:download --default28bundle exec thor docs:download --default
@@ -33,13 +33,13 @@ Finally, point your browser at [localhost:9292](http://localhost:9292) (the firs · 4 unmodified lines
33 33
34The `thor docs:download` command is used to download pre-generated documentations from DevDocs's servers (e.g. `thor docs:download html css`). You can see the list of available documentations and versions by running `thor docs:list`. To update all downloaded documentations, run `thor docs:download --installed`.34The `thor docs:download` command is used to download pre-generated documentations from DevDocs's servers (e.g. `thor docs:download html css`). You can see the list of available documentations and versions by running `thor docs:list`. To update all downloaded documentations, run `thor docs:download --installed`.
35 35
36**Note:** there is currently no update mechanism other than `git pull origin master` to update the code and `thor docs:download --installed` to download the latest version of the docs. To stay informed about new releases, be sure to [watch](https://github.com/Thibaut/devdocs/subscription) this repository.36**Note:** there is currently no update mechanism other than `git pull origin master` to update the code and `thor docs:download --installed` to download the latest version of the docs. To stay informed about new releases, be sure to [watch](https://github.com/freeCodeCamp/devdocs/subscription) this repository.
37 37
38Alternatively, DevDocs may be started as a Docker container:38Alternatively, DevDocs may be started as a Docker container:
39 39
40```40```
41# First, build the image41# First, build the image
42git clone https://github.com/Thibaut/devdocs.git && cd devdocs42git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs
43docker build -t thibaut/devdocs .43docker build -t thibaut/devdocs .
44 44
45# Finally, start a DevDocs container (access http://localhost:9292)45# Finally, start a DevDocs container (access http://localhost:9292)
@@ -93,7 +93,7 @@ These modifications are applied via a set of filters using the [HTML::Pipeline]( · 47 unmodified lines
93 93
94The end result is a set of normalized HTML partials and two JSON files (index + offline data). Because the index files are loaded separately by the [app](#app) following the user's preferences, the scraper also creates a JSON manifest file containing information about the documentations currently available on the system (such as their name, version, update date, etc.).94The end result is a set of normalized HTML partials and two JSON files (index + offline data). Because the index files are loaded separately by the [app](#app) following the user's preferences, the scraper also creates a JSON manifest file containing information about the documentations currently available on the system (such as their name, version, update date, etc.).
95 95
96More information about scrapers and filters is available on the [wiki](https://github.com/Thibaut/devdocs/wiki).96More information about scrapers and filters is available on the [wiki](https://github.com/freeCodeCamp/devdocs/wiki).
97 97
98## Available Commands98## Available Commands
99 99
@@ -133,15 +133,15 @@ If multiple versions of Ruby are installed on your system, commands must be run · 33 unmodified lines
133 133
134## Contributing134## Contributing
135 135
136Contributions are welcome. Please read the [contributing guidelines](https://github.com/Thibaut/devdocs/blob/master/CONTRIBUTING.md).136Contributions are welcome. Please read the [contributing guidelines](https://github.com/freeCodeCamp/devdocs/blob/master/CONTRIBUTING.md).
137 137
138DevDocs's own documentation is available on the [wiki](https://github.com/Thibaut/devdocs/wiki).138DevDocs's own documentation is available on the [wiki](https://github.com/freeCodeCamp/devdocs/wiki).
139 139
140## Copyright / License140## Copyright / License
141 141
142Copyright 2013-2018 Thibaut Courouble and [other contributors](https://github.com/Thibaut/devdocs/graphs/contributors)142Copyright 2013-2018 Thibaut Courouble and [other contributors](https://github.com/freeCodeCamp/devdocs/graphs/contributors)
143 143
144This software is licensed under the terms of the Mozilla Public License v2.0. See the [COPYRIGHT](https://github.com/Thibaut/devdocs/blob/master/COPYRIGHT) and [LICENSE](https://github.com/Thibaut/devdocs/blob/master/LICENSE) files.144This software is licensed under the terms of the Mozilla Public License v2.0. See the [COPYRIGHT](https://github.com/freeCodeCamp/devdocs/blob/master/COPYRIGHT) and [LICENSE](https://github.com/freeCodeCamp/devdocs/blob/master/LICENSE) files.
145 145
146Please do not use the name DevDocs to endorse or promote products derived from this software without my permission, except as may be necessary to comply with the notice/attribution requirements.146Please do not use the name DevDocs to endorse or promote products derived from this software without my permission, except as may be necessary to comply with the notice/attribution requirements.
147 147
assets/javascripts/news.json+7−4
@@ -1,5 +1,8 @@
1[1[
2 [2 [
3 "2018-03-26",
4 "DevDocs is joining the freeCodeCamp community. Read the announcement <a href=\"https://medium.com/@quincylarson/devdocs-is-joining-the-freecodecamp-community-ae185a1c14a6\" target=\"_blank\">here</a>."
5 ], [
3 "2018-02-04",6 "2018-02-04",
4 "New documentations: <a href=\"/babel/\">Babel</a>, <a href=\"/jekyll/\">Jekyll</a> and <a href=\"/jsdoc/\">JSDoc</a>"7 "New documentations: <a href=\"/babel/\">Babel</a>, <a href=\"/jekyll/\">Jekyll</a> and <a href=\"/jsdoc/\">JSDoc</a>"
5 ], [8 ], [
@@ -7,7 +10,7 @@ · 1 unmodified line
7 "New documentations: <a href=\"/bluebird/\">Bluebird</a>, <a href=\"/eslint/\">ESLint</a> and <a href=\"/homebrew/\">Homebrew</a>"10 "New documentations: <a href=\"/bluebird/\">Bluebird</a>, <a href=\"/eslint/\">ESLint</a> and <a href=\"/homebrew/\">Homebrew</a>"
8 ], [11 ], [
9 "2017-11-18",12 "2017-11-18",
10 "Added print & PDF stylesheet.\nFeedback welcome on <a href=\"https://twitter.com/DevDocs\" target=\"_blank\" rel=\"noopener\">Twitter</a> and <a href=\"https://github.com/Thibaut/devdocs\" target=\"_blank\" rel=\"noopener\">GitHub</a>."13 "Added print & PDF stylesheet.\nFeedback welcome on <a href=\"https://twitter.com/DevDocs\" target=\"_blank\" rel=\"noopener\">Twitter</a> and <a href=\"https://github.com/freeCodeCamp/devdocs\" target=\"_blank\" rel=\"noopener\">GitHub</a>."
11 ], [14 ], [
12 "2017-09-10",15 "2017-09-10",
13 "<a href=\"/settings\">Preferences</a> can now be exported and imported."16 "<a href=\"/settings\">Preferences</a> can now be exported and imported."
@@ -119,7 +122,7 @@ · 105 unmodified lines
119 "New documentations: <a href=\"/q/\">Q</a> and <a href=\"/opentsdb/\">OpenTSDB</a>"122 "New documentations: <a href=\"/q/\">Q</a> and <a href=\"/opentsdb/\">OpenTSDB</a>"
120 ], [123 ], [
121 "2015-07-26",124 "2015-07-26",
122 "Added search aliases (e.g. <code class=\"_label\">$</code> is an alias for <code class=\"_label\">jQuery</code>).\n<a href=\"/help#aliases\">Click here</a> to see the full list. Feel free to suggest more on <a href=\"https://github.com/Thibaut/devdocs/issues/new\" target=\"_blank\" rel=\"noopener\">GitHub</a>.",125 "Added search aliases (e.g. <code class=\"_label\">$</code> is an alias for <code class=\"_label\">jQuery</code>).\n<a href=\"/help#aliases\">Click here</a> to see the full list. Feel free to suggest more on <a href=\"https://github.com/freeCodeCamp/devdocs/issues/new\" target=\"_blank\" rel=\"noopener\">GitHub</a>.",
123 "Added <code class=\"_label\">shift + &darr;/&uarr;</code> shortcut for scrolling (same as <code class=\"_label\">alt + &darr;/&uarr;</code>)."126 "Added <code class=\"_label\">shift + &darr;/&uarr;</code> shortcut for scrolling (same as <code class=\"_label\">alt + &darr;/&uarr;</code>)."
124 ], [127 ], [
125 "2015-07-05",128 "2015-07-05",
@@ -160,7 +163,7 @@ · 34 unmodified lines
160 "New <a href=\"/python2/\">Python 2</a> documentation"163 "New <a href=\"/python2/\">Python 2</a> documentation"
161 ], [164 ], [
162 "2014-11-09",165 "2014-11-09",
163 "New design\nFeedback welcome on <a href=\"https://twitter.com/DevDocs\" target=\"_blank\" rel=\"noopener\">Twitter</a> and <a href=\"https://github.com/Thibaut/devdocs\" target=\"_blank\" rel=\"noopener\">GitHub</a>."166 "New design\nFeedback welcome on <a href=\"https://twitter.com/DevDocs\" target=\"_blank\" rel=\"noopener\">Twitter</a> and <a href=\"https://github.com/freeCodeCamp/devdocs\" target=\"_blank\" rel=\"noopener\">GitHub</a>."
164 ], [167 ], [
165 "2014-10-19",168 "2014-10-19",
166 "New <a href=\"/svg/\">SVG</a>, <a href=\"/marionette/\">Marionette.js</a>, and <a href=\"/mongoose/\">Mongoose</a> documentations"169 "New <a href=\"/svg/\">SVG</a>, <a href=\"/marionette/\">Marionette.js</a>, and <a href=\"/mongoose/\">Mongoose</a> documentations"
@@ -245,7 +248,7 @@ · 78 unmodified lines
245 "New <a href=\"/ruby/\">Ruby</a> documentation"248 "New <a href=\"/ruby/\">Ruby</a> documentation"
246 ], [249 ], [
247 "2013-10-24",250 "2013-10-24",
248 "DevDocs is now <a href=\"https://github.com/Thibaut/devdocs\">open source</a>."251 "DevDocs is now <a href=\"https://github.com/freeCodeCamp/devdocs\">open source</a>."
249 ], [252 ], [
250 "2013-10-09",253 "2013-10-09",
251 "DevDocs is now available as a <a href=\"https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe\">Chrome web app</a>."254 "DevDocs is now available as a <a href=\"https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe\">Chrome web app</a>."
assets/javascripts/templates/notif_tmpl.coffee+1−1
@@ -16,7 +16,7 @@ app.templates.notifError = -> · 15 unmodified lines
16 textNotif """ Oops, an error occurred. """,16 textNotif """ Oops, an error occurred. """,
17 """ Try <a href="#" data-behavior="hard-reload">reloading</a>, and if the problem persists,17 """ Try <a href="#" data-behavior="hard-reload">reloading</a>, and if the problem persists,
18 <a href="#" data-behavior="reset">resetting the app</a>.<br>18 <a href="#" data-behavior="reset">resetting the app</a>.<br>
19 You can also report this issue on <a href="https://github.com/Thibaut/devdocs/issues/new" target="_blank" rel="noopener">GitHub</a>. """19 You can also report this issue on <a href="https://github.com/freeCodeCamp/devdocs/issues/new" target="_blank" rel="noopener">GitHub</a>. """
20 20
21app.templates.notifQuotaExceeded = ->21app.templates.notifQuotaExceeded = ->
22 textNotif """ The offline database has exceeded its size limitation. """,22 textNotif """ The offline database has exceeded its size limitation. """,
assets/javascripts/templates/pages/about_tmpl.coffee+9−9
@@ -14,23 +14,23 @@ app.templates.aboutPage = -> """ · 13 unmodified lines
14 <p>DevDocs combines multiple API documentations in a clean and organized web UI with instant search, offline support, mobile version, dark theme, keyboard shortcuts, and more.14 <p>DevDocs combines multiple API documentations in a clean and organized web UI with instant search, offline support, mobile version, dark theme, keyboard shortcuts, and more.
15 <ul>15 <ul>
16 <li>Created and maintained by <a href="https://thibaut.me">Thibaut Courouble</a>16 <li>Created and maintained by <a href="https://thibaut.me">Thibaut Courouble</a>
17 <li>Free and <a href="https://github.com/Thibaut/devdocs">open source</a>17 <li>Free and <a href="https://github.com/freeCodeCamp/devdocs">open source</a>
18 <iframe class="_github-btn" src="https://ghbtns.com/github-btn.html?user=Thibaut&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20" tabindex="-1"></iframe>18 <iframe class="_github-btn" src="https://ghbtns.com/github-btn.html?user=freeCodeCamp&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20" tabindex="-1"></iframe>
19 </ul>19 </ul>
20 <p>To keep up-to-date with the latest news:20 <p>To keep up-to-date with the latest news:
21 <ul>21 <ul>
22 <li>Follow <a href="https://twitter.com/DevDocs">@DevDocs</a> on Twitter22 <li>Follow <a href="https://twitter.com/DevDocs">@DevDocs</a> on Twitter
23 <li>Watch the repository on <a href="https://github.com/Thibaut/devdocs/subscription">GitHub</a>23 <li>Watch the repository on <a href="https://github.com/freeCodeCamp/devdocs/subscription">GitHub</a>
24 <li>Join the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>24 <li>Join the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>
25 </ul>25 </ul>
26 26
27 <h2 class="_block-heading" id="copyright">Copyright and License</h2>27 <h2 class="_block-heading" id="copyright">Copyright and License</h2>
28 <p class="_note">28 <p class="_note">
29 <strong>Copyright 2013&ndash;2018 Thibaut Courouble and <a href="https://github.com/Thibaut/devdocs/graphs/contributors">other contributors</a></strong><br>29 <strong>Copyright 2013&ndash;2018 Thibaut Courouble and <a href="https://github.com/freeCodeCamp/devdocs/graphs/contributors">other contributors</a></strong><br>
30 This software is licensed under the terms of the Mozilla Public License v2.0.<br>30 This software is licensed under the terms of the Mozilla Public License v2.0.<br>
31 You may obtain a copy of the source code at <a href="https://github.com/Thibaut/devdocs">github.com/Thibaut/devdocs</a>.<br>31 You may obtain a copy of the source code at <a href="https://github.com/freeCodeCamp/devdocs">github.com/freeCodeCamp/devdocs</a>.<br>
32 For more information, see the <a href="https://github.com/Thibaut/devdocs/blob/master/COPYRIGHT">COPYRIGHT</a>32 For more information, see the <a href="https://github.com/freeCodeCamp/devdocs/blob/master/COPYRIGHT">COPYRIGHT</a>
33 and <a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files.33 and <a href="https://github.com/freeCodeCamp/devdocs/blob/master/LICENSE">LICENSE</a> files.
34 34
35 <h2 class="_block-heading" id="plugins">Plugins and Extensions</h2>35 <h2 class="_block-heading" id="plugins">Plugins and Extensions</h2>
36 <ul>36 <ul>
@@ -47,10 +47,10 @@ app.templates.aboutPage = -> """ · 10 unmodified lines
47 <dl>47 <dl>
48 <dt>Where can I suggest new docs and features?48 <dt>Where can I suggest new docs and features?
49 <dd>You can suggest and vote for new docs on the <a href="https://trello.com/b/6BmTulfx/devdocs-documentation">Trello board</a>.<br>49 <dd>You can suggest and vote for new docs on the <a href="https://trello.com/b/6BmTulfx/devdocs-documentation">Trello board</a>.<br>
50 If you have a specific feature request, add it to the <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a>.<br>50 If you have a specific feature request, add it to the <a href="https://github.com/freeCodeCamp/devdocs/issues">issue tracker</a>.<br>
51 Otherwise use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>.51 Otherwise use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>.
52 <dt>Where can I report bugs?52 <dt>Where can I report bugs?
53 <dd>In the <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a>. Thanks!53 <dd>In the <a href="https://github.com/freeCodeCamp/devdocs/issues">issue tracker</a>. Thanks!
54 </dl>54 </dl>
55 <p>For anything else, feel free to email me at <a href="mailto:thibaut@devdocs.io">thibaut@devdocs.io</a>.55 <p>For anything else, feel free to email me at <a href="mailto:thibaut@devdocs.io">thibaut@devdocs.io</a>.
56 56
assets/javascripts/templates/pages/help_tmpl.coffee+1−1
@@ -151,5 +151,5 @@ app.templates.helpPage = -> · 150 unmodified lines
151 #{("<tr><td class=\"_code\">#{key}<td class=\"_code\">#{value}" for key, value of aliases_two).join('')}151 #{("<tr><td class=\"_code\">#{key}<td class=\"_code\">#{value}" for key, value of aliases_two).join('')}
152 </table>152 </table>
153 </div>153 </div>
154 <p>Feel free to suggest new aliases on <a href="https://github.com/Thibaut/devdocs/issues/new">GitHub</a>.154 <p>Feel free to suggest new aliases on <a href="https://github.com/freeCodeCamp/devdocs/issues/new">GitHub</a>.
155"""155"""
assets/javascripts/templates/pages/news_tmpl.coffee.erb+1−1
@@ -4,7 +4,7 @@ app.templates.newsPage = -> · 3 unmodified lines
4 """ <h1 class="_lined-heading">Changelog</h1>4 """ <h1 class="_lined-heading">Changelog</h1>
5 <p class="_note">5 <p class="_note">
6 For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.<br>6 For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.<br>
7 For development updates, follow the project on <a href="https://github.com/Thibaut/devdocs">GitHub</a>.7 For development updates, follow the project on <a href="https://github.com/freeCodeCamp/devdocs">GitHub</a>.
8 <div class="_news">#{app.templates.newsList app.news}</div> """8 <div class="_news">#{app.templates.newsList app.news}</div> """
9 9
10app.templates.newsList = (news, options = {}) ->10app.templates.newsList = (news, options = {}) ->
assets/javascripts/templates/pages/offline_tmpl.coffee+1−1
@@ -32,7 +32,7 @@ app.templates.offlinePage = (docs) -> """ · 31 unmodified lines
32 <dt>What if I don't update a documentation?32 <dt>What if I don't update a documentation?
33 <dd>You'll see outdated content and some pages will be missing or broken, because the rest of the app (including data for the search and sidebar) uses a different caching mechanism that's updated automatically.33 <dd>You'll see outdated content and some pages will be missing or broken, because the rest of the app (including data for the search and sidebar) uses a different caching mechanism that's updated automatically.
34 <dt>I found a bug, where do I report it?34 <dt>I found a bug, where do I report it?
35 <dd>In the <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a>. Thanks!35 <dd>In the <a href="https://github.com/freeCodeCamp/devdocs/issues">issue tracker</a>. Thanks!
36 <dt>How do I uninstall/reset the app?36 <dt>How do I uninstall/reset the app?
37 <dd>Click <a href="#" data-behavior="reset">here</a>.37 <dd>Click <a href="#" data-behavior="reset">here</a>.
38 <dt>Why aren't all documentations listed above?38 <dt>Why aren't all documentations listed above?
assets/javascripts/templates/pages/root_tmpl.coffee.erb+8−8
@@ -12,13 +12,13 @@ app.templates.intro = """ · 11 unmodified lines
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.
15 <li>To be notified about new versions, don't forget to <a href="https://github.com/Thibaut/devdocs/subscription">watch the repository</a> on GitHub.15 <li>To be notified about new versions, don't forget to <a href="https://github.com/freeCodeCamp/devdocs/subscription">watch the repository</a> on GitHub.
16 <li>The <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a> is the preferred channel for bug reports and16 <li>The <a href="https://github.com/freeCodeCamp/devdocs/issues">issue tracker</a> is the preferred channel for bug reports and
17 feature requests. For everything else, use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>.17 feature requests. For everything else, use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>.
18 <li>Contributions are welcome. See the <a href="https://github.com/Thibaut/devdocs/blob/master/CONTRIBUTING.md">guidelines</a>.18 <li>Contributions are welcome. See the <a href="https://github.com/freeCodeCamp/devdocs/blob/master/CONTRIBUTING.md">guidelines</a>.
19 <li>DevDocs is licensed under the terms of the Mozilla Public License v2.0. For more information,19 <li>DevDocs is licensed under the terms of the Mozilla Public License v2.0. For more information,
20 see the <a href="https://github.com/Thibaut/devdocs/blob/master/COPYRIGHT">COPYRIGHT</a> and20 see the <a href="https://github.com/freeCodeCamp/devdocs/blob/master/COPYRIGHT">COPYRIGHT</a> and
21 <a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files.21 <a href="https://github.com/freeCodeCamp/devdocs/blob/master/LICENSE">LICENSE</a> files.
22 </ol>22 </ol>
23 <p>Happy coding!23 <p>Happy coding!
24 </div></div>24 </div></div>
@@ -38,8 +38,8 @@ app.templates.intro = """ · 13 unmodified lines
38 <li>You can search using your browser's address bar &mdash; <a href="/help#browser_search">learn how</a>.38 <li>You can search using your browser's address bar &mdash; <a href="/help#browser_search">learn how</a>.
39 <li>DevDocs works <a href="/offline">offline</a>, on mobile, and can be installed on <a href="https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe">Chrome</a>.39 <li>DevDocs works <a href="/offline">offline</a>, on mobile, and can be installed on <a href="https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe">Chrome</a>.
40 <li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.40 <li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.
41 <li>DevDocs is free and <a href="https://github.com/Thibaut/devdocs">open source</a>.41 <li>DevDocs is free and <a href="https://github.com/freeCodeCamp/devdocs">open source</a>.
42 <iframe class="_github-btn" src="//ghbtns.com/github-btn.html?user=Thibaut&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>42 <iframe class="_github-btn" src="//ghbtns.com/github-btn.html?user=freeCodeCamp&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
43 <li>And if you're new to coding, check out <a href="https://www.freecodecamp.org/">freeCodeCamp's open source curriculum</a>.43 <li>And if you're new to coding, check out <a href="https://www.freecodecamp.org/">freeCodeCamp's open source curriculum</a>.
44 </ol>44 </ol>
45 <p>Happy coding!45 <p>Happy coding!
@@ -57,7 +57,7 @@ app.templates.mobileIntro = """ · 11 unmodified lines
57 <li>The search supports fuzzy matching.57 <li>The search supports fuzzy matching.
58 <li>To search a specific documentation, type its name (or an abbr.), then Space.58 <li>To search a specific documentation, type its name (or an abbr.), then Space.
59 <li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.59 <li>For the latest news, follow <a href="https://twitter.com/DevDocs">@DevDocs</a>.
60 <li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a>.60 <li>DevDocs is <a href="https://github.com/freeCodeCamp/devdocs">open source</a>.
61 </ol>61 </ol>
62 <p>Happy coding!62 <p>Happy coding!
63 <a class="_intro-hide" data-hide-intro>Stop showing this message</a>63 <a class="_intro-hide" data-hide-intro>Stop showing this message</a>
assets/javascripts/views/layout/resizer.coffee+1−1
@@ -50,7 +50,7 @@ class app.views.Resizer extends app.View · 49 unmodified lines
50 onDragEnd: (event) =>50 onDragEnd: (event) =>
51 $.off(window, 'dragover', @onDrag)51 $.off(window, 'dragover', @onDrag)
52 value = event.pageX or (event.screenX - window.screenX)52 value = event.pageX or (event.screenX - window.screenX)
53 if @lastDragValue and not (@lastDragValue - 5 < value < @lastDragValue + 5) # https://github.com/Thibaut/devdocs/issues/26553 if @lastDragValue and not (@lastDragValue - 5 < value < @lastDragValue + 5) # https://github.com/freeCodeCamp/devdocs/issues/265
54 value = @lastDragValue54 value = @lastDragValue
55 @resize(value, true)55 @resize(value, true)
56 return56 return