Unified · Split
| @@ -3,7 +3,6 @@ · 2 unmodified lines | ||
| 3 | 3 | DevDocs combines multiple API documentations in a fast, organized, and searchable interface. |
| 4 | 4 | |
| 5 | 5 | * Created by [Thibaut Courouble](http://thibaut.me) |
| 6 | −* Sponsored by [Code School](http://out.devdocs.io/s/code-school) | |
| 7 | 6 | |
| 8 | 7 | Keep track of development and community news: |
| 9 | 8 | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| @@ -116,7 +116,6 @@ · 115 unmodified lines | ||
| 116 | 116 | visitCount = @settings.get('count') |
| 117 | 117 | @settings.set 'count', ++visitCount |
| 118 | 118 | new app.views.Notif 'Share', autoHide: null if visitCount is 5 |
| 119 | − new app.views.Notif 'Thanks', autoHide: null if visitCount is 10 | |
| 120 | 119 | new app.views.News() |
| 121 | 120 | @updateChecker = new app.UpdateChecker() |
| 122 | 121 | |
| @@ -32,14 +32,6 @@ app.templates.notifShare = -> · 31 unmodified lines | ||
| 32 | 32 | <a href="http://out.devdocs.io/s/tw" target="_blank">Twitter</a>, <a href="http://out.devdocs.io/s/fb" target="_blank">Facebook</a>, |
| 33 | 33 | <a href="http://out.devdocs.io/s/re" target="_blank">Reddit</a>, etc.<br>Thanks :) """ |
| 34 | 34 | |
| 35 | −app.templates.notifThanks = -> | |
| 36 | − textNotif """ Hi there! """, | |
| 37 | − """ <p class="_notif-text">Like DevDocs? Check out these awesome companies who are making it possible: | |
| 38 | − <ul class="_notif-list"> | |
| 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. | |
| 40 | − </ul> | |
| 41 | − <p class="_notif-text">Have a great day :) """ | |
| 42 | − | |
| 43 | 35 | app.templates.notifUpdateDocs = -> |
| 44 | 36 | textNotif """ Documentation updates available. """, |
| 45 | 37 | """ <a href="/offline">Install them</a> as soon as possible to avoid broken pages. """ |
| @@ -13,7 +13,6 @@ app.templates.aboutPage = -> """ · 12 unmodified lines | ||
| 13 | 13 | <p>DevDocs combines multiple API documentations in a fast, organized, and searchable interface. |
| 14 | 14 | <ul> |
| 15 | 15 | <li>Created and maintained by <a href="http://thibaut.me">Thibaut Courouble</a> |
| 16 | − <li>Sponsored by <a href="http://out.devdocs.io/s/code-school">Code School</a> | |
| 17 | 16 | <li>Free and <a href="https://github.com/Thibaut/devdocs">open source</a> |
| 18 | 17 | <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 | 18 | </ul> |
| @@ -31,7 +30,7 @@ app.templates.aboutPage = -> """ · 11 unmodified lines | ||
| 31 | 30 | <p><strong>Special thanks to:</strong> |
| 32 | 31 | <ul> |
| 33 | 32 | <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/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 | |
| 33 | + <li><a href="http://out.devdocs.io/s/maxcdn">MaxCDN</a>, <a href="http://out.devdocs.io/s/shopify">Shopify</a>, <a href="http://out.devdocs.io/s/jetbrains">JetBrains</a> and <a href="http://out.devdocs.io/s/code-school">Code School</a> for sponsoring DevDocs in the past | |
| 35 | 34 | <li><a href="https://www.heroku.com">Heroku</a> and <a href="http://newrelic.com">New Relic</a> for providing awesome free service |
| 36 | 35 | <li>Daniel Bruce for the <a href="http://www.entypo.com">Entypo</a> pictograms |
| 37 | 36 | <li><a href="http://www.jeremykratz.com/">Jeremy Kratz</a> for the C/C++ logo |
| @@ -1,14 +1,4 @@ | ||
| 1 | −codeSchoolLink = (className) -> """ | |
| 2 | − <a href="http://out.devdocs.io/s/code-school" class="#{className}"> | |
| 3 | − <span class="_logo-thx _code-school-logo">Code School</span> | |
| 4 | − <span class="_logo-info">With more than 45 courses covering JavaScript, HTML/CSS, Ruby, Git, and iOS, Code School pairs experienced instructors with engaging content. Start learning at codeschool.com.</span> | |
| 5 | − </a> | |
| 6 | −""" | |
| 7 | − | |
| 8 | −app.templates.splash = -> """ | |
| 9 | − <div class="_splash-title">DevDocs</div> | |
| 10 | − <div class="_splash-sponsors">#{codeSchoolLink '_splash-sponsor'}</div> | |
| 11 | −""" | |
| 1 | +app.templates.splash = """<div class="_splash-title">DevDocs</div>""" | |
| 12 | 2 | |
| 13 | 3 | <% if App.development? %> |
| 14 | 4 | app.templates.intro = """ |
| @@ -30,7 +20,6 @@ app.templates.intro = """ · 15 unmodified lines | ||
| 30 | 20 | <a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files. |
| 31 | 21 | <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks! |
| 32 | 22 | </ol> |
| 33 | − <p class="_intro-sponsors">#{codeSchoolLink '_intro-sponsor'} | |
| 34 | 23 | <p>Happy coding! |
| 35 | 24 | </div></div> |
| 36 | 25 | """ |
| @@ -53,7 +42,6 @@ app.templates.intro = """ · 16 unmodified lines | ||
| 53 | 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> |
| 54 | 43 | <li>If you like the app, please consider supporting the project on <a href="https://gratipay.com/devdocs/">Gratipay</a>. Thanks! |
| 55 | 44 | </ol> |
| 56 | − <p class="_intro-sponsors">#{codeSchoolLink '_intro-sponsor'} | |
| 57 | 45 | <p>Happy coding! |
| 58 | 46 | </div></div> |
| 59 | 47 | """ |
| @@ -81,7 +69,6 @@ app.templates.mobileIntro = """ · 21 unmodified lines | ||
| 81 | 69 | <li>DevDocs is <a href="https://github.com/Thibaut/devdocs">open source</a> |
| 82 | 70 | </ol> |
| 83 | 71 | <p>Happy coding! |
| 84 | − <p class="_intro-sponsors">#{codeSchoolLink '_intro-sponsor'}</p> | |
| 85 | 72 | <a class="_intro-hide" data-hide-intro>Stop showing this message</a> |
| 86 | 73 | </div> |
| 87 | 74 | """ |
| @@ -72,31 +72,6 @@ · 71 unmodified lines | ||
| 72 | 72 | @extend ._booting:before, %user-select-none; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | −._splash-sponsors { | |
| 76 | − position: absolute; | |
| 77 | − top: 50%; | |
| 78 | − left: 0; | |
| 79 | − right: 0; | |
| 80 | − margin-top: 1.25rem; | |
| 81 | − text-align: center; | |
| 82 | − line-height: 2rem; | |
| 83 | −} | |
| 84 | − | |
| 85 | −._splash-sponsor { | |
| 86 | − position: relative; | |
| 87 | − display: inline-block; | |
| 88 | − vertical-align: top; | |
| 89 | − margin: .5rem 1.5rem; | |
| 90 | − | |
| 91 | − ._logo-thx { opacity: .3; } | |
| 92 | − &:hover ._logo-thx { opacity: .6; } | |
| 93 | − | |
| 94 | − ._logo-info { | |
| 95 | − right: 50%; | |
| 96 | − margin-right: -9rem; | |
| 97 | − } | |
| 98 | −} | |
| 99 | − | |
| 100 | 75 | // |
| 101 | 76 | // Intro |
| 102 | 77 | // |
| @@ -132,22 +107,6 @@ · 29 unmodified lines | ||
| 132 | 107 | |
| 133 | 108 | ._intro-link { cursor: pointer; } |
| 134 | 109 | |
| 135 | −._intro-sponsors { | |
| 136 | − position: absolute; | |
| 137 | − bottom: 1rem; | |
| 138 | − right: 1rem; | |
| 139 | − margin: 0; | |
| 140 | − line-height: 1.5rem; | |
| 141 | −} | |
| 142 | − | |
| 143 | −._intro-sponsor { | |
| 144 | − display: inline-block; | |
| 145 | − vertical-align: top; | |
| 146 | − margin-left: .5em; | |
| 147 | − | |
| 148 | − &:hover { text-decoration: none; } | |
| 149 | −} | |
| 150 | − | |
| 151 | 110 | // |
| 152 | 111 | // Error |
| 153 | 112 | // |
| @@ -429,52 +388,3 @@ · 275 unmodified lines | ||
| 429 | 388 | vertical-align: text-top; |
| 430 | 389 | margin-left: .25rem; |
| 431 | 390 | } |
| 432 | − | |
| 433 | −._logo-thx { | |
| 434 | − position: relative; | |
| 435 | − display: inline-block; | |
| 436 | − vertical-align: top; | |
| 437 | − height: 1.5rem; | |
| 438 | − overflow: hidden; | |
| 439 | − text-indent: -20rem; | |
| 440 | − background-position: center center; | |
| 441 | − background-repeat: no-repeat; | |
| 442 | −} | |
| 443 | − | |
| 444 | −._logo-info { | |
| 445 | − top: auto; | |
| 446 | − bottom: 100%; | |
| 447 | − right: 0; | |
| 448 | − max-width: 18.25rem; | |
| 449 | − margin-bottom: .75rem; | |
| 450 | − padding: .5rem .75rem; | |
| 451 | − line-height: 1.375rem; | |
| 452 | − text-align: left; | |
| 453 | − pointer-events: none; | |
| 454 | − @extend %notif; | |
| 455 | − | |
| 456 | − :hover > & { opacity: 1; } | |
| 457 | −} | |
| 458 | − | |
| 459 | −._code-school-logo { | |
| 460 | − width: 7rem; | |
| 461 | − background-image: image-url('code-school.png'); | |
| 462 | − background-size: 7rem 1.25rem; | |
| 463 | − | |
| 464 | − @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { | |
| 465 | − background-image: image-url('code-school@2x.png'); | |
| 466 | − } | |
| 467 | −} | |
| 468 | − | |
| 469 | −._splash-sponsor > ._code-school-logo { | |
| 470 | − background-image: image-url('code-school-bw.png'); | |
| 471 | − | |
| 472 | − @if $style == 'dark' { | |
| 473 | − filter: invert(100%); | |
| 474 | − -webkit-filter: invert(100%); | |
| 475 | − } | |
| 476 | − | |
| 477 | − @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { | |
| 478 | − background-image: image-url('code-school-bw@2x.png'); | |
| 479 | − } | |
| 480 | −} | |
| @@ -8,10 +8,6 @@ CACHE: · 7 unmodified lines | ||
| 8 | 8 | <%= stylesheet_path 'application-dark' %> |
| 9 | 9 | <%= image_path 'icons.png' %> |
| 10 | 10 | <%= image_path 'icons@2x.png' %> |
| 11 | −<%= image_path 'code-school.png' %> | |
| 12 | −<%= image_path 'code-school@2x.png' %> | |
| 13 | −<%= image_path 'code-school-bw.png' %> | |
| 14 | −<%= image_path 'code-school-bw@2x.png' %> | |
| 15 | 11 | <%= asset_path 'docs.js' %> |
| 16 | 12 | <%= doc_index_urls.join "\n" %> |
| 17 | 13 | |