Skip to content

Commit ddcb06c

Browse files
committed
Update docs
1 parent f4905c6 commit ddcb06c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+188
-332
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
require(['gitbook', 'jquery'], function(gitbook, $) {
2+
var SITES = {
3+
'facebook': {
4+
'label': 'Facebook',
5+
'icon': 'fa fa-facebook',
6+
'onClick': function(e) {
7+
e.preventDefault();
8+
window.open('http://www.facebook.com/sharer/sharer.php?s=100&p[url]='+encodeURIComponent(location.href));
9+
}
10+
},
11+
'twitter': {
12+
'label': 'Twitter',
13+
'icon': 'fa fa-twitter',
14+
'onClick': function(e) {
15+
e.preventDefault();
16+
window.open('http://twitter.com/home?status='+encodeURIComponent(document.title+' '+location.href));
17+
}
18+
},
19+
'google': {
20+
'label': 'Google+',
21+
'icon': 'fa fa-google-plus',
22+
'onClick': function(e) {
23+
e.preventDefault();
24+
window.open('https://plus.google.com/share?url='+encodeURIComponent(location.href));
25+
}
26+
},
27+
'weibo': {
28+
'label': 'Weibo',
29+
'icon': 'fa fa-weibo',
30+
'onClick': function(e) {
31+
e.preventDefault();
32+
window.open('http://service.weibo.com/share/share.php?content=utf-8&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));
33+
}
34+
},
35+
'instapaper': {
36+
'label': 'Instapaper',
37+
'icon': 'fa fa-instapaper',
38+
'onClick': function(e) {
39+
e.preventDefault();
40+
window.open('http://www.instapaper.com/text?u='+encodeURIComponent(location.href));
41+
}
42+
},
43+
'vk': {
44+
'label': 'VK',
45+
'icon': 'fa fa-vk',
46+
'onClick': function(e) {
47+
e.preventDefault();
48+
window.open('http://vkontakte.ru/share.php?url='+encodeURIComponent(location.href));
49+
}
50+
}
51+
};
52+
53+
54+
55+
gitbook.events.bind('start', function(e, config) {
56+
var opts = config.sharing;
57+
58+
// Create dropdown menu
59+
var menu = $.map(opts.all, function(id) {
60+
var site = SITES[id];
61+
62+
return {
63+
text: site.label,
64+
onClick: site.onClick
65+
};
66+
});
67+
68+
// Create main button with dropdown
69+
if (menu.length > 0) {
70+
gitbook.toolbar.createButton({
71+
icon: 'fa fa-share-alt',
72+
label: 'Share',
73+
position: 'right',
74+
dropdown: [menu]
75+
});
76+
}
77+
78+
// Direct actions to share
79+
$.each(SITES, function(sideId, site) {
80+
if (!opts[sideId]) return;
81+
82+
gitbook.toolbar.createButton({
83+
icon: site.icon,
84+
label: site.text,
85+
position: 'right',
86+
onClick: site.onClick
87+
});
88+
});
89+
});
90+
});

index.html

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -717,24 +717,7 @@ <h1 id="&#xBC88;&#xC5ED;-&#xBC94;&#xC704;">&#xBC88;&#xC5ED; &#xBC94;&#xC704;</h1
717717
<h1 id="&#xC9C4;&#xD589;-&#xC0C1;&#xD669;">&#xC9C4;&#xD589; &#xC0C1;&#xD669;</h1>
718718
<p><a href="https://github.com/typescript-kr/typescript-kr.github.io/blob/master/progress.md" target="_blank">&#xC774;&#xACF3;</a>&#xC744; &#xD1B5;&#xD574; &#xD655;&#xC778;&#xD560; &#xC218; &#xC788;&#xC2B5;&#xB2C8;&#xB2E4;.</p>
719719
<h1 id="&#xAE30;&#xC5EC;">&#xAE30;&#xC5EC;</h1>
720-
<p>&lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD</p>
721-
<h1 id="&#xBC88;&#xC5ED;&#xAC00;&#xC774;&#xB4DC;-&#xBC0F;-&#xADDC;&#xCE59;&#xC744;-&#xCC38;&#xACE0;&#xD558;&#xC5EC;-develop-&#xBE0C;&#xB79C;&#xCE58;&#xC5D0;-pr-&#xD574;&#xC8FC;&#xC2DC;&#xBA74;-&#xB429;&#xB2C8;&#xB2E4;"><a href="https://github.com/typescript-kr/typescript-kr.github.io/wiki/translation-rules" target="_blank">&#xBC88;&#xC5ED;&#xAC00;&#xC774;&#xB4DC; &#xBC0F; &#xADDC;&#xCE59;</a>&#xC744; &#xCC38;&#xACE0;&#xD558;&#xC5EC; <code>develop &#xBE0C;&#xB79C;&#xCE58;</code>&#xC5D0; PR &#xD574;&#xC8FC;&#xC2DC;&#xBA74; &#xB429;&#xB2C8;&#xB2E4;.</h1>
722-
<p><a href="https://github.com/typescript-kr/typescript-kr.github.io/wiki/translation-rules" target="_blank">&#xBC88;&#xC5ED;&#xAC00;&#xC774;&#xB4DC; &#xBC0F; &#xADDC;&#xCE59;</a>&#xC744; &#xCC38;&#xACE0;&#xD558;&#xC5EC; PR &#xD574;&#xC8FC;&#xC2DC;&#xBA74; &#xB429;&#xB2C8;&#xB2E4;.</p>
723-
<blockquote>
724-
<blockquote>
725-
<blockquote>
726-
<blockquote>
727-
<blockquote>
728-
<blockquote>
729-
<blockquote>
730-
<p>764cb472fb0987a1c9354cebc6699cc41293004c</p>
731-
</blockquote>
732-
</blockquote>
733-
</blockquote>
734-
</blockquote>
735-
</blockquote>
736-
</blockquote>
737-
</blockquote>
720+
<p><a href="https://github.com/typescript-kr/typescript-kr.github.io/wiki/translation-rules" target="_blank">&#xBC88;&#xC5ED;&#xAC00;&#xC774;&#xB4DC; &#xBC0F; &#xADDC;&#xCE59;</a>&#xC744; &#xCC38;&#xACE0;&#xD558;&#xC5EC; <code>develop &#xBE0C;&#xB79C;&#xCE58;</code>&#xC5D0; PR &#xD574;&#xC8FC;&#xC2DC;&#xBA74; &#xB429;&#xB2C8;&#xB2E4;.</p>
738721
<p>&#xAE43;&#xD5D9; &#xC0AC;&#xC6A9;&#xC774; &#xC5B4;&#xB835;&#xAC70;&#xB098; &#xAC04;&#xB2E8;&#xD55C; &#xC758;&#xACAC; &#xAC19;&#xC740; &#xACBD;&#xC6B0;&#xC5D0;&#xB294; <a href="https://github.com/typescript-kr/typescript-kr.github.io/issues" target="_blank">&#xC774;&#xC288;</a> &#xB4F1;&#xB85D;&#xC744; &#xD574;&#xC8FC;&#xC2DC;&#xBA74; &#xAC10;&#xC0AC;&#xD558;&#xACA0;&#xC2B5;&#xB2C8;&#xB2E4;</p>
739722
<p>&#xADF8; &#xBC16;&#xC5D0;&#xB3C4; &#xB2E4;&#xC591;&#xD55C; &#xC758;&#xACAC; &#xBC0F; &#xD53C;&#xB4DC;&#xBC31;&#xC740; &#xC5B8;&#xC81C;&#xB098; &#xD658;&#xC601;&#xD569;&#xB2C8;&#xB2E4;:)</p>
740723

@@ -776,7 +759,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
776759
<script>
777760
var gitbook = gitbook || [];
778761
gitbook.push(function() {
779-
gitbook.page.hasChanged({"page":{"title":"소개","level":"1.1","depth":1,"next":{"title":"5분 안에 보는 TypeScript","level":"2.1","depth":1,"path":"pages/tutorials/TypeScript in 5 minutes.md","ref":"pages/tutorials/TypeScript in 5 minutes.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["theme-darkblue","addcssjs","highlight-1","custom-favicon","forkmegithub","sitemap-general","sitemap"],"pluginsConfig":{"github":{"url":"https://github.com/typescript-kr/typescript-kr.github.io"},"search":{},"addcssjs":{"js":[],"css":["assets/css/atom-one-dark.css"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sitemap-general":{"prefix":"https://typescript-kr.gitbooks.io/"},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-darkblue":{},"highlight":{},"favicon":"assets/images/favicon.ico","sitemap":{"hostname":"https://typescript-kr.github.io/"},"highlight-1":{},"custom-favicon":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"forkmegithub":{"color":"darkblue","url":"https://github.com/typescript-kr/typescript-kr.github.io"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2018-04-10T07:01:22.930Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-10T07:07:23.049Z"},"basePath":".","book":{"language":""}});
762+
gitbook.page.hasChanged({"page":{"title":"소개","level":"1.1","depth":1,"next":{"title":"5분 안에 보는 TypeScript","level":"2.1","depth":1,"path":"pages/tutorials/TypeScript in 5 minutes.md","ref":"pages/tutorials/TypeScript in 5 minutes.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["theme-darkblue","addcssjs","highlight-1","custom-favicon","forkmegithub","sitemap-general","sitemap"],"pluginsConfig":{"github":{"url":"https://github.com/typescript-kr/typescript-kr.github.io"},"search":{},"addcssjs":{"js":[],"css":["assets/css/atom-one-dark.css"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sitemap-general":{"prefix":"https://typescript-kr.gitbooks.io/"},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-darkblue":{},"highlight":{},"favicon":"assets/images/favicon.ico","sitemap":{"hostname":"https://typescript-kr.github.io/"},"highlight-1":{},"custom-favicon":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"forkmegithub":{"color":"darkblue","url":"https://github.com/typescript-kr/typescript-kr.github.io"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2018-04-10T07:35:33.312Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-10T07:36:45.378Z"},"basePath":".","book":{"language":""}});
780763
});
781764
</script>
782765
</div>

pages/Advanced Types.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
13801380
<script>
13811381
var gitbook = gitbook || [];
13821382
gitbook.push(function() {
1383-
gitbook.page.hasChanged({"page":{"title":"고급 타입","level":"3.10","depth":1,"next":{"title":"심볼","level":"3.11","depth":1,"path":"pages/Symbols.md","ref":"pages/Symbols.md","articles":[]},"previous":{"title":"타입 호환성","level":"3.9","depth":1,"path":"pages/Type Compatibility.md","ref":"pages/Type Compatibility.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["theme-darkblue","addcssjs","highlight-1","custom-favicon","forkmegithub","sitemap-general","sitemap"],"pluginsConfig":{"github":{"url":"https://github.com/typescript-kr/typescript-kr.github.io"},"search":{},"addcssjs":{"js":[],"css":["assets/css/atom-one-dark.css"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sitemap-general":{"prefix":"https://typescript-kr.gitbooks.io/"},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-darkblue":{},"highlight":{},"favicon":"assets/images/favicon.ico","sitemap":{"hostname":"https://typescript-kr.github.io/"},"highlight-1":{},"custom-favicon":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"forkmegithub":{"color":"darkblue","url":"https://github.com/typescript-kr/typescript-kr.github.io"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"pages/Advanced Types.md","mtime":"2018-04-10T01:49:10.168Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-10T07:07:23.049Z"},"basePath":"..","book":{"language":""}});
1383+
gitbook.page.hasChanged({"page":{"title":"고급 타입","level":"3.10","depth":1,"next":{"title":"심볼","level":"3.11","depth":1,"path":"pages/Symbols.md","ref":"pages/Symbols.md","articles":[]},"previous":{"title":"타입 호환성","level":"3.9","depth":1,"path":"pages/Type Compatibility.md","ref":"pages/Type Compatibility.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["theme-darkblue","addcssjs","highlight-1","custom-favicon","forkmegithub","sitemap-general","sitemap"],"pluginsConfig":{"github":{"url":"https://github.com/typescript-kr/typescript-kr.github.io"},"search":{},"addcssjs":{"js":[],"css":["assets/css/atom-one-dark.css"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sitemap-general":{"prefix":"https://typescript-kr.gitbooks.io/"},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-darkblue":{},"highlight":{},"favicon":"assets/images/favicon.ico","sitemap":{"hostname":"https://typescript-kr.github.io/"},"highlight-1":{},"custom-favicon":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"forkmegithub":{"color":"darkblue","url":"https://github.com/typescript-kr/typescript-kr.github.io"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"pages/Advanced Types.md","mtime":"2018-04-10T07:07:48.101Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-10T07:36:45.378Z"},"basePath":"..","book":{"language":""}});
13841384
});
13851385
</script>
13861386
</div>

pages/Basic Types.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
905905
<script>
906906
var gitbook = gitbook || [];
907907
gitbook.push(function() {
908-
gitbook.page.hasChanged({"page":{"title":"기본 타입","level":"3.1","depth":1,"next":{"title":"변수 선언","level":"3.2","depth":1,"path":"pages/Variable Declarations.md","ref":"pages/Variable Declarations.md","articles":[]},"previous":{"title":"리액트 & 웹팩","level":"2.5","depth":1,"path":"pages/tutorials/React & Webpack.md","ref":"pages/tutorials/React & Webpack.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["theme-darkblue","addcssjs","highlight-1","custom-favicon","forkmegithub","sitemap-general","sitemap"],"pluginsConfig":{"github":{"url":"https://github.com/typescript-kr/typescript-kr.github.io"},"search":{},"addcssjs":{"js":[],"css":["assets/css/atom-one-dark.css"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sitemap-general":{"prefix":"https://typescript-kr.gitbooks.io/"},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-darkblue":{},"highlight":{},"favicon":"assets/images/favicon.ico","sitemap":{"hostname":"https://typescript-kr.github.io/"},"highlight-1":{},"custom-favicon":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"forkmegithub":{"color":"darkblue","url":"https://github.com/typescript-kr/typescript-kr.github.io"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"pages/Basic Types.md","mtime":"2018-04-10T01:49:10.174Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-10T07:07:23.049Z"},"basePath":"..","book":{"language":""}});
908+
gitbook.page.hasChanged({"page":{"title":"기본 타입","level":"3.1","depth":1,"next":{"title":"변수 선언","level":"3.2","depth":1,"path":"pages/Variable Declarations.md","ref":"pages/Variable Declarations.md","articles":[]},"previous":{"title":"리액트 & 웹팩","level":"2.5","depth":1,"path":"pages/tutorials/React & Webpack.md","ref":"pages/tutorials/React & Webpack.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["theme-darkblue","addcssjs","highlight-1","custom-favicon","forkmegithub","sitemap-general","sitemap"],"pluginsConfig":{"github":{"url":"https://github.com/typescript-kr/typescript-kr.github.io"},"search":{},"addcssjs":{"js":[],"css":["assets/css/atom-one-dark.css"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sitemap-general":{"prefix":"https://typescript-kr.gitbooks.io/"},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-darkblue":{},"highlight":{},"favicon":"assets/images/favicon.ico","sitemap":{"hostname":"https://typescript-kr.github.io/"},"highlight-1":{},"custom-favicon":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"forkmegithub":{"color":"darkblue","url":"https://github.com/typescript-kr/typescript-kr.github.io"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"pages/Basic Types.md","mtime":"2018-04-10T07:07:48.104Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-10T07:36:45.378Z"},"basePath":"..","book":{"language":""}});
909909
});
910910
</script>
911911
</div>

0 commit comments

Comments
 (0)