Unified · Split
| @@ -3,7 +3,7 @@ · 2 unmodified lines | |||
| 3 | DevDocs combines multiple API documentations in a fast, organized, and searchable interface. | 3 | DevDocs combines multiple API documentations in a fast, organized, and searchable interface. |
| 4 | 4 | ||
| 5 | * Created by [Thibaut Courouble](http://thibaut.me) | 5 | * Created by [Thibaut Courouble](http://thibaut.me) |
| 6 | * Supported by [JetBrains](http://devdocs.io/s/jetbrains), [Code School](http://devdocs.io/s/code-school) and [Shopify](http://devdocs.io/s/shopify) | 6 | * Supported by [JetBrains](http://devdocs.io/s/jetbrains) and [Code School](http://devdocs.io/s/code-school) |
| 7 | 7 | ||
| 8 | Keep track of development and community news: | 8 | Keep track of development and community news: |
| 9 | 9 | ||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| @@ -38,7 +38,6 @@ app.templates.notifThanks = -> · 37 unmodified lines | |||
| 38 | <ul class="_notif-list"> | 38 | <ul class="_notif-list"> |
| 39 | <li><a href="http://devdocs.io/s/jetbrains" target="_blank">JetBrains</a> — We make software development a more productive and enjoyable experience through smart IDEs and code editors. | 39 | <li><a href="http://devdocs.io/s/jetbrains" target="_blank">JetBrains</a> — We make software development a more productive and enjoyable experience through smart IDEs and code editors. |
| 40 | <li><a href="http://devdocs.io/s/code-school" target="_blank">Code School</a> — Learn new skills from the comfort of your own browser. Offering more than 45 courses covering JavaScript, HTML/CSS, Ruby, Git, and iOS for only $29/month. | 40 | <li><a href="http://devdocs.io/s/code-school" target="_blank">Code School</a> — Learn new skills from the comfort of your own browser. Offering more than 45 courses covering JavaScript, HTML/CSS, Ruby, Git, and iOS for only $29/month. |
| 41 | <li><a href="http://devdocs.io/s/shopify" target="_blank">Shopify</a> — Interested in working on one of the biggest commerce platforms in the world, in a delightful work environment? We're hiring! | ||
| 42 | </ul> | 41 | </ul> |
| 43 | <p class="_notif-text">Have a great day :) """ | 42 | <p class="_notif-text">Have a great day :) """ |
| 44 | 43 | ||
| @@ -13,7 +13,7 @@ app.templates.aboutPage = -> """ · 12 unmodified lines | |||
| 13 | <p>DevDocs combines multiple API documentations in a fast, organized, and searchable interface. | 13 | <p>DevDocs combines multiple API documentations in a fast, organized, and searchable interface. |
| 14 | <ul> | 14 | <ul> |
| 15 | <li>Created and maintained by <a href="http://thibaut.me">Thibaut Courouble</a> | 15 | <li>Created and maintained by <a href="http://thibaut.me">Thibaut Courouble</a> |
| 16 | <li>Supported by <a href="http://devdocs.io/s/jetbrains">JetBrains</a>, <a href="http://devdocs.io/s/code-school">Code School</a> and <a href="http://devdocs.io/s/shopify">Shopify</a> | 16 | <li>Supported by <a href="http://devdocs.io/s/jetbrains">JetBrains</a> and <a href="http://devdocs.io/s/code-school">Code School</a> |
| 17 | <li>Free and <a href="https://github.com/Thibaut/devdocs">open source</a> | 17 | <li>Free and <a href="https://github.com/Thibaut/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"></iframe> | 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"></iframe> |
| 19 | </ul> | 19 | </ul> |
| @@ -31,6 +31,7 @@ app.templates.aboutPage = -> """ · 11 unmodified lines | |||
| 31 | <p><strong>Special thanks to:</strong> | 31 | <p><strong>Special thanks to:</strong> |
| 32 | <ul> | 32 | <ul> |
| 33 | <li><a href="http://devdocs.io/s/maxcdn">MaxCDN</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 | 33 | <li><a href="http://devdocs.io/s/maxcdn">MaxCDN</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 |
| 34 | <li><a href="http://devdocs.io/s/shopify">Shopify</a> for supporting DevDocs in the past | ||
| 34 | <li><a href="https://www.heroku.com">Heroku</a> and <a href="http://newrelic.com">New Relic</a> for providing awesome free service | 35 | <li><a href="https://www.heroku.com">Heroku</a> and <a href="http://newrelic.com">New Relic</a> for providing awesome free service |
| 35 | <li>Daniel Bruce for the <a href="http://www.entypo.com">Entypo</a> pictograms | 36 | <li>Daniel Bruce for the <a href="http://www.entypo.com">Entypo</a> pictograms |
| 36 | <li><a href="http://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo | 37 | <li><a href="http://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo |
| @@ -35,19 +35,11 @@ codeSchoolLink = (className) -> """ · 34 unmodified lines | |||
| 35 | </a> | 35 | </a> |
| 36 | """ | 36 | """ |
| 37 | 37 | ||
| 38 | shopifyLink = (className) -> """ | ||
| 39 | <a href="http://devdocs.io/s/shopify" class="#{className}"> | ||
| 40 | <span class="_logo-thx _shopify-logo">Shopify</span> | ||
| 41 | <span class="_logo-info">Interested in working on one of the biggest commerce platforms in the world, in a delightful work environment? We're hiring developers, ops engineers, designers…</span> | ||
| 42 | </a> | ||
| 43 | """ | ||
| 44 | |||
| 45 | app.templates.splash = -> """ | 38 | app.templates.splash = -> """ |
| 46 | <div class="_splash-title">DevDocs</div> | 39 | <div class="_splash-title">DevDocs</div> |
| 47 | <div class="_splash-sponsors"> | 40 | <div class="_splash-sponsors"> |
| 48 | #{jetBrainsLink '_splash-sponsor'} | 41 | #{jetBrainsLink '_splash-sponsor'} |
| 49 | #{codeSchoolLink '_splash-sponsor'} | 42 | #{codeSchoolLink '_splash-sponsor'} |
| 50 | #{shopifyLink '_splash-sponsor'} | ||
| 51 | </div> | 43 | </div> |
| 52 | """ | 44 | """ |
| 53 | 45 | ||
| @@ -72,7 +64,7 @@ app.templates.intro = """ · 18 unmodified lines | |||
| 72 | <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks! | 64 | <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks! |
| 73 | </ol> | 65 | </ol> |
| 74 | <p class="_intro-sponsors"> | 66 | <p class="_intro-sponsors"> |
| 75 | #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'} #{shopifyLink '_intro-sponsor'} | 67 | #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'} |
| 76 | <p>Happy coding! | 68 | <p>Happy coding! |
| 77 | </div></div> | 69 | </div></div> |
| 78 | """ | 70 | """ |
| @@ -96,7 +88,7 @@ app.templates.intro = """ · 17 unmodified lines | |||
| 96 | <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks! | 88 | <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks! |
| 97 | </ol> | 89 | </ol> |
| 98 | <p class="_intro-sponsors"> | 90 | <p class="_intro-sponsors"> |
| 99 | #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'} #{shopifyLink '_intro-sponsor'} | 91 | #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'} |
| 100 | <p>Happy coding! | 92 | <p>Happy coding! |
| 101 | </div></div> | 93 | </div></div> |
| 102 | """ | 94 | """ |
| @@ -124,7 +116,7 @@ app.templates.mobileIntro = """ · 21 unmodified lines | |||
| 124 | <li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a> | 116 | <li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a> |
| 125 | </ol> | 117 | </ol> |
| 126 | <p>Happy coding! | 118 | <p>Happy coding! |
| 127 | <p class="_intro-sponsors">#{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'} #{shopifyLink '_intro-sponsor'}</p> | 119 | <p class="_intro-sponsors">#{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}</p> |
| 128 | <a class="_intro-hide" data-hide-intro>Stop showing this message</a> | 120 | <a class="_intro-hide" data-hide-intro>Stop showing this message</a> |
| 129 | </div> | 121 | </div> |
| 130 | """ | 122 | """ |
| @@ -428,29 +428,6 @@ · 427 unmodified lines | |||
| 428 | :hover > & { opacity: 1; } | 428 | :hover > & { opacity: 1; } |
| 429 | } | 429 | } |
| 430 | 430 | ||
| 431 | ._shopify-logo { | ||
| 432 | width: 5.5rem; | ||
| 433 | background-image: image-url('shopify.png'); | ||
| 434 | background-size: 5.5rem 1.5rem; | ||
| 435 | |||
| 436 | @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { | ||
| 437 | background-image: image-url('shopify@2x.png'); | ||
| 438 | } | ||
| 439 | } | ||
| 440 | |||
| 441 | ._splash-sponsor > ._shopify-logo { | ||
| 442 | background-image: image-url('shopify-bw.png'); | ||
| 443 | |||
| 444 | @if $style == 'dark' { | ||
| 445 | filter: invert(100%); | ||
| 446 | -webkit-filter: invert(100%); | ||
| 447 | } | ||
| 448 | |||
| 449 | @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { | ||
| 450 | background-image: image-url('shopify-bw@2x.png'); | ||
| 451 | } | ||
| 452 | } | ||
| 453 | |||
| 454 | ._jetbrains-logo { | 431 | ._jetbrains-logo { |
| 455 | top: 1px; | 432 | top: 1px; |
| 456 | width: 5rem; | 433 | width: 5rem; |
| @@ -16,10 +16,6 @@ CACHE: · 15 unmodified lines | |||
| 16 | <%= image_path 'code-school@2x.png' %> | 16 | <%= image_path 'code-school@2x.png' %> |
| 17 | <%= image_path 'code-school-bw.png' %> | 17 | <%= image_path 'code-school-bw.png' %> |
| 18 | <%= image_path 'code-school-bw@2x.png' %> | 18 | <%= image_path 'code-school-bw@2x.png' %> |
| 19 | <%= image_path 'shopify.png' %> | ||
| 20 | <%= image_path 'shopify@2x.png' %> | ||
| 21 | <%= image_path 'shopify-bw.png' %> | ||
| 22 | <%= image_path 'shopify-bw@2x.png' %> | ||
| 23 | <%= asset_path 'docs.js' %> | 19 | <%= asset_path 'docs.js' %> |
| 24 | <%= doc_index_urls.join "\n" %> | 20 | <%= doc_index_urls.join "\n" %> |
| 25 | 21 | ||