History

End Jetbrains sponsorship

Thibaut committed 11 years ago

Commit edb09cc1 parent a91a2de10 files · +3 −67Browse files

Unified · Split

10 files
  1. README.md +1 −1
  2. assets/images/jetbrains-bw.png +0 −0
  3. assets/images/jetbrains-bw@2x.png +0 −0
  4. assets/images/jetbrains.png +0 −0
  5. assets/images/jetbrains@2x.png +0 −0
  6. assets/javascripts/templates/notif_tmpl.coffee +0 −1
  7. assets/javascripts/templates/pages/about_tmpl.coffee +2 −2
  8. assets/javascripts/templates/pages/root_tmpl.coffee.erb +4 −39
  9. assets/stylesheets/components/_content.scss +0 −24
  10. views/manifest.erb +0 −4
README.md+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
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
5* Created by [Thibaut Courouble](http://thibaut.me)5* Created by [Thibaut Courouble](http://thibaut.me)
6* Supported by [JetBrains](http://out.devdocs.io/s/jetbrains) and [Code School](http://out.devdocs.io/s/code-school)6* Sponsored by [Code School](http://out.devdocs.io/s/code-school)
7 7
8Keep track of development and community news:8Keep track of development and community news:
9 9
assets/images/jetbrains-bw.png+0−0

Binary file not shown.

assets/images/jetbrains-bw@2x.png+0−0

Binary file not shown.

assets/images/jetbrains.png+0−0

Binary file not shown.

assets/images/jetbrains@2x.png+0−0

Binary file not shown.

assets/javascripts/templates/notif_tmpl.coffee+0−1
@@ -36,7 +36,6 @@ app.templates.notifThanks = -> · 35 unmodified lines
36 textNotif """ Hi there! """,36 textNotif """ Hi there! """,
37 """ <p class="_notif-text">Like DevDocs? Check out these awesome companies who are making it possible:37 """ <p class="_notif-text">Like DevDocs? Check out these awesome companies who are making it possible:
38 <ul class="_notif-list">38 <ul class="_notif-list">
39 <li><a href="http://out.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://out.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.39 <li><a href="http://out.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 </ul>40 </ul>
42 <p class="_notif-text">Have a great day :) """41 <p class="_notif-text">Have a great day :) """
assets/javascripts/templates/pages/about_tmpl.coffee+2−2
@@ -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://out.devdocs.io/s/jetbrains">JetBrains</a> and <a href="http://out.devdocs.io/s/code-school">Code School</a>16 <li>Sponsored by <a href="http://out.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,7 +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://out.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 DevDocs33 <li><a href="http://out.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://out.devdocs.io/s/shopify">Shopify</a> for supporting DevDocs in the past34 <li><a href="http://out.devdocs.io/s/maxcdn">MaxCDN</a>, <a href="http://out.devdocs.io/s/shopify">Shopify</a> and <a href="http://out.devdocs.io/s/jetbrains">JetBrains</a> for sponsoring DevDocs in the past
35 <li><a href="https://www.heroku.com">Heroku</a> and <a href="http://newrelic.com">New Relic</a> for providing awesome free service35 <li><a href="https://www.heroku.com">Heroku</a> and <a href="http://newrelic.com">New Relic</a> for providing awesome free service
36 <li>Daniel Bruce for the <a href="http://www.entypo.com">Entypo</a> pictograms36 <li>Daniel Bruce for the <a href="http://www.entypo.com">Entypo</a> pictograms
37 <li><a href="http://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo37 <li><a href="http://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo
assets/javascripts/templates/pages/root_tmpl.coffee.erb+4−39
@@ -1,33 +1,3 @@
1jetBrainsLink = (className) ->
2 type = jetBrainsType()
3 path = "/#{type}" if type
4
5 """
6 <a href="http://out.devdocs.io/s/jetbrains#{path || ''}" class="#{className}">
7 <span class="_logo-thx _jetbrains-logo">JetBrains</span>
8 <span class="_logo-info">#{JETBRAINS_INFO[type || 'default']}</span>
9 </a>
10 """
11
12JETBRAINS_INFO =
13 ruby: 'Developing in Ruby? Boost your productivity with RubyMine, a powerful IDE with smart coding assistance and advanced testing and debugging features.'
14 python: 'Developing in Python? Enjoy productive development with PyCharm, an intelligent Python IDE offering unique coding experience.'
15 c: 'Developing in C? Now benefit from CLion, a C/C++ IDE enhancing your productivity with on-thy-fly static analysis and automated refactorings.'
16 web: 'Doing client-side development? Try WebStorm, an IDE that really understands JavaScript and modern frameworks like AngularJS and boosts your productivity.'
17 default: 'JetBrains makes software development a more productive and enjoyable experience through smart IDEs and code editors.'
18
19jetBrainsType = ->
20 docs = if app.settings then app.settings.getDocs() else []
21
22 if docs.indexOf('ruby') != -1
23 'ruby'
24 else if docs.indexOf('python') != -1 || docs.indexOf('python2') != -1
25 'python'
26 else if docs.indexOf('c') != -1 or docs.indexOf('cpp') != -1
27 'c'
28 else if docs.indexOf('javascript') != -1 or docs.indexOf('jquery') != -1
29 'web'
30
31codeSchoolLink = (className) -> """1codeSchoolLink = (className) -> """
32 <a href="http://out.devdocs.io/s/code-school" class="#{className}">2 <a href="http://out.devdocs.io/s/code-school" class="#{className}">
33 <span class="_logo-thx _code-school-logo">Code School</span>3 <span class="_logo-thx _code-school-logo">Code School</span>
@@ -37,10 +7,7 @@ codeSchoolLink = (className) -> """ · 3 unmodified lines
37 7
38app.templates.splash = -> """8app.templates.splash = -> """
39 <div class="_splash-title">DevDocs</div>9 <div class="_splash-title">DevDocs</div>
40 <div class="_splash-sponsors">10 <div class="_splash-sponsors">#{codeSchoolLink '_splash-sponsor'}</div>
41 #{jetBrainsLink '_splash-sponsor'}
42 #{codeSchoolLink '_splash-sponsor'}
43 </div>
44"""11"""
45 12
46<% if App.development? %>13<% if App.development? %>
@@ -63,8 +30,7 @@ app.templates.intro = """ · 16 unmodified lines
63 <a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files.30 <a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files.
64 <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks!31 <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks!
65 </ol>32 </ol>
66 <p class="_intro-sponsors">33 <p class="_intro-sponsors">#{codeSchoolLink '_intro-sponsor'}
67 #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}
68 <p>Happy coding!34 <p>Happy coding!
69 </div></div>35 </div></div>
70"""36"""
@@ -87,8 +53,7 @@ app.templates.intro = """ · 16 unmodified lines
87 <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>53 <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>
88 <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks!54 <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks!
89 </ol>55 </ol>
90 <p class="_intro-sponsors">56 <p class="_intro-sponsors">#{codeSchoolLink '_intro-sponsor'}
91 #{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}
92 <p>Happy coding!57 <p>Happy coding!
93 </div></div>58 </div></div>
94"""59"""
@@ -116,7 +81,7 @@ app.templates.mobileIntro = """ · 21 unmodified lines
116 <li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a>81 <li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a>
117 </ol>82 </ol>
118 <p>Happy coding!83 <p>Happy coding!
119 <p class="_intro-sponsors">#{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}</p>84 <p class="_intro-sponsors">#{codeSchoolLink '_intro-sponsor'}</p>
120 <a class="_intro-hide" data-hide-intro>Stop showing this message</a>85 <a class="_intro-hide" data-hide-intro>Stop showing this message</a>
121 </div>86 </div>
122"""87"""
assets/stylesheets/components/_content.scss+0−24
@@ -456,30 +456,6 @@ · 455 unmodified lines
456 :hover > & { opacity: 1; }456 :hover > & { opacity: 1; }
457}457}
458 458
459._jetbrains-logo {
460 top: 1px;
461 width: 5rem;
462 background-image: image-url('jetbrains.png');
463 background-size: 5rem 1.5rem;
464
465 @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
466 background-image: image-url('jetbrains@2x.png');
467 }
468}
469
470._splash-sponsor > ._jetbrains-logo {
471 background-image: image-url('jetbrains-bw.png');
472
473 @if $style == 'dark' {
474 filter: invert(100%);
475 -webkit-filter: invert(100%);
476 }
477
478 @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
479 background-image: image-url('jetbrains-bw@2x.png');
480 }
481}
482
483._code-school-logo {459._code-school-logo {
484 width: 7rem;460 width: 7rem;
485 background-image: image-url('code-school.png');461 background-image: image-url('code-school.png');
views/manifest.erb+0−4
@@ -8,10 +8,6 @@ CACHE: · 7 unmodified lines
8<%= stylesheet_path 'application-dark' %>8<%= stylesheet_path 'application-dark' %>
9<%= image_path 'icons.png' %>9<%= image_path 'icons.png' %>
10<%= image_path 'icons@2x.png' %>10<%= image_path 'icons@2x.png' %>
11<%= image_path 'jetbrains.png' %>
12<%= image_path 'jetbrains@2x.png' %>
13<%= image_path 'jetbrains-bw.png' %>
14<%= image_path 'jetbrains-bw@2x.png' %>
15<%= image_path 'code-school.png' %>11<%= image_path 'code-school.png' %>
16<%= image_path 'code-school@2x.png' %>12<%= image_path 'code-school@2x.png' %>
17<%= image_path 'code-school-bw.png' %>13<%= image_path 'code-school-bw.png' %>