Skip to content

Commit edb09cc

Browse files
committed
End Jetbrains sponsorship
1 parent a91a2de commit edb09cc

10 files changed

Lines changed: 7 additions & 71 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
44

55
* 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)
77

88
Keep track of development and community news:
99

assets/images/jetbrains-bw.png

-1.36 KB
Binary file not shown.

assets/images/[email protected]

-3.23 KB
Binary file not shown.

assets/images/jetbrains.png

-2.32 KB
Binary file not shown.

assets/images/[email protected]

-5.04 KB
Binary file not shown.

assets/javascripts/templates/notif_tmpl.coffee

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ app.templates.notifThanks = ->
3636
textNotif """ Hi there! """,
3737
""" <p class="_notif-text">Like DevDocs? Check out these awesome companies who are making it possible:
3838
<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.
4039
<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.
4140
</ul>
4241
<p class="_notif-text">Have a great day :) """

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ app.templates.aboutPage = -> """
1313
<p>DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
1414
<ul>
1515
<li>Created and maintained by <a href="http://thibaut.me">Thibaut Courouble</a>
16-
<li>Supported by <a href="proxy.php?url=http%3A%2F%2Fout.devdocs.io%2Fs%2Fjetbrains">JetBrains</a> and <a href="proxy.php?url=http%3A%2F%2Fout.devdocs.io%2Fs%2Fcode-school">Code School</a>
16+
<li>Sponsored by <a href="proxy.php?url=http%3A%2F%2Fout.devdocs.io%2Fs%2Fcode-school">Code School</a>
1717
<li>Free and <a href="https://github.com/Thibaut/devdocs">open source</a>
1818
<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>
1919
</ul>
@@ -31,7 +31,7 @@ app.templates.aboutPage = -> """
3131
<p><strong>Special thanks to:</strong>
3232
<ul>
3333
<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="proxy.php?url=http%3A%2F%2Fout.devdocs.io%2Fs%2Fshopify">Shopify</a> for supporting DevDocs in the past
34+
<li><a href="proxy.php?url=http%3A%2F%2Fout.devdocs.io%2Fs%2F%3Cspan+class%3D"x x-first x-last">maxcdn">MaxCDN</a>, <a href="proxy.php?url=http%3A%2F%2Fout.devdocs.io%2Fs%2F%3C%2Fspan%3Eshopify">Shopify</a> and <a href="proxy.php?url=http%3A%2F%2Fout.devdocs.io%2Fs%2Fjetbrains">JetBrains</a> for sponsoring DevDocs in the past
3535
<li><a href="https://www.heroku.com">Heroku</a> and <a href="http://newrelic.com">New Relic</a> for providing awesome free service
3636
<li>Daniel Bruce for the <a href="http://www.entypo.com">Entypo</a> pictograms
3737
<li><a href="http://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo

assets/javascripts/templates/pages/root_tmpl.coffee.erb

Lines changed: 4 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,3 @@
1-
jetBrainsLink = (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-
12-
JETBRAINS_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-
19-
jetBrainsType = ->
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-
311
codeSchoolLink = (className) -> """
322
<a href="http://out.devdocs.io/s/code-school" class="#{className}">
333
<span class="_logo-thx _code-school-logo">Code School</span>
@@ -37,10 +7,7 @@ codeSchoolLink = (className) -> """
377

388
app.templates.splash = -> """
399
<div class="_splash-title">DevDocs</div>
40-
<div class="_splash-sponsors">
41-
#{jetBrainsLink '_splash-sponsor'}
42-
#{codeSchoolLink '_splash-sponsor'}
43-
</div>
10+
<div class="_splash-sponsors">#{codeSchoolLink '_splash-sponsor'}</div>
4411
"""
4512

4613
<% if App.development? %>
@@ -63,8 +30,7 @@ app.templates.intro = """
6330
<a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files.
6431
<li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks!
6532
</ol>
66-
<p class="_intro-sponsors">
67-
#{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}
33+
<p class="_intro-sponsors">#{codeSchoolLink '_intro-sponsor'}
6834
<p>Happy coding!
6935
</div></div>
7036
"""
@@ -87,8 +53,7 @@ app.templates.intro = """
8753
<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>
8854
<li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks!
8955
</ol>
90-
<p class="_intro-sponsors">
91-
#{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}
56+
<p class="_intro-sponsors">#{codeSchoolLink '_intro-sponsor'}
9257
<p>Happy coding!
9358
</div></div>
9459
"""
@@ -116,7 +81,7 @@ app.templates.mobileIntro = """
11681
<li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a>
11782
</ol>
11883
<p>Happy coding!
119-
<p class="_intro-sponsors">#{jetBrainsLink '_intro-sponsor'} #{codeSchoolLink '_intro-sponsor'}</p>
84+
<p class="_intro-sponsors">#{codeSchoolLink '_intro-sponsor'}</p>
12085
<a class="_intro-hide" data-hide-intro>Stop showing this message</a>
12186
</div>
12287
"""

assets/stylesheets/components/_content.scss

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -456,30 +456,6 @@
456456
:hover > & { opacity: 1; }
457457
}
458458

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('[email protected]');
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('[email protected]');
480-
}
481-
}
482-
483459
._code-school-logo {
484460
width: 7rem;
485461
background-image: image-url('code-school.png');

views/manifest.erb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ CACHE:
88
<%= stylesheet_path 'application-dark' %>
99
<%= image_path 'icons.png' %>
1010
<%= image_path '[email protected]' %>
11-
<%= image_path 'jetbrains.png' %>
12-
<%= image_path '[email protected]' %>
13-
<%= image_path 'jetbrains-bw.png' %>
14-
<%= image_path '[email protected]' %>
1511
<%= image_path 'code-school.png' %>
1612
<%= image_path '[email protected]' %>
1713
<%= image_path 'code-school-bw.png' %>

0 commit comments

Comments
 (0)