-
Notifications
You must be signed in to change notification settings - Fork 10
/
contribute.html
576 lines (544 loc) · 20.4 KB
/
contribute.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" ><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->
<!--
[[[[[[[[[[[[[[[ ]]]]]]]]]]]]]]]
[:::::::::::::: ::::::::::::::]
[:::::::::::::: ::::::::::::::]
[::::::[[[[[[[: :]]]]]]]::::::]
[:::::[ ]:::::]
[:::::[ ]:::::]
[:::::[ ]:::::]
[:::::[ ]:::::]
[:::::[ CODE THE WEB ]:::::]
[:::::[ http://brackets.io ]:::::]
[:::::[ ]:::::]
[:::::[ ]:::::]
[:::::[ ]:::::]
[:::::[ ]:::::]
[::::::[[[[[[[: :]]]]]]]::::::]
[:::::::::::::: ::::::::::::::]
[:::::::::::::: ::::::::::::::]
[[[[[[[[[[[[[[[ ]]]]]]]]]]]]]]]
-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title data-i18n="contribute.head.title">Brackets - Contribute</title>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/foundation.min.css" />
<link rel="stylesheet" href="fontawesome-free-5.15.4-web/css/all.css"/>
<!-- social media images -->
<link rel="image_src" href="/img/hero.png" />
<meta property="og:image" content="http://www.brackets.io/img/hero.png" />
<!-- Only Edit brackets.io.css -->
<link rel="stylesheet" href="css/brackets.io.css" />
<!-- Boxicons -->
<link
href="https://unpkg.com/[email protected]/css/boxicons.min.css"
rel="stylesheet"
/>
<!-- This needs to be at the top, not at the bottom like the other JS. Source Sans Pro - Light, Regular, Italic, Semibold -->
<script src="//use.edgefonts.net/source-sans-pro:n3,n4,n6,i3,i4;source-code-pro:n4.js"></script>
<!-- These stop FOUT -->
<style type="text/css">
.wf-loading h1,
.wf-loading h2,
.wf-loading h3,
.wf-loading h4,
.wf-loading h5,
.wf-loading h6,
.wf-loading p,
.wf-loading a {
visibility: hidden;
}
</style>
<link rel="stylesheet" href="css/spinner.css" />
<!-- SEO for internationalization: https://support.google.com/webmasters/answer/189077 -->
<link rel="alternate" href="?" hreflang="x-default" />
<link rel="alternate" href="?lang=en" hreflang="en" />
<link rel="alternate" href="?lang=de" hreflang="de" />
<link rel="alternate" href="?lang=it" hreflang="it" />
<link rel="alternate" href="?lang=pt-br" hreflang="pt-br" />
</head>
<body id="contribute">
<!-- Navigation Menu -->
<div class="navbar w-nav">
<div class="navbar-base">
<div class="navigation-container">
<div class="navigation-side">
<a href="/" class="brand w-nav-brand w--current">
<img src="./img/brackets.svg" alt="Brackets logo" class="logo" />
</a>
</div>
<div class="nav-left-menu" id="nav-l">
<div class="nav-menu w-nav-menu" id="nav-lmenu">
<!-- <nav class="nav-menu w-nav-menu" id="nav-menu">-->
<a
href="contribute.html"
data-i18n="nav.contribute"
class="nav-link w-inline-block"
>
Contribute
</a>
<a
href="docs/current/modules/brackets.html"
data-i18n="nav.apidocs"
class="nav-link w-inline-block"
>
API Docs
</a>
<a
href="https://registry.brackets.io"
data-i18n="nav.extensions"
class="nav-link w-inline-block"
>
Extensions
</a>
<a
href="https://github.com/brackets-cont/brackets/discussions"
data-i18n="nav.support"
class="nav-link w-inline-block"
>
Support
</a>
</div>
</div>
<nav class="nav-right-menu" id="nav-r">
<div class="nav-menu w-nav-menu" id="nav-rmenu">
<a
href="https://www.github.com/brackets-cont/brackets"
class="nav-link w-inline-block"
>
<i class="fab fa-github"></i>
</a>
<a
href="https://twitter.com/BracketsCont"
class="nav-link w-inline-block"
>
<i class="fab fa-twitter"></i>
</a>
<a
href="https://discord.com/invite/rBpTBPttca"
class="nav-link w-inline-block"
>
<i class="fab fa-discord"></i>
</a>
</div>
</nav>
<div class="hamburgerMenuIcon" id="hamburger">
<i class="bx bx-menu"></i>
</div>
</div>
</div>
</div>
<!-- End of Navigation Menu -->
<div id="hero-wrapper">
<div id="hero" class="row">
<div class="large-12 columns">
<h1 data-i18n="[html]contribute.page.hero.header">
Brackets is fun to hack on and easy to
<span class="nobr">contribute to.</span>
</h1>
<p class="intro-p" data-i18n="[html]contribute.page.hero.content">
Made with <span class="hearts">♥</span> and JavaScript, the
Brackets project is a community sandbox where everyone is invited to
experiment with new ideas for <span class="nobr">web tooling.</span>
</p>
<!-- Populate contributors via Github -->
<div id="contributors"></div>
</div>
</div>
</div>
<div id="sub-hero-wrapper">
<div class="sub-intro row">
<div class="medium-6 large-4 columns">
<h2 data-i18n="contribute.page.sub-hero.hack.header">
How to Hack on Brackets?
</h2>
<p>
<span data-i18n="contribute.page.sub-hero.hack.content"
>Read our detailed instructions for setting up a development
environment and get hacking right away.</span
>
</p>
<p>
<a
class="button radius secondary"
href="https://github.com/brackets-cont/brackets/wiki/How-to-Hack-on-Brackets"
data-i18n="contribute.page.sub-hero.hack.more"
>Learn How to Hack on Brackets</a
>
</p>
</div>
<div class="medium-6 large-4 columns">
<h2 data-i18n="contribute.page.sub-hero.extension.header">
How to Write Extensions?
</h2>
<p>
<span data-i18n="contribute.page.sub-hero.extension.content"
>Building a Brackets extension is the easiest way to experiment
with new ideas and share them with the community.</span
>
</p>
<p>
<a
class="button radius secondary"
href="https://github.com/brackets-cont/brackets/wiki/How-to-Write-Extensions"
data-i18n="contribute.page.sub-hero.extension.more"
>Learn How to Write Extensions</a
>
</p>
</div>
<div class="small-12 large-4 columns">
<h2 data-i18n="contribute.page.sub-hero.translate.header">
Help Translate Brackets
</h2>
<p>
<span data-i18n="[html]contribute.page.sub-hero.translate.content"
>Brackets is available in <span id="langCount">31</span> languages
that are contributed and maintained by the community.</span
>
</p>
<p>
<a
class="button radius secondary"
href="https://github.com/brackets-cont/brackets/blob/master/src/nls/README.md"
data-i18n="contribute.page.sub-hero.translate.more"
>Contribute a Translation</a
>
</p>
</div>
</div>
</div>
<div id="content-wrapper" style="display: none">
<!-- Hide this section until the new repo has enough issues to populate it -->
<div id="content" class="row">
<div class="medium-6 large-6 columns">
<h2>
<a
href="https://github.com/brackets-cont/brackets/labels/starter%20bug"
data-i18n="contribute.page.content.starter-issues.header"
>Starter Issues</a
>
</h2>
<p
data-i18n="[html]contribute.page.content.starter-issues.description"
>
Just getting started? Starter issues are bite-sized bugs that
shouldn't take more than an hour or two to complete. They are a
great way to learn the codebase <em>and</em> make a difference.
</p>
<div id="starter_issues">
<div class="spinner"></div>
<!-- JS generated content -->
</div>
<p>
<a
class="button radius secondary"
href="https://github.com/brackets-cont/brackets/issues?labels=starter+bug&page=1&state=open"
data-i18n="contribute.page.content.starter-issues.more"
>View All Starter Issues…</a
>
</p>
</div>
<div class="medium-6 large-6 columns">
<h2 data-i18n="contribute.page.content.starter-features.header">
Starter Features
</h2>
<p data-i18n="contribute.page.content.starter-features.description">
Ready for something bigger? Starter features are small ideas that
won't require a big time commitment. You should be able to complete
one in a couple weeknights or over a weekend.
</p>
<div id="starter_features">
<div class="spinner"></div>
<!-- JS generated content -->
</div>
<p>
<a
class="button radius secondary"
href="http://bit.ly/BracketsBacklog"
data-i18n="contribute.page.content.starter-features.more"
>View All Starter Features…</a
>
</p>
</div>
</div>
</div>
<div id="footer-wrapper">
<div id="footer" class="row">
<div class="medium-6 large-3 columns">
<h5 data-i18n="footer.links.header">Quick Links</h5>
<ul>
<li>
<a
href="https://github.com/brackets-cont/brackets"
data-i18n="footer.links.content.source"
>Source Code on Github</a
>
</li>
<li>
<a
href="docs/current/modules/brackets.html"
data-i18n="footer.links.content.apidocs"
>API Documentation</a
>
</li>
<!--<li>
<a href="https://ingorichter.github.io/BracketsExtensionTweetBot/" data-i18n="footer.links.content.extension-updates">Weekly Extension Updates</a>
</li>-->
<li>
<a
href="https://github.com/brackets-cont/brackets/wiki/Troubleshooting"
data-i18n="footer.links.content.troubleshooting"
>Troubleshooting Help</a
>
</li>
<li>
<a
href="https://github.com/brackets-cont/brackets/wiki"
data-i18n="footer.links.content.wiki"
>Wiki</a
>
</li>
</ul>
</div>
<div class="medium-6 large-3 columns">
<h5 id="try-it" data-i18n="footer.videos.header">Videos</h5>
<ul>
<li>
<a
href="http://youtu.be/rvo3Mv1Z4qU"
data-i18n="footer.videos.content.intro"
data-yt-id="rvo3Mv1Z4qU"
>Introducing Brackets</a
>
</li>
<li>
<a
href="http://youtu.be/Nhvj1NYC3Uc"
data-i18n="footer.videos.content.livedev"
data-yt-id="Nhvj1NYC3Uc"
>Live Development for HTML</a
>
</li>
<li>
<a
href="http://youtu.be/T6d5C3rLeFY"
data-i18n="footer.videos.content.theseus"
data-yt-id="T6d5C3rLeFY"
>JavaScript Debugger for Brackets</a
>
</li>
<li>
<a
href="http://tutsplus.com/courses/introduction-to-brackets?utm_source=Bracketsio&utm_medium=website&utm_campaign=BracketsWebsite"
data-i18n="footer.videos.content.tutsplus"
>Tuts+ Introduction to Brackets</a
>
</li>
<li>
<a
href="https://www.youtube.com/user/CodeBrackets"
data-i18n="footer.videos.content.youtube"
>Brackets Videos on Youtube</a
>
</li>
</ul>
</div>
<div class="medium-6 large-3 columns">
<h5 id="contribute-inv" data-i18n="footer.get-involved.header">
Get Involved
</h5>
<ul>
<!--<li>
<a href="https://github.com/brackets-cont/brackets/wiki/Suggest-a-Feature" data-i18n="footer.get-involved.content.suggest">Suggest a Feature</a>
</li>
<li>
<a href="http://bit.ly/BracketsBacklog" data-i18n="footer.get-involved.content.trello">View Backlog on Trello</a>
</li>
<li>
<a href="https://waffle.io/brackets-cont/brackets" data-i18n="footer.get-involved.content.waffle">Track Our Progress on Waffle</a>
</li>
<li>
<a href="https://groups.google.com/forum/#!forum/brackets-dev" data-i18n="footer.get-involved.content.devlist">Discuss on Google Groups</a>
</li>
<li>
<a href="http://webchat.freenode.net?channels=brackets&uio=d4" data-i18n="footer.get-involved.content.irc">Chat on IRC at Freenode/#Brackets</a>
</li>-->
<li>
<a
href="https://github.com/brackets-cont/brackets/issues"
data-i18n="footer.get-involved.content.issues"
>Checkout Current Issues on GitHub</a
>
</li>
</ul>
</div>
<div class="medium-6 large-3 columns">
<h5 data-i18n="footer.in-touch.header">Keep in Touch</h5>
<ul>
<!--
<li>
<a href="https://twitter.com/brackets">Twitter</a>
</li>
<li>
<a href="https://www.facebook.com/codebrackets">Facebook</a>
</li>
<li>
<a href="https://plus.google.com/b/115365194873502050036/">Google+</a>
</li> -->
<li>
<a href="https://matrix.to/#/%23brackets-cont:matrix.org"
>Matrix</a
>
</li>
<li>
<a href="https://discord.gg/rBpTBPttca">Discord</a>
</li>
<li>
<a href="https://reddit.com/r/brackets/">Reddit</a>
</li>
</ul>
</div>
</div>
<div id="about" class="row">
<div class="large-12 columns">
<p>
<span data-i18n="footer.project-info.motivation"
>Brackets was founded by Adobe as a community guided, open source
project to push web development editors to the next level, and
discontinued recently. This is an open source project to continue
the development of Brackets.</span
><br />
</p>
</div>
</div>
</div>
<script src="js/vendor/custom.modernizr.js"></script>
<script src="js/vendor/jquery.js"></script>
<script src="js/i18next.min.js"></script>
<script src="js/foundation.min.js"></script>
<script src="js/nav.js"></script>
<script src="js/youtube-modal.js"></script>
<script>
$(document).foundation();
</script>
<script src="js/load.i18next.js"></script>
<script>
// get contributors
$.getJSON(
"https://api.github.com/repos/brackets-cont/brackets/contributors?per_page=100"
).done(function (data) {
var displayContent = "";
data.forEach(function (member) {
displayContent += '<a href="' + member.html_url + '">';
displayContent +=
'<img src="' +
member.avatar_url.split("?")[0] +
'?s=48" title="' +
member.login +
'">';
displayContent += "</a>";
});
if (displayContent) {
$("#contributors").html(displayContent);
}
});
function localizedCommentsCount(count) {
var fallback = count + " " + (count === 1 ? "comment" : "comments"),
translation = i18n.t("contribute.page.content.comments.comments", {
count: count,
defaultValue: fallback,
});
if (translation.substr(0, 16) === "plural_not_found") {
return fallback;
}
return translation;
}
// don't load starter issues or features on smartphones
if (document.documentElement.clientWidth > 480) {
// get starter issues from github
$.getJSON(
"https://api.github.com/repos/brackets-cont/brackets/issues?labels=starter+bug&state=open&per_page=7"
).done(function (data) {
i18nLoaded.done(function () {
// update issue list
var feature_content = "";
data.forEach(function (entry) {
feature_content += '<article class="card">';
feature_content +=
'<a href="' +
entry.html_url +
'"><header><h3>' +
$("<div/>").text(entry.title).html() +
"</h3></header>";
feature_content +=
'<footer><div class="comment-count">' +
localizedCommentsCount(entry.comments) +
"</div></footer>";
feature_content += "</a></article>";
});
$("#starter_issues").html(feature_content);
});
});
// get starter features from trello
$.getJSON(
"https://api.trello.com/1/boards/4f90a6d98f77505d7940ce88/cards?key=1953abc13ad18fd16a66a2a1d938a07a&filter=open&fields=badges,name,url,labels"
).done(function (data) {
i18nLoaded.done(function () {
// update starter feature list
var limit = 7;
var feature_content = "";
for (i = 0; i < data.length && limit > 0; i++) {
var feature = data[i];
if (
feature.labels.some(function (label) {
return label.color === "green";
})
) {
// labelled Starter Feature
feature_content += '<article class="card">';
feature_content +=
'<a href="' +
feature.url +
'"><header><h3>' +
$("<div/>").text(feature.name).html() +
"</h3></header>";
feature_content +=
'<footer><div class="comment-count">' +
localizedCommentsCount(feature.badges.comments) +
"</div></footer>";
feature_content += "</a></article>";
limit--;
}
}
$("#starter_features").html(feature_content);
});
});
}
// retrieve the actual count of available languages
$.getJSON(
"https://api.github.com/repos/brackets-cont/brackets/contents/src/nls"
).done(function (data) {
i18nLoaded.done(function () {
$("#langCount").text(
data.filter(function (entry) {
return entry.type === "dir";
}).length
);
});
});
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XHYXL1VHXW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XHYXL1VHXW');
</script>
</body>
</html>