diff --git a/docs/en/LICENSE.md b/docs/en/LICENSE.md index 6083c2b..e66d0a9 100644 --- a/docs/en/LICENSE.md +++ b/docs/en/LICENSE.md @@ -1,4 +1,7 @@ -The MIT License (MIT) +--- +id: LICENSE +title: The MIT License (MIT) +--- ===================== Copyright © `2019` `Daniel Bulant & contributors` diff --git a/docs/en/blocks/variables.md b/docs/en/blocks/variables.md index ebb6fe2..dfb5891 100644 --- a/docs/en/blocks/variables.md +++ b/docs/en/blocks/variables.md @@ -5,7 +5,7 @@ id: variables ## What it is -Variable is a key-value pair. A variable is used to save data into RAM. This means, that where app is closed, variables are deleted. +Variable is a key-value pair, name = value. A variable is used to save data into RAM. This means, that where app is closed, variables are deleted. ## Variable types @@ -52,4 +52,4 @@ Components are saved in variable, same as widgets, they're saved to keep a refer A variable must have at least one character(can be either case). It must start with a character, then it can contain any number of characters, numbers or dashes. In RegEx, it would be written as ''' [a-zA-Z][a-zA-Z1-9-]* ''' -Must not be duplicate name. See [Why you can't have duplicate names](duplicate-vars.md). +Must not be duplicate name. See [Why you can't have duplicate names](en/duplicate-vars.md). diff --git a/docs/en/components.md b/docs/en/components/overview.md similarity index 100% rename from docs/en/components.md rename to docs/en/components/overview.md diff --git a/docs/en/duplicate-vars.md b/docs/en/duplicate-vars.md index a5ea0da..16a2810 100644 --- a/docs/en/duplicate-vars.md +++ b/docs/en/duplicate-vars.md @@ -9,13 +9,13 @@ But for better debugging of this project, we first need to know how *what's vari ## What's variable A variable can be multiple things: -- Literal variable. These are created in logic editor by clicking *Ads variable* in *variable* tab. +- Literal variable. These are created in logic editor by clicking *Add variable* in *variable* tab. - Widget. A widget id must be unique. The ID is stored as a variable, thus the widget can be a variable. That's also why you can see widgets id inside variable tab in code editor. -- Component. As we have pointed out in [*Create your first project*](first-project.md), the components are actually a classes which are saved in a variable. +- Component. As we have pointed out in [*Create your first project*](en/first-project.md), the components are actually a classes which are saved in a variable. This brings us to a new question: ## Why we can't have duplicate variable names This seems quite obvious (and it *realy* is). You can't have variable a = "dummy string" and use a object named a. This would lead into problems like a.setText() is not function. -Also another reason could be how Android handles *types*. [Learn what a type is here](types.md). You can't assign a *string* to *number* variable. That's like trying to store water in a bag. (Don't try it). Although this type juggling (You can learn more at Google) is possible in certain languages (php, Javascript etc.), it is not in Android (as it's more bug-safe and has certain performance advantages.) +Also another reason could be how Android handles *types*. [Learn what a type is here](en/blocks/variables.md). You can't assign a *string* to *number* variable. That's like trying to store water in a bag. (Don't try it). Although this type juggling (You can learn more at Google) is possible in certain languages (php, Javascript etc.), it is not in Android (as it's more bug-safe and has certain performance advantages.) diff --git a/website/build/sketchware-docs/blog/2016/03/11/blog-post.html b/website/build/sketchware-docs/blog/2016/03/11/blog-post.html new file mode 100644 index 0000000..33ba903 --- /dev/null +++ b/website/build/sketchware-docs/blog/2016/03/11/blog-post.html @@ -0,0 +1,63 @@ +Blog Title · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/2016/03/11/blog-post/index.html b/website/build/sketchware-docs/blog/2016/03/11/blog-post/index.html new file mode 100644 index 0000000..33ba903 --- /dev/null +++ b/website/build/sketchware-docs/blog/2016/03/11/blog-post/index.html @@ -0,0 +1,63 @@ +Blog Title · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/2017/04/10/blog-post-two.html b/website/build/sketchware-docs/blog/2017/04/10/blog-post-two.html new file mode 100644 index 0000000..bb898d3 --- /dev/null +++ b/website/build/sketchware-docs/blog/2017/04/10/blog-post-two.html @@ -0,0 +1,63 @@ +New Blog Post · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/2017/04/10/blog-post-two/index.html b/website/build/sketchware-docs/blog/2017/04/10/blog-post-two/index.html new file mode 100644 index 0000000..bb898d3 --- /dev/null +++ b/website/build/sketchware-docs/blog/2017/04/10/blog-post-two/index.html @@ -0,0 +1,63 @@ +New Blog Post · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/2017/09/25/testing-rss.html b/website/build/sketchware-docs/blog/2017/09/25/testing-rss.html new file mode 100644 index 0000000..d597665 --- /dev/null +++ b/website/build/sketchware-docs/blog/2017/09/25/testing-rss.html @@ -0,0 +1,61 @@ +Adding RSS Support - RSS Truncation Test · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/2017/09/25/testing-rss/index.html b/website/build/sketchware-docs/blog/2017/09/25/testing-rss/index.html new file mode 100644 index 0000000..d597665 --- /dev/null +++ b/website/build/sketchware-docs/blog/2017/09/25/testing-rss/index.html @@ -0,0 +1,61 @@ +Adding RSS Support - RSS Truncation Test · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/2017/09/26/adding-rss.html b/website/build/sketchware-docs/blog/2017/09/26/adding-rss.html new file mode 100644 index 0000000..a9d3be2 --- /dev/null +++ b/website/build/sketchware-docs/blog/2017/09/26/adding-rss.html @@ -0,0 +1,59 @@ +Adding RSS Support · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/2017/09/26/adding-rss/index.html b/website/build/sketchware-docs/blog/2017/09/26/adding-rss/index.html new file mode 100644 index 0000000..a9d3be2 --- /dev/null +++ b/website/build/sketchware-docs/blog/2017/09/26/adding-rss/index.html @@ -0,0 +1,59 @@ +Adding RSS Support · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/2017/10/24/new-version-1.0.0.html b/website/build/sketchware-docs/blog/2017/10/24/new-version-1.0.0.html new file mode 100644 index 0000000..649e545 --- /dev/null +++ b/website/build/sketchware-docs/blog/2017/10/24/new-version-1.0.0.html @@ -0,0 +1,58 @@ +New Version 1.0.0 · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/2017/10/24/new-version-1.0.0/index.html b/website/build/sketchware-docs/blog/2017/10/24/new-version-1.0.0/index.html new file mode 100644 index 0000000..649e545 --- /dev/null +++ b/website/build/sketchware-docs/blog/2017/10/24/new-version-1.0.0/index.html @@ -0,0 +1,58 @@ +New Version 1.0.0 · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/atom.xml b/website/build/sketchware-docs/blog/atom.xml new file mode 100644 index 0000000..db92837 --- /dev/null +++ b/website/build/sketchware-docs/blog/atom.xml @@ -0,0 +1,75 @@ + + + https://sketchware.danbulant.eu/blog + Sketchware docs Blog + 2017-10-24T06:00:00Z + Feed for Node.js + + The best place to stay up-to-date with the latest Sketchware docs news and events. + https://sketchware.danbulant.eu/img/logo.png + Copyright © 2019 Daniel Bulant, MIT Licensed + + <![CDATA[New Version 1.0.0]]> + https://sketchware.danbulant.eu/blog/2017/10/24/new-version-1.0.0.html + + + 2017-10-24T06:00:00Z + This blog post will test file name parsing issues when periods are present.

]]>
+ + Eric Nakagawa + http://twitter.com/ericnakagawa + +
+ + <![CDATA[Adding RSS Support]]> + https://sketchware.danbulant.eu/blog/2017/09/26/adding-rss.html + + + 2017-09-26T06:00:00Z + This is a test post.

A whole bunch of other information.

]]>
+ + Eric Nakagawa + http://twitter.com/ericnakagawa + +
+ + <![CDATA[Adding RSS Support - RSS Truncation Test]]> + https://sketchware.danbulant.eu/blog/2017/09/25/testing-rss.html + + + 2017-09-25T06:00:00Z + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890

+

This should be truncated.

+]]>
+ + Eric Nakagawa + http://twitter.com/ericnakagawa + +
+ + <![CDATA[New Blog Post]]> + https://sketchware.danbulant.eu/blog/2017/04/10/blog-post-two.html + + + 2017-04-10T06:00:00Z + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus elementum massa eget nulla aliquet sagittis. Proin odio tortor, vulputate ut odio in, ultrices ultricies augue. Cras ornare ultrices lorem malesuada iaculis. Etiam sit amet libero tempor, pulvinar mauris sed, sollicitudin sapien.

+]]>
+ + Blog Author + http://twitter.com/ + +
+ + <![CDATA[Blog Title]]> + https://sketchware.danbulant.eu/blog/2016/03/11/blog-post.html + + + 2016-03-11T06:00:00Z + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus elementum massa eget nulla aliquet sagittis. Proin odio tortor, vulputate ut odio in, ultrices ultricies augue. Cras ornare ultrices lorem malesuada iaculis. Etiam sit amet libero tempor, pulvinar mauris sed, sollicitudin sapien.

+]]>
+ + Blog Author + http://twitter.com/ + +
+
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/feed.xml b/website/build/sketchware-docs/blog/feed.xml new file mode 100644 index 0000000..a219597 --- /dev/null +++ b/website/build/sketchware-docs/blog/feed.xml @@ -0,0 +1,56 @@ + + + + Sketchware docs Blog + https://sketchware.danbulant.eu/blog + The best place to stay up-to-date with the latest Sketchware docs news and events. + Tue, 24 Oct 2017 06:00:00 GMT + http://blogs.law.harvard.edu/tech/rss + Feed for Node.js + + Sketchware docs Blog + https://sketchware.danbulant.eu/img/logo.png + https://sketchware.danbulant.eu/blog + + Copyright © 2019 Daniel Bulant, MIT Licensed + + <![CDATA[New Version 1.0.0]]> + https://sketchware.danbulant.eu/blog/2017/10/24/new-version-1.0.0.html + https://sketchware.danbulant.eu/blog/2017/10/24/new-version-1.0.0.html + Tue, 24 Oct 2017 06:00:00 GMT + This blog post will test file name parsing issues when periods are present.

]]>
+
+ + <![CDATA[Adding RSS Support]]> + https://sketchware.danbulant.eu/blog/2017/09/26/adding-rss.html + https://sketchware.danbulant.eu/blog/2017/09/26/adding-rss.html + Tue, 26 Sep 2017 06:00:00 GMT + This is a test post.

A whole bunch of other information.

]]>
+
+ + <![CDATA[Adding RSS Support - RSS Truncation Test]]> + https://sketchware.danbulant.eu/blog/2017/09/25/testing-rss.html + https://sketchware.danbulant.eu/blog/2017/09/25/testing-rss.html + Mon, 25 Sep 2017 06:00:00 GMT + 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890

+

This should be truncated.

+]]>
+
+ + <![CDATA[New Blog Post]]> + https://sketchware.danbulant.eu/blog/2017/04/10/blog-post-two.html + https://sketchware.danbulant.eu/blog/2017/04/10/blog-post-two.html + Mon, 10 Apr 2017 06:00:00 GMT + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus elementum massa eget nulla aliquet sagittis. Proin odio tortor, vulputate ut odio in, ultrices ultricies augue. Cras ornare ultrices lorem malesuada iaculis. Etiam sit amet libero tempor, pulvinar mauris sed, sollicitudin sapien.

+]]>
+
+ + <![CDATA[Blog Title]]> + https://sketchware.danbulant.eu/blog/2016/03/11/blog-post.html + https://sketchware.danbulant.eu/blog/2016/03/11/blog-post.html + Fri, 11 Mar 2016 06:00:00 GMT + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus elementum massa eget nulla aliquet sagittis. Proin odio tortor, vulputate ut odio in, ultrices ultricies augue. Cras ornare ultrices lorem malesuada iaculis. Etiam sit amet libero tempor, pulvinar mauris sed, sollicitudin sapien.

+]]>
+
+
+
\ No newline at end of file diff --git a/website/build/sketchware-docs/blog/index.html b/website/build/sketchware-docs/blog/index.html new file mode 100644 index 0000000..8424144 --- /dev/null +++ b/website/build/sketchware-docs/blog/index.html @@ -0,0 +1,64 @@ +Blog · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/css/main.css b/website/build/sketchware-docs/css/main.css new file mode 100644 index 0000000..27bc8ba --- /dev/null +++ b/website/build/sketchware-docs/css/main.css @@ -0,0 +1 @@ +a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}body{color:#24292e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:16px;line-height:1.5;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;word-wrap:break-word}*{box-sizing:border-box}b,strong{font-weight:600}em,i{font-style:italic}[type=checkbox]{box-sizing:border-box;padding:0}a,a:hover{color:#008dcd;text-decoration:none}a:active,a:hover{outline-width:0}a:not([href]){color:inherit;text-decoration:none}p{margin-bottom:1em;margin-top:0}h1,h2,h3,h4,h5,h6{color:inherit;font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:1.5em}h1{font-size:32px}h2{font-size:24px}h3{font-size:20px}h4{font-size:16px}h5{font-size:14px}h6{font-size:13.6px}ol,ul{margin-bottom:1em;margin-top:0;padding-left:2em}ol ol,ul ol{list-style-type:lower-roman}ol ol,ol ul,ul ol,ul ul{margin-bottom:0;margin-top:0}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}li{word-wrap:break-all}li>p{margin-top:1em}li+li{margin-top:.25em}img{border-style:none;box-sizing:content-box;max-width:100%}img[align=right]{padding-left:1.25em}img[align=left]{padding-right:1.25em}table{border-collapse:collapse;border-spacing:0;display:block;margin-bottom:16px;margin-top:0;overflow:auto;width:100%}table tr{background-color:transparent;border-top:1px solid #dfe2e5}table tr:nth-child(2n){background-color:#f6f8fa}table td,table th{border:1px solid #dfe2e5;padding:6px 13px}table th{background-color:inherit;font-weight:600}table td,table th{color:inherit}blockquote{color:#6a737d;font-size:16px;margin:0 0 16px;padding:0 1em}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}code{background-color:rgba(27,31,35,.05);border-radius:3px;color:inherit;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:85%;margin:0;padding:3.2px 6.4px}pre{margin-bottom:16px}pre code{background-color:transparent;border:0;display:inline;font-size:85%;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0;white-space:pre;word-break:normal;word-wrap:normal}kbd{background-color:#fafbfc;border:1px solid #d1d5da;border-bottom-color:#c6cbd1;border-radius:3px;box-shadow:inset 0 -1px 0 #c6cbd1;color:#444d56;display:inline-block;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:68.75%;line-height:10px;padding:3px 5px;vertical-align:middle}hr{border:1px solid #dfe2e5;box-sizing:content-box;margin:1.5em 0;overflow:hidden;padding:0}hr:after,hr:before{content:"";display:table}hr:after{clear:both}body{background-color:#fff;min-height:100vh;text-rendering:optimizeLegibility}@media only screen and (min-width:736px){body{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}}article:after,article:before{content:"";display:table}article:after{clear:both}article>:first-child{margin-top:0}article>:last-child{margin-bottom:0}article iframe,article p img{display:block;margin-left:auto;margin-right:auto;max-width:100%}.anchor{display:block;position:relative;top:-80px}.hash-link{line-height:1;margin-left:-20px;opacity:0;padding-right:4px;-webkit-transition:opacity .3s;transition:opacity .3s}.hash-link:hover{opacity:1!important;-webkit-transition:none;transition:none}.hash-link .hash-link-icon{vertical-align:middle}.button{border:1px solid #008dcd;border-radius:3px;color:#008dcd;display:inline-block;font-size:14px;font-weight:400;line-height:1.2em;padding:10px;text-decoration:none!important;text-transform:uppercase;-webkit-transition:background .3s,color .3s;transition:background .3s,color .3s}.button:hover{background:#008dcd;color:#fff}h1:hover .hash-link,h2:hover .hash-link,h3:hover .hash-link,h4:hover .hash-link{opacity:.5;-webkit-transition:none;transition:none}blockquote{background-color:rgba(255,229,100,.3);border-left:8px solid #ffe564;padding:15px 30px 15px 15px}.wrapper{margin:0 auto;max-width:1100px;padding:0 20px}.wrapper blockquote>p:first-child{padding-top:0}.center{display:block}.center,.homeContainer{text-align:center}.homeContainer .homeWrapper{padding:2em 10px}.homeContainer .homeWrapper .wrapper{margin:0 auto;max-width:900px;padding:0 20px}.homeContainer .homeWrapper .projectLogo img{height:100px;margin-bottom:0}.homeContainer .homeWrapper #project_title{font-size:300%;letter-spacing:-.08em;line-height:1em;margin-bottom:80px}.homeContainer .homeWrapper #project_tagline{font-size:200%;letter-spacing:-.04em;line-height:1em}.projectLogo{display:none;pointer-events:none}.projectLogo img{height:100px;margin-bottom:0}.projectIntro{margin:40px 0}.projectTitle{color:#008dcd;font-size:250%;line-height:1em}.projectTitle>small{display:block;font-weight:400;font-size:50%;line-height:1em;margin:.7em 0 1.3em}@media only screen and (min-width:480px){.projectTitle{font-size:300%;margin:.3em 0}.projectLogo img{height:200px;margin-bottom:10px}.homeContainer .homeWrapper{padding-left:10px;padding-right:10px}}@media only screen and (min-width:736px){.homeContainer .homeWrapper{position:relative}.homeContainer .homeWrapper #inner{max-width:600px;padding-right:40px}}@media only screen and (min-width:1200px){.homeContainer .homeWrapper #inner{max-width:750px}.homeContainer .homeWrapper .projectLogo{-webkit-box-align:center;align-items:center;bottom:0;display:-webkit-box;display:flex;-webkit-box-pack:end;justify-content:flex-end;left:0;padding:2em 100px 4em;position:absolute;right:0;top:0}.homeContainer .homeWrapper .projectLogo img{height:100%;max-height:250px}}@media only screen and (min-width:1500px){.homeContainer .homeWrapper #inner{max-width:1100px;padding-bottom:40px;padding-top:40px}.wrapper{max-width:1400px}}.mainContainer{-webkit-box-flex:1;flex:1 1 0%;max-width:100%;padding:40px 0}.mainContainer .wrapper{text-align:left}.mainContainer .wrapper .allShareBlock{padding:10px 0}.mainContainer .wrapper .allShareBlock .pluginBlock{margin:12px 0;padding:0}.mainContainer .wrapper .post{position:relative}.mainContainer .wrapper .post.basicPost{margin-top:30px}.mainContainer .wrapper .post .postHeader{margin-bottom:16px}.mainContainer .wrapper .post .postHeaderTitle{margin-top:0;padding:0}.mainContainer .wrapper .post .postSocialPlugins{padding-top:1em}.mainContainer .wrapper .post .docPagination{background:#008dcd;bottom:0;left:0;position:absolute;right:0}.mainContainer .wrapper .post .docPagination .pager{display:inline-block;width:50%}.mainContainer .wrapper .post .docPagination .pagingNext{float:right;text-align:right}.mainContainer .wrapper .post .docPagination a{border:none;color:#fff;display:block;padding:4px 12px}.mainContainer .wrapper .post .docPagination a:hover{background-color:#f9f9f9;color:#393939}.mainContainer .wrapper .post .docPagination a .pagerLabel{display:inline}.mainContainer .wrapper .post .docPagination a .pagerTitle{display:none}@media only screen and (min-width:480px){.mainContainer .wrapper .post .docPagination a .pagerLabel{display:none}.mainContainer .wrapper .post .docPagination a .pagerTitle{display:inline}}@media only screen and (min-width:1024px){.mainContainer .wrapper .post{display:block}.mainContainer .wrapper .posts .post{width:100%}}.fixedHeaderContainer{background:#008dcd;color:#fff;min-height:50px;padding:8px 0;position:fixed;width:100%;z-index:9999;-webkit-transform:translateZ(0);transform:translateZ(0)}@media only screen and (min-width:1024px){.fixedHeaderContainer{flex-shrink:0}}.fixedHeaderContainer a{-webkit-box-align:center;align-items:center;border:0;color:#fff;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row nowrap;height:34px;z-index:10000}.fixedHeaderContainer header{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row nowrap;position:relative;text-align:left}.fixedHeaderContainer header img{height:100%;margin-right:10px}.fixedHeaderContainer header .headerTitle{font-size:1.25em;margin:0}.fixedHeaderContainer header .headerTitleWithLogo{display:block;font-size:1.25em;line-height:18px;margin:0;position:relative;z-index:9999}.fixedHeaderContainer header h3{color:#fff;font-size:16px;margin:0 0 0 10px;text-decoration:underline}@media (max-width:480px){.headerTitle{font-size:17px}.headerTitleWithLogo{display:none!important}}.promoSection{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-flow:column wrap;font-size:125%;line-height:1.6em;position:relative;z-index:99}.promoSection .promoRow{padding:10px 0}.promoSection .promoRow .pluginWrapper{display:block}.promoSection .promoRow .pluginWrapper.ghStarWrapper,.promoSection .promoRow .pluginWrapper.ghWatchWrapper{height:28px}.promoSection .promoRow .pluginRowBlock{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-pack:center;justify-content:center;margin:0 -2px}.promoSection .promoRow .pluginRowBlock .pluginWrapper{padding:0 2px}.promoSection .promoRow .pluginRowBlock iframe{margin-left:2px;margin-top:5px}input[type=search]{-moz-appearance:none;-webkit-appearance:none}.navSearchWrapper{-webkit-box-align:center;align-items:center;align-self:center;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;padding-left:10px;position:absolute;right:10px;top:15px}.navSearchWrapper:before{border:3px solid #e5e5e5;border-radius:50%;content:" ";display:block;height:6px;left:15px;position:absolute;top:50%;-webkit-transform:translateY(-58%);transform:translateY(-58%);width:6px;z-index:1}.navSearchWrapper:after{background:#e5e5e5;content:" ";height:7px;left:24px;position:absolute;top:55%;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:3px;z-index:1}.navSearchWrapper .aa-dropdown-menu{background:#f9f9f9;border:3px solid rgba(57,57,57,.25);color:#393939;font-size:14px;left:auto!important;line-height:1.2em;right:0!important}.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--category-header{background:#008dcd;color:#fff;font-size:14px;font-weight:400}.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight{background-color:#008dcd;color:#fff}.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight,.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--title .algolia-docsearch-suggestion--highlight{color:#008dcd}.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion--subcategory-column,.navSearchWrapper .aa-dropdown-menu .algolia-docsearch-suggestion__secondary{border-color:rgba(57,57,57,.3)}input#search_input_react{background-color:rgba(0,0,0,.2);border:none;border-radius:20px;color:#fff;font-size:14px;font-weight:300;line-height:20px;outline:none;padding-left:25px;position:relative;-webkit-transition:width .5s ease;transition:width .5s ease;width:170px}.navSearchWrapper:before{left:24px}.navSearchWrapper:after{left:35px}input#search_input_react:active,input#search_input_react:focus{color:#fff;width:220px}.navigationSlider .slidingNav .navSearchWrapper .algolia-docsearch-footer a{height:auto}@media only screen and (max-width:735px){.navSearchWrapper{width:40%}}input::-webkit-input-placeholder{color:#e5e5e5}input::-moz-placeholder{color:#e5e5e5}input:-ms-input-placeholder{color:#e5e5e5}input::-ms-input-placeholder{color:#e5e5e5}input::placeholder{color:#e5e5e5}.hljs{padding:1.25rem 1.5rem}.gridBlock{padding:0}.gridBlock>*{box-sizing:border-box}.gridBlock .fourByGridBlock img,.gridBlock .threeByGridBlock img,.gridBlock .twoByGridBlock img{max-width:100%}.gridBlock .gridClear{clear:both}@media only screen and (max-width:735px){.gridBlock .fourByGridBlock{-webkit-box-flex:1;flex:1 0 26%}}@media only screen and (min-width:736px){.gridBlock{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;flex-wrap:wrap}.gridBlock>*{margin:0 12px}.gridBlock>:first-child{margin-left:0}.gridBlock>:last-child{margin-right:0}.gridBlock .twoByGridBlock{-webkit-box-flex:1;flex:1 0 40%}.gridBlock .threeByGridBlock{-webkit-box-flex:1;flex:1 0 26%}.gridBlock .fourByGridBlock{-webkit-box-flex:1;flex:1 0 20%}h2+.gridBlock{padding-top:20px}}@media only screen and (min-width:1400px){.gridBlock{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;flex-wrap:wrap}}.alignCenter{text-align:center}.alignRight{text-align:right}.imageAlignSide{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap}.blockImage{max-width:730px}.imageAlignSide .blockImage{-webkit-box-flex:0;flex:0 1 500px;max-width:500px}@media only screen and (max-width:735px){.imageAlignSide .blockImage{display:none}}.imageAlignSide .blockContent{-webkit-box-flex:1;flex:1 1}.imageAlignBottom .blockImage{margin:0 auto 20px;max-width:730px}.imageAlignBottom.alignCenter .blockImage{margin-left:auto;margin-right:auto}.imageAlignTop .blockImage{margin-bottom:20px;max-width:80px}.imageAlignTop.alignCenter .blockImage{margin-left:auto;margin-right:auto}.imageAlignRight .blockImage{margin-left:40px}.imageAlignLeft .blockImage{margin-right:40px}.container .gridBlock .blockContent p{padding:0}.container .wrapper .alignCenter h2{text-align:center}.container .wrapper .imageAlignSide h2{text-align:left}.container .wrapper .imageAlignSide p{margin:0 0 40px;max-width:560px}.highlightBackground{background:rgba(153,66,79,.7);color:#fff}.highlightBackground a{font-weight:800}.container.highlightBackground .wrapper h1,.container.highlightBackground .wrapper h2,.container.highlightBackground .wrapper h3,.container.highlightBackground .wrapper h4,.container.highlightBackground .wrapper h5,.highlightBackground a{border-color:#fff;color:#fff}.lightBackground{background:#f7f7f7}.darkBackground{background:grey;color:#fff}.darkBackground a,.darkBackground code{color:#d6b3b8}.container.darkBackground .wrapper h1,.container.darkBackground .wrapper h2,.container.darkBackground .wrapper h3,.container.darkBackground .wrapper h4,.container.darkBackground .wrapper h5{border-color:#fff;color:#fff}.container.paddingAll{padding:40px}.container.paddingBottom{padding-bottom:80px}.container.paddingLeft{padding-left:40px}.container.paddingRight{padding-right:40px}.container.paddingTop{padding-top:80px}@media only screen and (max-width:735px){.container.paddingBottom{padding-bottom:40px}.container.paddingTop{padding-top:20px}}@media only screen and (max-width:1023px){.responsiveList .blockContent{position:relative}.responsiveList .blockContent>div{padding-left:20px}.responsiveList .blockContent:before{content:"\2022";position:absolute}}.navigationSlider .navSlideout{cursor:pointer;padding-top:4px;position:absolute;right:10px;top:0;-webkit-transition:top .3s;transition:top .3s;z-index:101}.navigationSlider .slidingNav{bottom:auto;box-sizing:border-box;left:0;position:fixed;right:0;top:0}.navigationSlider .slidingNav.slidingNavActive{height:auto;padding-top:42px;width:300px}.navigationSlider .slidingNav ul{background:#ffa7a5;box-sizing:border-box;color:#fff;display:-webkit-box;display:flex;flex-wrap:nowrap;list-style:none;margin-top:50px;padding:0;width:100%}.navigationSlider .slidingNav.slidingNavActive ul{display:block}.navigationSlider .slidingNav ul li{-webkit-box-flex:1;flex:1 1 auto;margin:0;text-align:center;white-space:nowrap}.navigationSlider .slidingNav ul li a{-webkit-box-align:center;align-items:center;box-sizing:border-box;color:#008dcd;color:inherit;display:-webkit-box;display:flex;font-size:.9em;height:auto;height:50px;-webkit-box-pack:center;justify-content:center;margin:0;padding:10px;-webkit-transition:background-color .3s;transition:background-color .3s}.navigationSlider .slidingNav ul li.siteNavGroupActive>a,.navigationSlider .slidingNav ul li.siteNavItemActive>a,.navigationSlider .slidingNav ul li>a:focus,.navigationSlider .slidingNav ul li>a:hover{background-color:#008dcd}.languages-icon{width:20px}#languages-dropdown{pointer-events:none;position:absolute;width:100%}#languages-dropdown.visible{display:-webkit-box;display:flex}#languages-dropdown.hide{display:none}#languages-dropdown-items{background-color:#008dcd;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;min-width:120px;pointer-events:all}#languages li{display:block}.navPusher{left:0;min-height:100%;padding-top:100px;position:relative;z-index:99}.singleRowMobileNav.navPusher{padding-top:50px}.navPusher:after{background:rgba(0,0,0,.4);content:"";height:0;opacity:0;position:absolute;right:0;top:0;-webkit-transition:opacity .5s,width .1s .5s,height .1s .5s;transition:opacity .5s,width .1s .5s,height .1s .5s;width:0}@media screen and (min-width:1024px){.navPusher{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;min-height:calc(100vh - 50px);padding-top:50px}.navPusher,.navPusher>:first-child{-webkit-box-flex:1;flex-grow:1}}.sliderActive .navPusher:after{height:100%;opacity:1;-webkit-transition:opacity .5s;transition:opacity .5s;width:100%;z-index:100}@media only screen and (max-width:1024px){.reactNavSearchWrapper input#search_input_react{background-color:rgba(242,196,178,.25);border:none;border-radius:20px;box-sizing:border-box;color:#393939;font-size:14px;line-height:20px;outline:none;padding-left:38px;position:relative;-webkit-transition:background-color .2s cubic-bezier(.68,-.55,.265,1.55),width .2s cubic-bezier(.68,-.55,.265,1.55),color .2s ease;transition:background-color .2s cubic-bezier(.68,-.55,.265,1.55),width .2s cubic-bezier(.68,-.55,.265,1.55),color .2s ease;width:100%}.reactNavSearchWrapper input#search_input_react:active,.reactNavSearchWrapper input#search_input_react:focus{background-color:#008dcd;color:#fff}.reactNavSearchWrapper .algolia-docsearch-suggestion--subcategory-inline{display:none}.reactNavSearchWrapper>span{width:100%}.reactNavSearchWrapper .aa-dropdown-menu{font-size:12px;line-height:2em;padding:0;border-width:1px;min-width:500px}.reactNavSearchWrapper .algolia-docsearch-suggestion__secondary{border-top:none}.aa-suggestions{min-height:140px;max-height:60vh;-webkit-overflow-scrolling:touch;overflow-y:scroll}#languages-dropdown{left:0;top:50px}#languages-dropdown-items{background-color:#008dcd;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}}@media only screen and (min-width:1024px){.navSearchWrapper{padding-left:10px;position:relative;right:auto;top:auto}.reactNavSearchWrapper input#search_input_react{height:100%;padding-top:8px;padding-bottom:8px;padding-left:38px}.navSearchWrapper .algolia-autocomplete{display:block}.navigationSlider{height:34px;margin-left:auto;position:relative}.navigationSlider .navSlideout{display:none}.navigationSlider nav.slidingNav{background:none;height:auto;position:relative;right:auto;top:auto;width:auto}.navigationSlider .slidingNav ul{background:none;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row nowrap;margin:0;padding:0;width:auto}.navigationSlider .slidingNav ul li a{border:0;color:hsla(0,0%,100%,.8);display:-webkit-box;display:flex;font-size:16px;font-size:1em;font-weight:300;height:32px;line-height:1.2em;margin:0;padding:6px 10px}.navigationSlider .slidingNav ul li.siteNavGroupActive a,.navigationSlider .slidingNav ul li.siteNavItemActive a,.navigationSlider .slidingNav ul li a:hover{color:#fff}}@media only screen and (max-width:735px){.navigationSlider .slidingNav ul{overflow-x:auto}.navigationSlider .slidingNav ul::-webkit-scrollbar{display:none}.reactNavSearchWrapper .aa-dropdown-menu{min-width:400px}}@media only screen and (max-width:475px){.reactNavSearchWrapper .aa-dropdown-menu{min-width:300px}}.docMainWrapper .wrapper{padding-left:0;padding-right:0;padding-top:10px}@media only screen and (min-width:1024px){.docMainWrapper{width:100%}.docMainWrapper>*{margin:0 24px}.docMainWrapper>:first-child{margin-left:0}.docMainWrapper>:last-child{margin-right:0}.docMainWrapper .mainContainer{min-width:0}}.edit-page-link{float:right;font-size:10px;font-weight:400;margin-top:3px;text-decoration:none}@media only screen and (max-width:1023px){.edit-page-link{display:none}}.docLastUpdate{font-size:13px;font-style:italic;margin:20px 0;text-align:right}.docs-prevnext{margin:20px 0}.docs-prevnext:after{clear:both;content:" ";display:table}.docs-next{float:right}.docs-prev{float:left}@media only screen and (max-width:735px){.docs-next{clear:both;float:left}.docs-next,.docs-prev{margin:10px 0}.arrow-next{float:right;margin-left:10px}.arrow-prev{float:left;margin-right:10px}.function-name-prevnext{width:200px;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.hide{display:none}.collapsible{cursor:pointer}.collapsible .arrow{float:right;margin-right:8px;margin-top:-4px;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transition:-webkit-transform .2s linear;transition:-webkit-transform .2s linear;transition:transform .2s linear;transition:transform .2s linear, -webkit-transform .2s linear}.collapsible .arrow.rotate{-webkit-transform:rotate(180deg);transform:rotate(180deg)}@media only screen and (max-width:1023px){.docsNavContainer{background:#fff;left:0;position:fixed;width:100%;z-index:100}}@media only screen and (min-width:1024px){.docsNavContainer{-webkit-box-flex:0;flex:0 0 240px;height:calc(100vh - 50px);position:-webkit-sticky;position:sticky;overflow-y:auto;top:50px}}.docsSliderActive.docsNavContainer{box-sizing:border-box;height:100%;-webkit-overflow-scrolling:touch;overflow-y:auto;-ms-scroll-chaining:none;overscroll-behavior:contain;padding-bottom:50px}.docsNavContainer .toc .navBreadcrumb{background-color:#f1f1f1;box-sizing:border-box;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row nowrap;font-size:12px;height:48px;overflow:hidden;padding:8px 20px}.docsNavContainer .toc .navWrapper{padding:0}@media only screen and (min-width:1024px){.docsNavContainer .toc .navBreadcrumb{display:none}.navBreadcrumb h2{padding:0 10px}.separateOnPageNav .docsNavContainer{-webkit-box-flex:0;flex:0 0 240px}}.navBreadcrumb a,.navBreadcrumb span{border:0;color:#393939}@media only screen and (max-width:735px){.anchor{top:-144px}}@media only screen and (min-width:1024px){.toc{padding:40px 0}}.toc section{padding:0;position:relative}.toc section .navGroups{display:none;padding:48px 20px 60px}.toc .toggleNav{color:#393939;position:relative}.toc .toggleNav .navToggle{cursor:pointer;height:32px;margin-right:10px;position:relative;text-align:left;width:18px}.hamburger-menu{position:absolute;top:6px;width:100%}.line1,.line2,.line3{width:100%;height:3px;background-color:#393939;margin:3px 0;-webkit-transition:.4s;transition:.4s;border-radius:10px}.docsSliderActive .hamburger-menu{top:12px}.docsSliderActive .line1{position:absolute;top:50%;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.docsSliderActive .line2{display:none}.docsSliderActive .line3{position:absolute;top:50%;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.toggleNav h2 i{padding:0 4px}.toc .toggleNav .navGroup{margin-bottom:16px}.toc .toggleNav .subNavGroup{margin-bottom:0}.toc .toggleNav .navGroup .navGroupCategoryTitle{color:#393939;font-size:18px;font-weight:500;line-height:1.2em;margin-bottom:8px;margin-top:0}.toc .toggleNav .navGroup .navGroupSubcategoryTitle{color:#393939;font-size:14px;font-weight:500;line-height:1.5;margin-bottom:0;margin-top:0;padding:4px 0}.toc .toggleNav .navGroup .navListItem{margin:0}.toc .toggleNav .navGroup h3 i:not(:empty){box-sizing:border-box;color:rgba(57,57,57,.5);display:inline-block;height:16px;margin-right:10px;text-align:center;-webkit-transition:color .2s;transition:color .2s;width:16px}.toc .toggleNav ul{padding:0 8px}.docsSliderActive .toc .toggleNav ul{padding-left:0}.toc .toggleNav ul li{list-style-type:none;padding:0}.toc .toggleNav ul li a{border:none;color:#717171;display:block;font-size:14px;padding:4px 0;-webkit-transition:color .3s;transition:color .3s}.toc .toggleNav ul li.navListItemActive a,.toc .toggleNav ul li a:focus,.toc .toggleNav ul li a:hover{color:#008dcd}.docsSliderActive .toc .navBreadcrumb,.tocActive .navBreadcrumb{border-bottom:1px solid #ccc;margin-bottom:20px;position:fixed;width:100%}.toc .toggleNav .navBreadcrumb h2{border:0;-webkit-box-flex:1;flex-grow:1;font-size:16px;font-weight:600;line-height:32px;margin:0;padding:0}.docsSliderActive .toc section .navGroups{display:block;padding-top:60px}.tocToggler{cursor:pointer;height:32px;line-height:32px;margin-right:-10px;padding:0 10px}.icon-toc{box-sizing:border-box;display:inline-block;line-height:normal;position:relative;top:-1px;vertical-align:middle}.icon-toc,.icon-toc:after,.icon-toc:before{background-color:currentColor;border:1px solid;border-radius:50%;box-sizing:border-box;height:4px;width:4px}.icon-toc:after,.icon-toc:before{content:"";position:absolute}.icon-toc:before{left:-1px;top:-7px}.icon-toc:after{left:-1px;top:5px}.tocActive .icon-toc{border-radius:0;height:16px;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:3px}.tocActive .icon-toc:before{border-radius:0;height:3px;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:16px}.tocActive .icon-toc:after{content:""}@media only screen and (min-width:1024px){.docMainWrapper{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row nowrap}.docMainWrapper .wrapper{padding-top:0;padding-left:0;padding-right:0}}.onPageNav{display:none;margin-bottom:40px}.onPageNav::-webkit-scrollbar{width:7px}.onPageNav::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.onPageNav::-webkit-scrollbar-thumb{background:#888;border-radius:10px}.onPageNav::-webkit-scrollbar-thumb:hover{background:#555}.onPageNav a{color:#717171}.onPageNav .toc-headings>li>a.active{font-weight:600;color:#008dcd}.onPageNav ul{list-style:none}.onPageNav ul li{font-size:12px;line-height:16px;padding-bottom:8px}.onPageNav ul ul{padding:8px 0 0 20px}.onPageNav ul ul li{padding-bottom:5px}@media only screen and (min-width:1024px){.toc section .navGroups{display:block;padding:8px 0 0}.navBreadcrumb h2{padding:0 10px}}@supports ((position: -webkit-sticky) or (position: sticky)){@media only screen and (max-width:1023px){.tocActive .onPageNav{background:#fff;bottom:0;display:block;left:0;overflow-y:auto;-ms-scroll-chaining:none;overscroll-behavior:contain;padding:0 20px;position:fixed;right:0;top:148px;z-index:10;margin-bottom:0}.tocActive .singleRowMobileNav .onPageNav{top:98px}.tocActive .navBreadcrumb h2,.tocActive .navToggle{visibility:hidden}.tocActive .onPageNav>.toc-headings{padding:12px 0}}@media only screen and (min-width:1024px){.separateOnPageNav .headerWrapper.wrapper,.separateOnPageNav .wrapper{max-width:1400px}.separateOnPageNav .toc{width:auto}.separateOnPageNav.sideNavVisible .navPusher .mainContainer{-webkit-box-flex:1;flex:1 auto;max-width:100%;min-width:0}.onPageNav{align-self:flex-start;display:block;-webkit-box-flex:0;flex:0 0 240px;max-height:calc(100vh - 90px);overflow-y:auto;position:-webkit-sticky;position:sticky;top:90px}.onPageNav>.toc-headings{border-left:1px solid #e0e0e0;padding:10px 0 2px 15px}.tocToggler{display:none}}}.blog .wrapper{max-width:1100px}.blogContainer .posts .post{border-bottom:1px solid #e0e0e0;border-radius:3px;margin-bottom:20px;padding-bottom:20px}.blogContainer .postHeader{margin-bottom:10px}.blogContainer .postHeaderTitle{margin-top:0}.blogContainer .postHeader p.post-meta{margin-bottom:10px;padding:0}.blogContainer .postHeader .authorBlock{display:-webkit-box;display:flex}.blogContainer .postHeader .post-authorName{color:rgba(57,57,57,.7);display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;font-size:14px;font-weight:400;-webkit-box-pack:center;justify-content:center;margin-right:10px;margin-top:0;margin-bottom:0;padding:0}.blogContainer .postHeader .authorPhoto{border-radius:50%;height:30px;overflow:hidden;width:30px}.blogContainer .postHeader .authorPhoto.authorPhotoBig{height:50px;width:50px}.blog-recent{margin:20px 0}.blog-recent>a{float:left}@media only screen and (max-width:735px){.blog-recent{height:40px}}.blogSocialSection{display:block;padding:36px 0}.blogSocialSection .blogSocialSectionItem{padding-bottom:5px}.fb-like{display:block;margin-bottom:20px;width:100%}.more-users{margin:0 auto;max-width:560px;text-align:center}.productShowcaseSection{padding:0 20px;text-align:center}.productShowcaseSection.paddingTop{padding-top:20px}.productShowcaseSection.paddingBottom{padding-bottom:80px}.productShowcaseSection h2{color:#008dcd;font-size:30px;line-height:1em;margin-top:20px;padding:10px 0;text-align:center}.productShowcaseSection p{margin:0 auto;max-width:560px;padding:.8em 0}.productShowcaseSection .logos{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:center;justify-content:center;padding:20px}.productShowcaseSection .logos img{max-height:110px;padding:20px;width:110px}@media only screen and (max-width:735px){.productShowcaseSection .logos img{max-height:64px;padding:20px;width:64px}}.showcaseSection{margin:0 auto;max-width:900px}.showcaseSection,.showcaseSection .prose h1{text-align:center}.showcaseSection .prose{margin:0 auto;max-width:560px;text-align:center}.showcaseSection .logos{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:center;justify-content:center}.showcaseSection .logos img{max-height:128px;padding:20px;width:128px}@media only screen and (max-width:735px){.showcaseSection .logos img{max-height:64px;padding:20px;width:64px}}.nav-footer{background:#20232a;border:none;color:#202020;font-size:15px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;line-height:24px;padding-bottom:2em;padding-top:2em;position:relative}@media only screen and (min-width:1024px){.nav-footer{flex-shrink:0}}.nav-footer .sitemap{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;margin:0 auto 3em;max-width:1080px}.nav-footer .sitemap div{-webkit-box-flex:1;flex:1}.nav-footer .sitemap .nav-home{display:table;height:72px;margin:-12px 20px 0 0;opacity:.4;padding:10px;-webkit-transition:opacity .15s ease-in-out;transition:opacity .15s ease-in-out;width:72px}.nav-footer .sitemap .nav-home:focus,.nav-footer .sitemap .nav-home:hover{opacity:1}@media only screen and (max-width:735px){.nav-footer .sitemap{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:0 2em 3em;width:calc(100% - 4em)}.nav-footer .sitemap>div{margin-bottom:18px}}.nav-footer .sitemap a{color:hsla(0,0%,100%,.6);display:block;margin:2px 0;padding:3px 0}.nav-footer .sitemap a:focus,.nav-footer .sitemap a:hover,.nav-footer .sitemap h5>a:focus,.nav-footer .sitemap h5>a:hover{color:#fff;text-decoration:none}.nav-footer .sitemap h5,.nav-footer .sitemap h6{margin:0 0 10px}.nav-footer .sitemap h5,.nav-footer .sitemap h5>a,.nav-footer .sitemap h6,.nav-footer .sitemap h6>a{color:#fff}.nav-footer .sitemap h5>a,.nav-footer .sitemap h6>a{margin:0 -10px}.nav-footer .fbOpenSource{display:block;margin:1em auto;opacity:.4;-webkit-transition:opacity .15s ease-in-out;transition:opacity .15s ease-in-out;width:170px}.nav-footer .fbOpenSource:hover{opacity:1}.nav-footer .copyright{color:hsla(0,0%,100%,.4);text-align:center}.nav-footer .social{padding:5px 0}.tabs{border-top:1px solid #cfcfcf}.nav-tabs{display:-webkit-box;display:flex;border-bottom:4px solid #e0e0e0;width:100%;padding:0;overflow-x:auto;white-space:nowrap;max-height:100%}.nav-tabs::-webkit-scrollbar{display:none}.tabs .tab-pane:focus{outline:none}.tabs .nav-tabs>div{font-size:14px;line-height:1.14286;padding:12px 16px;text-decoration:none;display:block;cursor:pointer}.tabs .nav-tabs>div.active{border-bottom:4px solid #008dcd}.tab-pane{display:none}.tab-pane.active{display:block}.tab-pane>pre{white-space:pre-wrap}.tab-pane>pre>code{margin-top:0;border-radius:0;box-shadow:none} \ No newline at end of file diff --git a/website/build/sketchware-docs/css/prism.css b/website/build/sketchware-docs/css/prism.css new file mode 100644 index 0000000..d783edb --- /dev/null +++ b/website/build/sketchware-docs/css/prism.css @@ -0,0 +1,115 @@ +/** + * Copyright (c) 2017-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * Modified prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ + +code[class*='language-'], +pre[class*='language-'] { + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +/* Code blocks */ +pre[class*='language-'] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} + +/* Inline code */ +:not(pre) > code[class*='language-'] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: 0.7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.number, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #dd4a68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git a/website/build/sketchware-docs/docs/en/LICENSE.html b/website/build/sketchware-docs/docs/en/LICENSE.html new file mode 100644 index 0000000..2c9dc58 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/LICENSE.html @@ -0,0 +1,21 @@ +The MIT License (MIT) · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/LICENSE/index.html b/website/build/sketchware-docs/docs/en/LICENSE/index.html new file mode 100644 index 0000000..2c9dc58 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/LICENSE/index.html @@ -0,0 +1,21 @@ +The MIT License (MIT) · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/README.html b/website/build/sketchware-docs/docs/en/README.html new file mode 100644 index 0000000..daaad81 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/README.html @@ -0,0 +1,69 @@ +Sketchware docs · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/README/index.html b/website/build/sketchware-docs/docs/en/README/index.html new file mode 100644 index 0000000..daaad81 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/README/index.html @@ -0,0 +1,69 @@ +Sketchware docs · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/_coverpage.html b/website/build/sketchware-docs/docs/en/_coverpage.html new file mode 100644 index 0000000..15ab10d --- /dev/null +++ b/website/build/sketchware-docs/docs/en/_coverpage.html @@ -0,0 +1,5 @@ +en/_coverpage · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/_coverpage/index.html b/website/build/sketchware-docs/docs/en/_coverpage/index.html new file mode 100644 index 0000000..15ab10d --- /dev/null +++ b/website/build/sketchware-docs/docs/en/_coverpage/index.html @@ -0,0 +1,5 @@ +en/_coverpage · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/_sidebar.html b/website/build/sketchware-docs/docs/en/_sidebar.html new file mode 100644 index 0000000..54eed88 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/_sidebar.html @@ -0,0 +1,79 @@ +en/_sidebar · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/_sidebar/index.html b/website/build/sketchware-docs/docs/en/_sidebar/index.html new file mode 100644 index 0000000..54eed88 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/_sidebar/index.html @@ -0,0 +1,79 @@ +en/_sidebar · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/blocks/control.html b/website/build/sketchware-docs/docs/en/blocks/control.html new file mode 100644 index 0000000..79d389c --- /dev/null +++ b/website/build/sketchware-docs/docs/en/blocks/control.html @@ -0,0 +1,68 @@ +Control blocks · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/blocks/control/index.html b/website/build/sketchware-docs/docs/en/blocks/control/index.html new file mode 100644 index 0000000..79d389c --- /dev/null +++ b/website/build/sketchware-docs/docs/en/blocks/control/index.html @@ -0,0 +1,68 @@ +Control blocks · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/blocks/variables.html b/website/build/sketchware-docs/docs/en/blocks/variables.html new file mode 100644 index 0000000..b6e3ed6 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/blocks/variables.html @@ -0,0 +1,83 @@ +Variables · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/blocks/variables/index.html b/website/build/sketchware-docs/docs/en/blocks/variables/index.html new file mode 100644 index 0000000..b6e3ed6 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/blocks/variables/index.html @@ -0,0 +1,83 @@ +Variables · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/components/components.html b/website/build/sketchware-docs/docs/en/components/components.html new file mode 100644 index 0000000..7bbc27b --- /dev/null +++ b/website/build/sketchware-docs/docs/en/components/components.html @@ -0,0 +1,98 @@ +Components · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/components/components/index.html b/website/build/sketchware-docs/docs/en/components/components/index.html new file mode 100644 index 0000000..7bbc27b --- /dev/null +++ b/website/build/sketchware-docs/docs/en/components/components/index.html @@ -0,0 +1,98 @@ +Components · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/duplicate-vars.html b/website/build/sketchware-docs/docs/en/duplicate-vars.html new file mode 100644 index 0000000..dcfefb3 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/duplicate-vars.html @@ -0,0 +1,70 @@ +Why is sketchware showing that name xxx is not available · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/duplicate-vars/index.html b/website/build/sketchware-docs/docs/en/duplicate-vars/index.html new file mode 100644 index 0000000..dcfefb3 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/duplicate-vars/index.html @@ -0,0 +1,70 @@ +Why is sketchware showing that name xxx is not available · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/first-project.html b/website/build/sketchware-docs/docs/en/first-project.html new file mode 100644 index 0000000..cb6f8f8 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/first-project.html @@ -0,0 +1,85 @@ +Creating your new application · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/docs/en/first-project/index.html b/website/build/sketchware-docs/docs/en/first-project/index.html new file mode 100644 index 0000000..cb6f8f8 --- /dev/null +++ b/website/build/sketchware-docs/docs/en/first-project/index.html @@ -0,0 +1,85 @@ +Creating your new application · Sketchware docs
\ No newline at end of file diff --git a/website/build/sketchware-docs/en/help.html b/website/build/sketchware-docs/en/help.html new file mode 100644 index 0000000..6dbd995 --- /dev/null +++ b/website/build/sketchware-docs/en/help.html @@ -0,0 +1,7 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/build/sketchware-docs/en/help/index.html b/website/build/sketchware-docs/en/help/index.html new file mode 100644 index 0000000..6dbd995 --- /dev/null +++ b/website/build/sketchware-docs/en/help/index.html @@ -0,0 +1,7 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/build/sketchware-docs/en/index.html b/website/build/sketchware-docs/en/index.html new file mode 100644 index 0000000..64d5d36 --- /dev/null +++ b/website/build/sketchware-docs/en/index.html @@ -0,0 +1 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/build/sketchware-docs/en/users.html b/website/build/sketchware-docs/en/users.html new file mode 100644 index 0000000..0f07d4f --- /dev/null +++ b/website/build/sketchware-docs/en/users.html @@ -0,0 +1 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/build/sketchware-docs/en/users/index.html b/website/build/sketchware-docs/en/users/index.html new file mode 100644 index 0000000..0f07d4f --- /dev/null +++ b/website/build/sketchware-docs/en/users/index.html @@ -0,0 +1 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/build/sketchware-docs/help.html b/website/build/sketchware-docs/help.html new file mode 100644 index 0000000..94b70af --- /dev/null +++ b/website/build/sketchware-docs/help.html @@ -0,0 +1,7 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/build/sketchware-docs/help/index.html b/website/build/sketchware-docs/help/index.html new file mode 100644 index 0000000..94b70af --- /dev/null +++ b/website/build/sketchware-docs/help/index.html @@ -0,0 +1,7 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/build/sketchware-docs/img/favicon.ico b/website/build/sketchware-docs/img/favicon.ico new file mode 100644 index 0000000..be74abd Binary files /dev/null and b/website/build/sketchware-docs/img/favicon.ico differ diff --git a/website/build/sketchware-docs/img/language.svg b/website/build/sketchware-docs/img/language.svg new file mode 100644 index 0000000..6619593 --- /dev/null +++ b/website/build/sketchware-docs/img/language.svg @@ -0,0 +1,3 @@ + + + diff --git a/website/build/sketchware-docs/img/logo.png b/website/build/sketchware-docs/img/logo.png new file mode 100644 index 0000000..682f882 Binary files /dev/null and b/website/build/sketchware-docs/img/logo.png differ diff --git a/website/build/sketchware-docs/img/oss_logo.png b/website/build/sketchware-docs/img/oss_logo.png new file mode 100644 index 0000000..8183e28 Binary files /dev/null and b/website/build/sketchware-docs/img/oss_logo.png differ diff --git a/website/build/sketchware-docs/img/undraw_code_review.svg b/website/build/sketchware-docs/img/undraw_code_review.svg new file mode 100644 index 0000000..efd5e5e --- /dev/null +++ b/website/build/sketchware-docs/img/undraw_code_review.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/build/sketchware-docs/img/undraw_monitor.svg b/website/build/sketchware-docs/img/undraw_monitor.svg new file mode 100644 index 0000000..d27811a --- /dev/null +++ b/website/build/sketchware-docs/img/undraw_monitor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/build/sketchware-docs/img/undraw_note_list.svg b/website/build/sketchware-docs/img/undraw_note_list.svg new file mode 100644 index 0000000..3e78d55 --- /dev/null +++ b/website/build/sketchware-docs/img/undraw_note_list.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/build/sketchware-docs/img/undraw_online.svg b/website/build/sketchware-docs/img/undraw_online.svg new file mode 100644 index 0000000..4d468bc --- /dev/null +++ b/website/build/sketchware-docs/img/undraw_online.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/build/sketchware-docs/img/undraw_open_source.svg b/website/build/sketchware-docs/img/undraw_open_source.svg new file mode 100644 index 0000000..bf55177 --- /dev/null +++ b/website/build/sketchware-docs/img/undraw_open_source.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/build/sketchware-docs/img/undraw_operating_system.svg b/website/build/sketchware-docs/img/undraw_operating_system.svg new file mode 100644 index 0000000..f84ac6c --- /dev/null +++ b/website/build/sketchware-docs/img/undraw_operating_system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/build/sketchware-docs/img/undraw_react.svg b/website/build/sketchware-docs/img/undraw_react.svg new file mode 100644 index 0000000..03ecde4 --- /dev/null +++ b/website/build/sketchware-docs/img/undraw_react.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/build/sketchware-docs/img/undraw_tweetstorm.svg b/website/build/sketchware-docs/img/undraw_tweetstorm.svg new file mode 100644 index 0000000..c4202f6 --- /dev/null +++ b/website/build/sketchware-docs/img/undraw_tweetstorm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/build/sketchware-docs/img/undraw_youtube_tutorial.svg b/website/build/sketchware-docs/img/undraw_youtube_tutorial.svg new file mode 100644 index 0000000..7093e56 --- /dev/null +++ b/website/build/sketchware-docs/img/undraw_youtube_tutorial.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/build/sketchware-docs/index.html b/website/build/sketchware-docs/index.html new file mode 100644 index 0000000..df34a70 --- /dev/null +++ b/website/build/sketchware-docs/index.html @@ -0,0 +1 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/build/sketchware-docs/js/codetabs.js b/website/build/sketchware-docs/js/codetabs.js new file mode 100644 index 0000000..dd01ebf --- /dev/null +++ b/website/build/sketchware-docs/js/codetabs.js @@ -0,0 +1,31 @@ +/** + * Copyright (c) 2017-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +// Turn off ESLint for this file because it's sent down to users as-is. +/* eslint-disable */ +window.addEventListener('load', function() { + // add event listener for all tab + document.querySelectorAll('.nav-link').forEach(function(el) { + el.addEventListener('click', function(e) { + const groupId = e.target.getAttribute('data-group'); + document + .querySelectorAll(`.nav-link[data-group=${groupId}]`) + .forEach(function(el) { + el.classList.remove('active'); + }); + document + .querySelectorAll(`.tab-pane[data-group=${groupId}]`) + .forEach(function(el) { + el.classList.remove('active'); + }); + e.target.classList.add('active'); + document + .querySelector(`#${e.target.getAttribute('data-tab')}`) + .classList.add('active'); + }); + }); +}); diff --git a/website/build/sketchware-docs/js/scrollSpy.js b/website/build/sketchware-docs/js/scrollSpy.js new file mode 100644 index 0000000..0632e6c --- /dev/null +++ b/website/build/sketchware-docs/js/scrollSpy.js @@ -0,0 +1,76 @@ +/** + * Copyright (c) 2017-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/* eslint-disable prefer-arrow-callback */ +(function scrollSpy() { + const OFFSET = 10; + let timer; + let headingsCache; + const findHeadings = function findHeadings() { + return headingsCache || document.querySelectorAll('.toc-headings > li > a'); + }; + const onScroll = function onScroll() { + if (timer) { + // throttle + return; + } + timer = setTimeout(function() { + timer = null; + let activeNavFound = false; + const headings = findHeadings(); // toc nav anchors + /** + * On every call, try to find header right after <-- next header + * the one whose content is on the current screen <-- highlight this + */ + for (let i = 0; i < headings.length; i++) { + // headings[i] is current element + // if an element is already active, then current element is not active + // if no element is already active, then current element is active + let currNavActive = !activeNavFound; + /** + * Enter the following check up only when an active nav header is not yet found + * Then, check the bounding rectangle of the next header + * The headers that are scrolled passed will have negative bounding rect top + * So the first one with positive bounding rect top will be the nearest next header + */ + if (currNavActive && i < headings.length - 1) { + const heading = headings[i + 1]; + const next = decodeURIComponent(heading.href.split('#')[1]); + const nextHeader = document.getElementById(next); + + if (nextHeader) { + const top = nextHeader.getBoundingClientRect().top; + currNavActive = top > OFFSET; + } else { + console.error('Can not find header element', { + id: next, + heading, + }); + } + } + /** + * Stop searching once a first such header is found, + * this makes sure the highlighted header is the most current one + */ + if (currNavActive) { + activeNavFound = true; + headings[i].classList.add('active'); + } else { + headings[i].classList.remove('active'); + } + } + }, 100); + }; + + document.addEventListener('scroll', onScroll); + document.addEventListener('resize', onScroll); + document.addEventListener('DOMContentLoaded', function() { + // Cache the headings once the page has fully loaded. + headingsCache = findHeadings(); + onScroll(); + }); +})(); diff --git a/website/build/sketchware-docs/sitemap.xml b/website/build/sketchware-docs/sitemap.xml new file mode 100644 index 0000000..037c6a2 --- /dev/null +++ b/website/build/sketchware-docs/sitemap.xml @@ -0,0 +1 @@ +https://sketchware.danbulant.eu/helpweekly0.5https://sketchware.danbulant.eu/indexweekly0.5https://sketchware.danbulant.eu/usersweekly0.5https://sketchware.danbulant.eu/blog/2017/10/24/new-version-1.0.0weekly0.3https://sketchware.danbulant.eu/blog/2017/09/26/adding-rssweekly0.3https://sketchware.danbulant.eu/blog/2017/09/25/testing-rssweekly0.3https://sketchware.danbulant.eu/blog/2017/04/10/blog-post-twoweekly0.3https://sketchware.danbulant.eu/blog/2016/03/11/blog-postweekly0.3https://sketchware.danbulant.eu/docs/en/_coverpagehourly1.0https://sketchware.danbulant.eu/docs/en/_sidebarhourly1.0https://sketchware.danbulant.eu/docs/en/blocks/controlhourly1.0https://sketchware.danbulant.eu/docs/en/blocks/variableshourly1.0https://sketchware.danbulant.eu/docs/en/components/componentshourly1.0https://sketchware.danbulant.eu/docs/en/duplicate-varshourly1.0https://sketchware.danbulant.eu/docs/en/first-projecthourly1.0https://sketchware.danbulant.eu/docs/en/LICENSEhourly1.0https://sketchware.danbulant.eu/docs/en/READMEhourly1.0 \ No newline at end of file diff --git a/website/build/sketchware-docs/users.html b/website/build/sketchware-docs/users.html new file mode 100644 index 0000000..c4700d3 --- /dev/null +++ b/website/build/sketchware-docs/users.html @@ -0,0 +1 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/build/sketchware-docs/users/index.html b/website/build/sketchware-docs/users/index.html new file mode 100644 index 0000000..c4700d3 --- /dev/null +++ b/website/build/sketchware-docs/users/index.html @@ -0,0 +1 @@ +Sketchware docs · Unofficial sketchware documentation
\ No newline at end of file diff --git a/website/core/Footer.js b/website/core/Footer.js index 2fa2e2a..cda9232 100644 --- a/website/core/Footer.js +++ b/website/core/Footer.js @@ -30,14 +30,14 @@ class Footer extends React.Component {
Docs
- - Getting Started (or other categories) + + Getting Started - - Guides (or other categories) + + Components - - API Reference (or other categories) + + License
@@ -45,24 +45,8 @@ class Footer extends React.Component { User Showcase - - Stack Overflow - - Project Chat - - Twitter - -
-
-
More
- Blog - GitHub + Project Chat + GitHub - + {/**/}
- - - +
@@ -105,12 +103,23 @@ class Index extends React.Component { {[ { - content: - 'To make your landing page more attractive, use illustrations! Check out ' + - '[**unDraw**](https://undraw.co/) which provides you with customizable illustrations which are free to use. ' + - 'The illustrations you see on this page are from unDraw.', - image: `${baseUrl}img/undraw_code_review.svg`, - imageAlign: 'left', + content:` + \`\`\`android + import android.os.Bundle; + import android.support.annotation.Nullable; + import android.support.v7.app.AppCompatActivity; + import android.widget.Toast; + + public class HelloWorld extends AppCompatActivity { + @Override + protected void onCreate(@Nullable Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + Toast.makeText(this, "Hello World!", + Toast.LENGTH_SHORT).show(); + } + } + \`\`\` + `, title: 'Wonderful SVG Illustrations', }, ]} @@ -197,12 +206,12 @@ class Index extends React.Component {
- + {/* - + */}
); diff --git a/website/sidebars.json b/website/sidebars.json index 796ed1e..9655d82 100644 --- a/website/sidebars.json +++ b/website/sidebars.json @@ -1,8 +1,18 @@ { "docs-en": { - "Getting started": ["en/README", "en/first-project"], - "Debugging": ["en/duplicate-vars"], - "Blocks": ["en/blocks/control", "en/blocks/variables"], - "Components": ["en/components"] + "Getting started": [ + "en/README", + "en/first-project" + ], + "Debugging": [ + "en/duplicate-vars" + ], + "Blocks": [ + "en/blocks/control", + "en/blocks/variables" + ], + "Components": [ + "en/components/components" + ] } } diff --git a/website/siteConfig.js b/website/siteConfig.js index 7fdf26c..c5de7c0 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -28,18 +28,18 @@ const siteConfig = { // For no header links in the top nav bar -> headerLinks: [], headerLinks: [ - {doc: 'en/README', label: 'Getting started'}, + {doc: 'en/README', label: 'Docs'}, ], /* path to images for header/footer */ - headerIcon: 'img/favicon.ico', - footerIcon: 'img/favicon.ico', - favicon: 'img/favicon.ico', + headerIcon: 'img/logo.png', + footerIcon: 'img/logo.png', + favicon: 'img/logo.png', /* Colors for website */ colors: { - primaryColor: '#af367c', - secondaryColor: '#7a2556', + primaryColor: '#008dcd', + secondaryColor: '#ffa7a5', }, /* Custom fonts for website */ @@ -57,7 +57,7 @@ const siteConfig = { */ // This copyright info is used in /core/Footer.js and blog RSS/Atom feeds. - copyright: `Copyright © ${new Date().getFullYear()} Daniel Bulant, MIT Licensed`, + copyright: `Copyright © ${new Date().getFullYear()} Daniel Bulant, MIT Licensed`, highlight: { // Highlight.js theme to use for syntax highlighting in code blocks. @@ -87,7 +87,7 @@ const siteConfig = { // You may provide arbitrary config keys to be used as needed by your // template. For example, if you need your repo's URL... - repoUrl: 'https://github.com/facebook/test-site', + repoUrl: 'https://github.com/danbulant/sketchware-docs', }; module.exports = siteConfig; diff --git a/website/static/img/logo.png b/website/static/img/logo.png new file mode 100644 index 0000000..682f882 Binary files /dev/null and b/website/static/img/logo.png differ