打包好的livecode,版本v-46

This commit is contained in:
yangxin
2025-06-11 22:23:49 +08:00
commit 1214258379
1323 changed files with 133464 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["1024"],{327:function(e,t,n){n.r(t),n.d(t,{default:()=>u,frontMatter:()=>r,metadata:()=>o,assets:()=>a,toc:()=>d,contentTitle:()=>c});var o=JSON.parse('{"id":"gh-action","title":"GitHub Action \u26A1","description":"The Preview in LiveCodes GitHub Action generates preview links to playgrounds for code changes in pull requests and posts them as pull request comments.","source":"@site/docs/gh-action.mdx","sourceDirName":".","slug":"/gh-action","permalink":"/docs/gh-action","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/gh-action.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Bookmarklet","permalink":"/docs/bookmarklet"},"next":{"title":"Markdown to LiveCodes","permalink":"/docs/markdown-to-livecodes"}}'),i=n("5893"),s=n("65");let r={},c="GitHub Action \u26A1",a={},d=[];function l(e){let t={a:"a",h1:"h1",header:"header",img:"img",p:"p",strong:"strong",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"github-action-",children:"GitHub Action \u26A1"})}),"\n",(0,i.jsxs)(t.p,{children:["The ",(0,i.jsx)(t.a,{href:"https://github.com/live-codes/preview-in-livecodes",children:"Preview in LiveCodes"})," GitHub Action generates preview links to playgrounds for code changes in pull requests and posts them as pull request comments."]}),"\n",(0,i.jsx)(t.p,{children:"Once added to a repo, it runs when a pull request is created or updated. The new code is optionally built. The action posts in a pull request comment links to playgrounds that can use the new code."}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Screenshot:"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"Screenshot of the action",src:n(4926).Z+"",width:"1603",height:"931"})}),"\n",(0,i.jsxs)(t.p,{children:["For usage and more information, see the ",(0,i.jsx)(t.a,{href:"https://github.com/live-codes/preview-in-livecodes",children:"action docs"})," on GitHub. Also check the ",(0,i.jsx)(t.a,{href:"https://github.com/hatemhosny/preview-in-livecodes-demo",children:"example repo"})," for a working demo."]})]})}function u(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},4926:function(e,t,n){n.d(t,{Z:function(){return o}});let o=n.p+"assets/images/preview-in-livecodes-gh-action-b5fb7b1cb63d1e5bfbce956185166e10.png"},65:function(e,t,n){n.d(t,{Z:function(){return c},a:function(){return r}});var o=n(7294);let i={},s=o.createContext(i);function r(e){let t=o.useContext(s);return o.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["4878"],{3322:function(e,n,t){t.r(n),t.d(n,{default:()=>h,frontMatter:()=>c,metadata:()=>s,assets:()=>d,toc:()=>l,contentTitle:()=>o});var s=JSON.parse('{"id":"api/internal/type-aliases/WatchDestroy","title":"Type Alias: WatchDestroy()","description":"WatchDestroy: (event, fn) => object","source":"@site/docs/api/internal/type-aliases/WatchDestroy.md","sourceDirName":"api/internal/type-aliases","slug":"/api/internal/type-aliases/WatchDestroy","permalink":"/docs/api/internal/type-aliases/WatchDestroy","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/api/internal/type-aliases/WatchDestroy.md","tags":[],"version":"current","frontMatter":{}}'),r=t("5893"),i=t("65");let c={},o="Type Alias: WatchDestroy()",d={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"remove()",id:"remove",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in",level:2}];function a(e){let n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",p:"p",strong:"strong",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"type-alias-watchdestroy",children:"Type Alias: WatchDestroy()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"WatchDestroy"}),": (",(0,r.jsx)(n.code,{children:"event"}),", ",(0,r.jsx)(n.code,{children:"fn"}),") => ",(0,r.jsx)(n.code,{children:"object"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"event"}),": ",(0,r.jsx)(n.code,{children:'"destroy"'})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"fn"})]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"object"})}),"\n",(0,r.jsx)(n.h3,{id:"remove",children:"remove()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"remove"}),": () => ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/live-codes/livecodes/blob/7617d5c8be5a2a8be8133f973d9e69eb9f86434d/src/sdk/models.ts#L263",children:"models.ts:263"})})]})}function h(e={}){let{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},65:function(e,n,t){t.d(n,{Z:function(){return o},a:function(){return c}});var s=t(7294);let r={},i=s.createContext(r);function c(e){let n=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),s.createElement(i.Provider,{value:n},e.children)}}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["4054"],{9827:function(e,n,t){t.r(n),t.d(n,{default:()=>u,frontMatter:()=>s,metadata:()=>r,assets:()=>c,toc:()=>i,contentTitle:()=>d});var r=JSON.parse('{"id":"languages/markdown","title":"Markdown","description":"TODO...","source":"@site/docs/languages/markdown.mdx","sourceDirName":"languages","slug":"/languages/markdown","permalink":"/docs/languages/markdown","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/markdown.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Malina.js","permalink":"/docs/languages/malina"},"next":{"title":"MDX","permalink":"/docs/languages/mdx"}}'),a=t("5893"),o=t("65");let s={},d="Markdown",c={},i=[];function l(e){let n={h1:"h1",header:"header",p:"p",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"markdown",children:"Markdown"})}),"\n",(0,a.jsx)(n.p,{children:"TODO..."})]})}function u(e={}){let{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}},65:function(e,n,t){t.d(n,{Z:function(){return d},a:function(){return s}});var r=t(7294);let a={},o=r.createContext(a);function s(e){let n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["7801"],{3161:function(e,n,t){t.r(n),t.d(n,{default:()=>d,frontMatter:()=>o,metadata:()=>a,assets:()=>l,toc:()=>c,contentTitle:()=>i});var a=JSON.parse('{"id":"languages/malina","title":"Malina.js","description":"TODO...","source":"@site/docs/languages/malina.mdx","sourceDirName":"languages","slug":"/languages/malina","permalink":"/docs/languages/malina","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/malina.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Lua","permalink":"/docs/languages/lua"},"next":{"title":"Markdown","permalink":"/docs/languages/markdown"}}'),s=t("5893"),r=t("65");let o={},i="Malina.js",l={},c=[];function u(e){let n={h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"malinajs",children:"Malina.js"})}),"\n",(0,s.jsx)(n.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},65:function(e,n,t){t.d(n,{Z:function(){return i},a:function(){return o}});var a=t(7294);let s={},r=a.createContext(s);function o(e){let n=a.useContext(r);return a.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),a.createElement(r.Provider,{value:n},e.children)}}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["3142"],{4609:function(e,n,s){s.r(n),s.d(n,{default:()=>u,frontMatter:()=>o,metadata:()=>t,assets:()=>l,toc:()=>c,contentTitle:()=>d});var t=JSON.parse('{"id":"api/functions/getPlaygroundUrl","title":"Function: getPlaygroundUrl()","description":"getPlaygroundUrl(options): string","source":"@site/docs/api/functions/getPlaygroundUrl.md","sourceDirName":"api/functions","slug":"/api/functions/getPlaygroundUrl","permalink":"/docs/api/functions/getPlaygroundUrl","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/api/functions/getPlaygroundUrl.md","tags":[],"version":"current","frontMatter":{}}'),r=s("5893"),i=s("65");let o={},d="Function: getPlaygroundUrl()",l={},c=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){let n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-getplaygroundurl",children:"Function: getPlaygroundUrl()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"getPlaygroundUrl"}),"(",(0,r.jsx)(n.code,{children:"options"}),"): ",(0,r.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["Gets the URL to a LiveCodes playground (as a string) from the provided ",(0,r.jsx)(n.a,{href:"https://livecodes.io/docs/sdk/js-ts#embed-options",children:"options"}),".\nThis can be useful for providing links to run code in playgrounds."]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"options"}),": ",(0,r.jsx)(n.a,{href:"/docs/api/interfaces/EmbedOptions",children:(0,r.jsx)(n.code,{children:"EmbedOptions"})})," = ",(0,r.jsx)(n.code,{children:"{}"})]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.a,{href:"https://livecodes.io/docs/sdk/js-ts#embed-options",children:"options"})," for the playground."]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"string"})}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"The URL of the playground (as a string)."}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"large objects like config and params are store in the url hash params while the rest are in the search params\nunless config is a string in which case it is stored in searchParams"}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/live-codes/livecodes/blob/7617d5c8be5a2a8be8133f973d9e69eb9f86434d/src/sdk/index.ts#L391",children:"index.ts:391"})})]})}function u(e={}){let{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},65:function(e,n,s){s.d(n,{Z:function(){return d},a:function(){return o}});var t=s(7294);let r={},i=t.createContext(r);function o(e){let n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["2976"],{4544:function(e,n,i){i.r(n),i.d(n,{default:()=>u,frontMatter:()=>s,metadata:()=>t,assets:()=>c,toc:()=>l,contentTitle:()=>d});var t=JSON.parse('{"id":"api/internal/interfaces/EditorPosition","title":"Interface: EditorPosition","description":"Properties","source":"@site/docs/api/internal/interfaces/EditorPosition.md","sourceDirName":"api/internal/interfaces","slug":"/api/internal/interfaces/EditorPosition","permalink":"/docs/api/internal/interfaces/EditorPosition","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/api/internal/interfaces/EditorPosition.md","tags":[],"version":"current","frontMatter":{}}'),r=i("5893"),o=i("65");let s={},d="Interface: EditorPosition",c={},l=[{value:"Properties",id:"properties",level:2},{value:"column?",id:"column",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"lineNumber",id:"linenumber",level:3},{value:"Defined in",id:"defined-in-1",level:4}];function a(e){let n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",p:"p",strong:"strong",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"interface-editorposition",children:"Interface: EditorPosition"})}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"column",children:"column?"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"optional"})," ",(0,r.jsx)(n.strong,{children:"column"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/live-codes/livecodes/blob/7617d5c8be5a2a8be8133f973d9e69eb9f86434d/src/sdk/models.ts#L1165",children:"models.ts:1165"})}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"linenumber",children:"lineNumber"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"lineNumber"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/live-codes/livecodes/blob/7617d5c8be5a2a8be8133f973d9e69eb9f86434d/src/sdk/models.ts#L1164",children:"models.ts:1164"})})]})}function u(e={}){let{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},65:function(e,n,i){i.d(n,{Z:function(){return d},a:function(){return s}});var t=i(7294);let r={},o=t.createContext(r);function s(e){let n=t.useContext(o);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["8076"],{9661:function(e,t,s){s.r(t),s.d(t,{default:()=>d,frontMatter:()=>c,metadata:()=>n,assets:()=>l,toc:()=>i,contentTitle:()=>a});var n=JSON.parse('{"id":"languages/postcssPresetEnv","title":"Preset Env","description":"TODO...","source":"@site/docs/languages/postcssPresetEnv.mdx","sourceDirName":"languages","slug":"/languages/postcssPresetEnv","permalink":"/docs/languages/postcssPresetEnv","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/postcssPresetEnv.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Import Url","permalink":"/docs/languages/postcssImportUrl"},"next":{"title":"PostgreSQL","permalink":"/docs/languages/postgresql"}}'),r=s("5893"),o=s("65");let c={},a="Preset Env",l={},i=[];function u(e){let t={h1:"h1",header:"header",p:"p",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"preset-env",children:"Preset Env"})}),"\n",(0,r.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},65:function(e,t,s){s.d(t,{Z:function(){return a},a:function(){return c}});var n=s(7294);let r={},o=n.createContext(r);function c(e){let t=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["1551"],{2782:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>c,metadata:()=>s,assets:()=>i,toc:()=>l,contentTitle:()=>o});var s=JSON.parse('{"id":"languages/cpp","title":"C++","description":"TODO...","source":"@site/docs/languages/cpp.mdx","sourceDirName":"languages","slug":"/languages/cpp","permalink":"/docs/languages/cpp","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/cpp.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"C/C++ (Wasm)","permalink":"/docs/languages/cpp-wasm"},"next":{"title":"C# (Wasm)","permalink":"/docs/languages/csharp-wasm"}}'),r=n("5893"),a=n("65");let c={},o="C++",i={},l=[];function u(e){let t={h1:"h1",header:"header",p:"p",...(0,a.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"c",children:"C++"})}),"\n",(0,r.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},65:function(e,t,n){n.d(t,{Z:function(){return o},a:function(){return c}});var s=n(7294);let r={},a=s.createContext(r);function c(e){let t=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["1381"],{4483:function(c,e,n){n.r(e),n.d(e,{DocSearchModal:function(){return s.He}});var s=n(4443)}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["4684"],{6191:function(e,t,s){s.r(t),s.d(t,{default:()=>d,frontMatter:()=>c,metadata:()=>n,assets:()=>l,toc:()=>i,contentTitle:()=>a});var n=JSON.parse('{"id":"languages/postcss","title":"PostCSS","description":"TODO...","source":"@site/docs/languages/postcss.mdx","sourceDirName":"languages","slug":"/languages/postcss","permalink":"/docs/languages/postcss","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/postcss.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"PHP","permalink":"/docs/languages/php"},"next":{"title":"Import Url","permalink":"/docs/languages/postcssImportUrl"}}'),o=s("5893"),r=s("65");let c={},a="PostCSS",l={},i=[];function u(e){let t={h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"postcss",children:"PostCSS"})}),"\n",(0,o.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},65:function(e,t,s){s.d(t,{Z:function(){return a},a:function(){return c}});var n=s(7294);let o={},r=n.createContext(o);function c(e){let t=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["1698"],{9177:function(s,c,e){e.r(c)}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["7048"],{2688:function(e,t,s){s.d(t,{Z:()=>k});var n=s("5893"),o=s("7097"),c=s("7550"),d=s("7624"),l=s("5872"),i=s("113"),a=s("2540"),r=s("4813"),m=s("5445"),x=s("3288"),j=s("1987"),u=s("9548"),h=s("7026");let Z={docItemContainer:"docItemContainer_c0TR",docItemCol:"docItemCol_z5aJ"};function k(e){let{children:t}=e,s=function(){let{frontMatter:e}=(0,o.k)(),t=(0,c.i)(),s=e.hide_table_of_contents,d=!s;return{hidden:s,mobile:d?(0,n.jsx)(x.Z,{}):void 0,desktop:d&&("desktop"===t||"ssr"===t)?(0,n.jsx)(m.Z,{}):void 0}}(),{metadata:k}=(0,o.k)();return(0,n.jsxs)("div",{className:"row",children:[(0,n.jsxs)("div",{className:(0,h.Z)("col",!s.hidden&&Z.docItemCol),children:[(0,n.jsx)(d.Z,{metadata:k}),(0,n.jsx)(u.Z,{}),(0,n.jsxs)("div",{className:Z.docItemContainer,children:[(0,n.jsxs)("article",{children:[(0,n.jsx)(l.Z,{}),(0,n.jsx)(j.Z,{}),s.mobile,(0,n.jsx)(i.Z,{children:t}),(0,n.jsx)(a.Z,{})]}),(0,n.jsx)(r.Z,{})]})]}),s.desktop&&(0,n.jsx)("div",{className:"col col--3",children:s.desktop})]})}},659:function(e,t,s){s.d(t,{Z:()=>i});var n=s("5893"),o=s("7294"),c=s("6643"),d=s("2188");let l={content:"content_kfNa"};function i(e){let{tocContent:t}=(0,o.useContext)(d.Bi);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.Z,{...e}),t&&(0,n.jsx)("div",{className:`custom-content custom-content-toc ${l.content}`,dangerouslySetInnerHTML:{__html:t}})]})}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["7694"],{5764:function(e,t,n){n.r(t),n.d(t,{default:()=>h,frontMatter:()=>l,metadata:()=>r,assets:()=>d,toc:()=>u,contentTitle:()=>c});var r=JSON.parse('{"id":"overview","title":"Overview","description":"LiveCodes is an open-source client-side code playground. It is feature-rich with support for 90+ languages/frameworks. It can be used as a standalone app or embedded in any web page. A powerful SDK is available to facilitate embedding and communication with embedded playgrounds.","source":"@site/docs/overview.mdx","sourceDirName":".","slug":"/overview","permalink":"/docs/overview","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/overview.mdx","tags":[],"version":"current","frontMatter":{"slug":"/overview"},"sidebar":"docsSidebar","next":{"title":"Why Another Playground?","permalink":"/docs/why"}}'),i=n("5893"),o=n("65"),s=n("8399"),a=n("7378");let l={slug:"/overview"},c="Overview",d={},u=[];function f(e){let t={a:"a",h1:"h1",header:"header",p:"p",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"overview",children:"Overview"})}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.a,{href:"https://livecodes.io",children:"LiveCodes"})," is an ",(0,i.jsx)(t.a,{href:"/docs/license",children:"open-source"})," client-side code playground. It is ",(0,i.jsx)(t.a,{href:"/docs/features/",children:"feature-rich"})," with support for ",(0,i.jsx)(t.a,{href:"/docs/languages/",children:"90+ languages/frameworks"}),". It can be used as a ",(0,i.jsx)(t.a,{href:"/docs/getting-started#standalone-app",children:"standalone app"})," or ",(0,i.jsx)(t.a,{href:"/docs/features/embeds",children:"embedded"})," in any web page. A powerful ",(0,i.jsx)(t.a,{href:"/docs/sdk/",children:"SDK"})," is available to facilitate embedding and communication with embedded playgrounds."]}),"\n",(0,i.jsx)(t.p,{children:"The sections below include the documentation details:"}),"\n","\n",(0,i.jsx)(s.Z,{items:(0,a.jA)().items})]})}function h(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(f,{...e})}):f(e)}},8399:function(e,t,n){n.d(t,{Z:()=>x});var r=n("5893");n("7294");var i=n("7026"),o=n("6563"),s=n("3367"),a=n("1107"),l=n("9999"),c=n("7670"),d=n("9386");let u={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};function f(e){let{href:t,children:n}=e;return(0,r.jsx)(s.Z,{href:t,className:(0,i.Z)("card padding--lg",u.cardContainer),children:n})}function h(e){let{href:t,icon:n,title:o,description:s}=e;return(0,r.jsxs)(f,{href:t,children:[(0,r.jsxs)(d.Z,{as:"h2",className:(0,i.Z)("text--truncate",u.cardTitle),title:o,children:[n," ",o]}),s&&(0,r.jsx)("p",{className:(0,i.Z)("text--truncate",u.cardDescription),title:s,children:s})]})}function p(e){let{item:t}=e,n=(0,o.LM)(t),i=function(){let{selectMessage:e}=(0,a.c)();return t=>e(t,(0,c.I)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,r.jsx)(h,{href:n,icon:"\uD83D\uDDC3\uFE0F",title:t.label,description:t.description??i(t.items.length)}):null}function m(e){let{item:t}=e,n=(0,l.Z)(t.href)?"\uD83D\uDCC4\uFE0F":"\uD83D\uDD17",i=(0,o.xz)(t.docId??void 0);return(0,r.jsx)(h,{href:t.href,icon:n,title:t.label,description:t.description??i?.description})}function g(e){let{item:t}=e;switch(t.type){case"link":return(0,r.jsx)(m,{item:t});case"category":return(0,r.jsx)(p,{item:t});default:throw Error(`unknown item type ${JSON.stringify(t)}`)}}function v(e){let{className:t}=e,n=(0,o.jA)();return(0,r.jsx)(x,{items:n.items,className:t})}function x(e){let{items:t,className:n}=e;if(!t)return(0,r.jsx)(v,{...e});let s=(0,o.MN)(t);return(0,r.jsx)("section",{className:(0,i.Z)("row",n),children:s.map((e,t)=>(0,r.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,r.jsx)(g,{item:e})},t))})}},7378:function(e,t,n){function r(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n(8854).jA(...t)}n.d(t,{jA:function(){return r}}),n(7262)},1107:function(e,t,n){n.d(t,{c:function(){return l}});var r=n(7294),i=n(7262);let o=["zero","one","two","few","many","other"];function s(e){return o.filter(t=>e.includes(t))}let a={locale:"en",pluralForms:s(["one","other"]),select:e=>1===e?"one":"other"};function l(){let e=function(){let{i18n:{currentLocale:e}}=(0,i.Z)();return(0,r.useMemo)(()=>{try{return function(e){let t=new Intl.PluralRules(e);return{locale:e,pluralForms:s(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".
Docusaurus will fallback to the default (English) implementation.
Error: ${t.message}
`),a}},[e])}();return{selectMessage:(t,n)=>(function(e,t,n){let r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);let i=n.select(t);return r[Math.min(n.pluralForms.indexOf(i),r.length-1)]})(n,t,e)}}},65:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return s}});var r=n(7294);let i={},o=r.createContext(i);function s(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["5866"],{3007:function(e,s,r){r.r(s),r.d(s,{default:()=>u,frontMatter:()=>c,metadata:()=>t,assets:()=>d,toc:()=>l,contentTitle:()=>i});var t=JSON.parse('{"id":"features/user-settings","title":"User Settings","description":"A user can select various settings that are stored locally in the browser and are subsequently used.","source":"@site/docs/features/user-settings.mdx","sourceDirName":"features","slug":"/features/user-settings","permalink":"/docs/features/user-settings","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/features/user-settings.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Keyboard Shortcuts","permalink":"/docs/features/keyboard-shortcuts"},"next":{"title":"Editor Settings","permalink":"/docs/features/editor-settings"}}'),n=r("5893"),a=r("65");let c={},i="User Settings",d={},l=[{value:"Related",id:"related",level:2}];function o(e){let s={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.header,{children:(0,n.jsx)(s.h1,{id:"user-settings",children:"User Settings"})}),"\n",(0,n.jsx)(s.p,{children:"A user can select various settings that are stored locally in the browser and are subsequently used."}),"\n",(0,n.jsx)(s.p,{children:"User settings can be configured in Settings menu. These include settings like:"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:"Auto-update"}),"\n",(0,n.jsx)(s.li,{children:"Auto-save"}),"\n",(0,n.jsx)(s.li,{children:"Delay (before auto-update and auto-save)"}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/code-format#format-on-save",children:"Format on-save"})}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"/docs/features/themes",children:"Theme"})," (light/dark)"]}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/themes#theme-color",children:"Theme color"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/recover",children:"Recover unsaved projects"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/result#show-spacings",children:"Show spacing"})}),"\n",(0,n.jsx)(s.li,{children:"Layout (responsive/vertical/horizontal)"}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/sync",children:"Sync"})}),"\n",(0,n.jsxs)(s.li,{children:["Show ",(0,n.jsx)(s.a,{href:"/docs/features/welcome",children:"welcome screen"})]}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/i18n",children:"App language"})}),"\n"]}),"\n",(0,n.jsxs)(s.p,{children:["The settings selected in the ",(0,n.jsx)(s.a,{href:"/docs/features/editor-settings",children:(0,n.jsx)(s.code,{children:"Editor Settings"})})," screen are also saved locally as user settings."]}),"\n",(0,n.jsxs)(s.p,{children:["User settings are scoped to the currently ",(0,n.jsx)(s.a,{href:"/docs/features/user-management",children:"logged-in user"}),". They can be ",(0,n.jsx)(s.a,{href:"/docs/features/backup-restore",children:"backed up/restored"})," and ",(0,n.jsx)(s.a,{href:"/docs/features/sync",children:"synced"})," the same as other user data (",(0,n.jsx)(s.a,{href:"/docs/features/projects",children:"projects"}),", ",(0,n.jsx)(s.a,{href:"/docs/features/templates#user-templates",children:"user templates"}),", ",(0,n.jsx)(s.a,{href:"/docs/features/assets",children:"assets"}),", ",(0,n.jsx)(s.a,{href:"/docs/features/snippets",children:"code snippets"}),")."]}),"\n",(0,n.jsx)(s.h2,{id:"related",children:"Related"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/user-management",children:"User management"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/projects",children:"Project"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/templates",children:"Templates"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/backup-restore",children:"Backup/Restore"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"/docs/features/sync",children:"Sync"})}),"\n"]})]})}function u(e={}){let{wrapper:s}={...(0,a.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},65:function(e,s,r){r.d(s,{Z:function(){return i},a:function(){return c}});var t=r(7294);let n={},a=t.createContext(n);function c(e){let s=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),t.createElement(a.Provider,{value:s},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["677"],{2107:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>o,metadata:()=>a,assets:()=>c,toc:()=>l,contentTitle:()=>i});var a=JSON.parse('{"id":"languages/imba","title":"Imba","description":"TODO...","source":"@site/docs/languages/imba.mdx","sourceDirName":"languages","slug":"/languages/imba","permalink":"/docs/languages/imba","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/imba.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"HTML","permalink":"/docs/languages/html"},"next":{"title":"Java","permalink":"/docs/languages/java"}}'),s=n("5893"),r=n("65");let o={},i="Imba",c={},l=[];function u(e){let t={h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"imba",children:"Imba"})}),"\n",(0,s.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},65:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return o}});var a=n(7294);let s={},r=a.createContext(s);function o(e){let t=a.useContext(r);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),a.createElement(r.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["2154"],{6945:function(s,c,e){e.r(c)}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["4020"],{208:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>i,metadata:()=>r,assets:()=>c,toc:()=>u,contentTitle:()=>a});var r=JSON.parse('{"id":"languages/riot","title":"Riot.js","description":"TODO...","source":"@site/docs/languages/riot.mdx","sourceDirName":"languages","slug":"/languages/riot","permalink":"/docs/languages/riot","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/riot.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Rich Text Editor","permalink":"/docs/languages/richtext"},"next":{"title":"Ruby (Wasm)","permalink":"/docs/languages/ruby-wasm"}}'),s=n("5893"),o=n("65");let i={},a="Riot.js",c={},u=[];function l(e){let t={h1:"h1",header:"header",p:"p",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"riotjs",children:"Riot.js"})}),"\n",(0,s.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},65:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return i}});var r=n(7294);let s={},o=r.createContext(s);function i(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["3953"],{5605:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>o,metadata:()=>s,assets:()=>l,toc:()=>u,contentTitle:()=>i});var s=JSON.parse('{"id":"languages/julia","title":"Julia","description":"TODO...","source":"@site/docs/languages/julia.mdx","sourceDirName":"languages","slug":"/languages/julia","permalink":"/docs/languages/julia","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/julia.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"JSX","permalink":"/docs/languages/jsx"},"next":{"title":"Less","permalink":"/docs/languages/less"}}'),a=n("5893"),r=n("65");let o={},i="Julia",l={},u=[];function c(e){let t={h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"julia",children:"Julia"})}),"\n",(0,a.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},65:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return o}});var s=n(7294);let a={},r=s.createContext(a);function o(e){let t=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["3208"],{7357:function(e,n,s){s.r(n),s.d(n,{default:()=>u,frontMatter:()=>t,metadata:()=>i,assets:()=>c,toc:()=>d,contentTitle:()=>a});var i=JSON.parse('{"id":"api/globals","title":"livecodes","description":"Modules","source":"@site/docs/api/globals.md","sourceDirName":"api","slug":"/api/globals","permalink":"/docs/api/globals","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/api/globals.md","tags":[],"version":"current","frontMatter":{}}'),l=s("5893"),r=s("65");let t={},a="livecodes",c={},d=[{value:"Modules",id:"modules",level:2},{value:"Interfaces",id:"interfaces",level:2},{value:"Type Aliases",id:"type-aliases",level:2},{value:"Functions",id:"functions",level:2}];function o(e){let n={a:"a",h1:"h1",h2:"h2",header:"header",li:"li",ul:"ul",...(0,r.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.header,{children:(0,l.jsx)(n.h1,{id:"livecodes",children:"livecodes"})}),"\n",(0,l.jsx)(n.h2,{id:"modules",children:"Modules"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"/docs/api/internal/",children:"_internal"})}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"interfaces",children:"Interfaces"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"/docs/api/interfaces/Code",children:"Code"})}),"\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"/docs/api/interfaces/Config",children:"Config"})}),"\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"/docs/api/interfaces/EmbedOptions",children:"EmbedOptions"})}),"\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"/docs/api/interfaces/Playground",children:"Playground"})}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"type-aliases",children:"Type Aliases"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"/docs/api/type-aliases/Language",children:"Language"})}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"functions",children:"Functions"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"/docs/api/functions/createPlayground",children:"createPlayground"})}),"\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"/docs/api/functions/getPlaygroundUrl",children:"getPlaygroundUrl"})}),"\n"]})]})}function u(e={}){let{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,l.jsx)(n,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},65:function(e,n,s){s.d(n,{Z:function(){return a},a:function(){return t}});var i=s(7294);let l={},r=i.createContext(l);function t(e){let n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:t(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["7459"],{4354:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>s,metadata:()=>r,assets:()=>u,toc:()=>c,contentTitle:()=>i});var r=JSON.parse('{"id":"languages/autoprefixer","title":"Autoprefixer","description":"TODO...","source":"@site/docs/languages/autoprefixer.mdx","sourceDirName":"languages","slug":"/languages/autoprefixer","permalink":"/docs/languages/autoprefixer","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/autoprefixer.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Astro","permalink":"/docs/languages/astro"},"next":{"title":"Babel","permalink":"/docs/languages/babel"}}'),o=n("5893"),a=n("65");let s={},i="Autoprefixer",u={},c=[];function l(e){let t={h1:"h1",header:"header",p:"p",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"autoprefixer",children:"Autoprefixer"})}),"\n",(0,o.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},65:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return s}});var r=n(7294);let o={},a=r.createContext(o);function s(e){let t=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(a.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["1939"],{8249:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>c,metadata:()=>a,assets:()=>o,toc:()=>l,contentTitle:()=>i});var a=JSON.parse('{"id":"languages/javascript","title":"JavaScript","description":"TODO...","source":"@site/docs/languages/javascript.mdx","sourceDirName":"languages","slug":"/languages/javascript","permalink":"/docs/languages/javascript","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/javascript.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Java","permalink":"/docs/languages/java"},"next":{"title":"Jinja","permalink":"/docs/languages/jinja"}}'),r=n("5893"),s=n("65");let c={},i="JavaScript",o={},l=[];function u(e){let t={h1:"h1",header:"header",p:"p",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"javascript",children:"JavaScript"})}),"\n",(0,r.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},65:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return c}});var a=n(7294);let r={},s=a.createContext(r);function c(e){let t=a.useContext(s);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),a.createElement(s.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["5172"],{5604:function(e,t,n){n.r(t),n.d(t,{default:()=>p,frontMatter:()=>a,metadata:()=>r,assets:()=>u,toc:()=>d,contentTitle:()=>c});var r=JSON.parse('{"id":"examples/display-modes/index","title":"Display Modes","description":"","source":"@site/docs/examples/display-modes/index.mdx","sourceDirName":"examples/display-modes","slug":"/examples/display-modes/","permalink":"/docs/examples/display-modes/","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/examples/display-modes/index.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"examplesSidebar","next":{"title":"full","permalink":"/docs/examples/display-modes/full"}}'),s=n("5893"),l=n("65"),o=n("8399"),i=n("7378");let a={},c="Display Modes",u={},d=[];function m(e){let t={h1:"h1",header:"header",...(0,l.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"display-modes",children:"Display Modes"})}),"\n","\n",(0,s.jsx)(o.Z,{items:(0,i.jA)().items})]})}function p(e={}){let{wrapper:t}={...(0,l.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(m,{...e})}):m(e)}},8399:function(e,t,n){n.d(t,{Z:()=>j});var r=n("5893");n("7294");var s=n("7026"),l=n("6563"),o=n("3367"),i=n("1107"),a=n("9999"),c=n("7670"),u=n("9386");let d={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};function m(e){let{href:t,children:n}=e;return(0,r.jsx)(o.Z,{href:t,className:(0,s.Z)("card padding--lg",d.cardContainer),children:n})}function p(e){let{href:t,icon:n,title:l,description:o}=e;return(0,r.jsxs)(m,{href:t,children:[(0,r.jsxs)(u.Z,{as:"h2",className:(0,s.Z)("text--truncate",d.cardTitle),title:l,children:[n," ",l]}),o&&(0,r.jsx)("p",{className:(0,s.Z)("text--truncate",d.cardDescription),title:o,children:o})]})}function f(e){let{item:t}=e,n=(0,l.LM)(t),s=function(){let{selectMessage:e}=(0,i.c)();return t=>e(t,(0,c.I)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,r.jsx)(p,{href:n,icon:"\uD83D\uDDC3\uFE0F",title:t.label,description:t.description??s(t.items.length)}):null}function h(e){let{item:t}=e,n=(0,a.Z)(t.href)?"\uD83D\uDCC4\uFE0F":"\uD83D\uDD17",s=(0,l.xz)(t.docId??void 0);return(0,r.jsx)(p,{href:t.href,icon:n,title:t.label,description:t.description??s?.description})}function x(e){let{item:t}=e;switch(t.type){case"link":return(0,r.jsx)(h,{item:t});case"category":return(0,r.jsx)(f,{item:t});default:throw Error(`unknown item type ${JSON.stringify(t)}`)}}function g(e){let{className:t}=e,n=(0,l.jA)();return(0,r.jsx)(j,{items:n.items,className:t})}function j(e){let{items:t,className:n}=e;if(!t)return(0,r.jsx)(g,{...e});let o=(0,l.MN)(t);return(0,r.jsx)("section",{className:(0,s.Z)("row",n),children:o.map((e,t)=>(0,r.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,r.jsx)(x,{item:e})},t))})}},7378:function(e,t,n){function r(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n(8854).jA(...t)}n.d(t,{jA:function(){return r}}),n(7262)},1107:function(e,t,n){n.d(t,{c:function(){return a}});var r=n(7294),s=n(7262);let l=["zero","one","two","few","many","other"];function o(e){return l.filter(t=>e.includes(t))}let i={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function a(){let e=function(){let{i18n:{currentLocale:e}}=(0,s.Z)();return(0,r.useMemo)(()=>{try{return function(e){let t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".
Docusaurus will fallback to the default (English) implementation.
Error: ${t.message}
`),i}},[e])}();return{selectMessage:(t,n)=>(function(e,t,n){let r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);let s=n.select(t);return r[Math.min(n.pluralForms.indexOf(s),r.length-1)]})(n,t,e)}}},65:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return o}});var r=n(7294);let s={},l=r.createContext(s);function o(e){let t=r.useContext(l);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(l.Provider,{value:t},e.children)}}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["2642"],{3151:function(e,t,n){n.r(t),n.d(t,{default:()=>l,frontMatter:()=>i,metadata:()=>o,assets:()=>a,toc:()=>u,contentTitle:()=>c});var o=JSON.parse('{"id":"about","title":"About us","description":"LiveCodes is built and maintained by Hatem Hosny, and wonderful contributors.","source":"@site/docs/about.mdx","sourceDirName":".","slug":"/about","permalink":"/docs/about","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/about.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Contact","permalink":"/docs/contact"}}'),s=n("5893"),r=n("65");let i={},c="About us",a={},u=[];function d(e){let t={a:"a",h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"about-us",children:"About us"})}),"\n",(0,s.jsxs)(t.p,{children:["LiveCodes is built and maintained by ",(0,s.jsx)(t.a,{href:"https://github.com/hatemhosny",children:"Hatem Hosny"}),", and wonderful ",(0,s.jsx)(t.a,{href:"https://github.com/live-codes/livecodes/graphs/contributors",children:"contributors"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Feature requests and bug reports are received on the ",(0,s.jsx)(t.a,{href:"https://github.com/live-codes/livecodes/issues",children:"GitHub repo"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"Contributions are most welcome. Please open an issue on the GitHub repo to discuss your potential contribution before submitting a pull request."}),"\n",(0,s.jsxs)(t.p,{children:["Reach out to us using this ",(0,s.jsx)(t.a,{href:"/docs/contact",children:"contact form"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Please consider ",(0,s.jsx)(t.a,{href:"/docs/sponsor",children:"sponsoring LiveCodes"})," to support its maintenance and continued development."]})]})}function l(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},65:function(e,t,n){n.d(t,{Z:function(){return c},a:function(){return i}});var o=n(7294);let s={},r=o.createContext(s);function i(e){let t=o.useContext(r);return o.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["7671"],{1671:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>a,metadata:()=>r,assets:()=>i,toc:()=>l,contentTitle:()=>c});var r=JSON.parse('{"id":"languages/astro","title":"Astro","description":"TODO...","source":"@site/docs/languages/astro.mdx","sourceDirName":"languages","slug":"/languages/astro","permalink":"/docs/languages/astro","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/astro.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"AssemblyScript","permalink":"/docs/languages/assemblyscript"},"next":{"title":"Autoprefixer","permalink":"/docs/languages/autoprefixer"}}'),s=n("5893"),o=n("65");let a={},c="Astro",i={},l=[];function u(e){let t={h1:"h1",header:"header",p:"p",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"astro",children:"Astro"})}),"\n",(0,s.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},65:function(e,t,n){n.d(t,{Z:function(){return c},a:function(){return a}});var r=n(7294);let s={},o=r.createContext(s);function a(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["3853"],{1694:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(5893);n(7294);var o=n(7026),r=n(7670),s=n(9386);function a(e){let{className:t}=e;return(0,i.jsx)("main",{className:(0,o.Z)("container margin-vert--xl",t),children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,i.jsx)(s.Z,{as:"h1",className:"hero__title",children:(0,i.jsx)(r.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,i.jsx)("p",{children:(0,i.jsx)(r.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,i.jsx)("p",{children:(0,i.jsx)(r.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},2917:function(e,t,n){n.r(t),n.d(t,{default:function(){return d}});var i=n(5893);n(7294);var o=n(7670),r=n(5231),s=n(3687),a=n(1694);function d(){let e=(0,o.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.d,{title:e}),(0,i.jsx)(s.Z,{children:(0,i.jsx)(a.Z,{})})]})}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["6360"],{2414:function(e,s,n){n.r(s),n.d(s,{default:()=>p,frontMatter:()=>r,metadata:()=>o,assets:()=>d,toc:()=>l,contentTitle:()=>i});var o=JSON.parse('{"id":"api/internal/type-aliases/Processor","title":"Type Alias: Processor","description":"Processor: \\"postcss\\" \\\\| \\"postcssImportUrl\\" \\\\| \\"tailwindcss\\" \\\\| \\"windicss\\" \\\\| \\"unocss\\" \\\\| \\"tokencss\\" \\\\| \\"lightningcss\\" \\\\| \\"autoprefixer\\" \\\\| \\"postcssPresetEnv\\" \\\\| \\"cssmodules\\" \\\\| \\"purgecss\\" \\\\| \\"cssnano\\"","source":"@site/docs/api/internal/type-aliases/Processor.md","sourceDirName":"api/internal/type-aliases","slug":"/api/internal/type-aliases/Processor","permalink":"/docs/api/internal/type-aliases/Processor","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/api/internal/type-aliases/Processor.md","tags":[],"version":"current","frontMatter":{}}'),c=n("5893"),t=n("65");let r={},i="Type Alias: Processor",d={},l=[{value:"Defined in",id:"defined-in",level:2}];function a(e){let s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,t.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(s.header,{children:(0,c.jsx)(s.h1,{id:"type-alias-processor",children:"Type Alias: Processor"})}),"\n",(0,c.jsxs)(s.blockquote,{children:["\n",(0,c.jsxs)(s.p,{children:[(0,c.jsx)(s.strong,{children:"Processor"}),": ",(0,c.jsx)(s.code,{children:'"postcss"'})," | ",(0,c.jsx)(s.code,{children:'"postcssImportUrl"'})," | ",(0,c.jsx)(s.code,{children:'"tailwindcss"'})," | ",(0,c.jsx)(s.code,{children:'"windicss"'})," | ",(0,c.jsx)(s.code,{children:'"unocss"'})," | ",(0,c.jsx)(s.code,{children:'"tokencss"'})," | ",(0,c.jsx)(s.code,{children:'"lightningcss"'})," | ",(0,c.jsx)(s.code,{children:'"autoprefixer"'})," | ",(0,c.jsx)(s.code,{children:'"postcssPresetEnv"'})," | ",(0,c.jsx)(s.code,{children:'"cssmodules"'})," | ",(0,c.jsx)(s.code,{children:'"purgecss"'})," | ",(0,c.jsx)(s.code,{children:'"cssnano"'})]}),"\n"]}),"\n",(0,c.jsx)(s.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(s.p,{children:(0,c.jsx)(s.a,{href:"https://github.com/live-codes/livecodes/blob/7617d5c8be5a2a8be8133f973d9e69eb9f86434d/src/sdk/models.ts#L1226",children:"models.ts:1226"})})]})}function p(e={}){let{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,c.jsx)(s,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},65:function(e,s,n){n.d(s,{Z:function(){return i},a:function(){return r}});var o=n(7294);let c={},t=o.createContext(c);function r(e){let s=o.useContext(t);return o.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),o.createElement(t.Provider,{value:s},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["1850"],{9889:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>a,metadata:()=>s,assets:()=>u,toc:()=>i,contentTitle:()=>c});var s=JSON.parse('{"id":"languages/purgecss","title":"PurgeCSS","description":"TODO...","source":"@site/docs/languages/purgecss.mdx","sourceDirName":"languages","slug":"/languages/purgecss","permalink":"/docs/languages/purgecss","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/purgecss.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Pug","permalink":"/docs/languages/pug"},"next":{"title":"Python (Wasm)","permalink":"/docs/languages/python-wasm"}}'),r=n("5893"),o=n("65");let a={},c="PurgeCSS",u={},i=[];function l(e){let t={h1:"h1",header:"header",p:"p",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"purgecss",children:"PurgeCSS"})}),"\n",(0,r.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},65:function(e,t,n){n.d(t,{Z:function(){return c},a:function(){return a}});var s=n(7294);let r={},o=s.createContext(r);function a(e){let t=s.useContext(o);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["2907"],{5963:function(e,n,t){t.r(n),t.d(n,{default:()=>h,frontMatter:()=>i,metadata:()=>s,assets:()=>c,toc:()=>l,contentTitle:()=>a});var s=JSON.parse('{"id":"api/internal/type-aliases/WatchLoad","title":"Type Alias: WatchLoad()","description":"WatchLoad: (event, fn) => object","source":"@site/docs/api/internal/type-aliases/WatchLoad.md","sourceDirName":"api/internal/type-aliases","slug":"/api/internal/type-aliases/WatchLoad","permalink":"/docs/api/internal/type-aliases/WatchLoad","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/api/internal/type-aliases/WatchLoad.md","tags":[],"version":"current","frontMatter":{}}'),r=t("5893"),d=t("65");let i={},a="Type Alias: WatchLoad()",c={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"remove()",id:"remove",level:3},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in",level:2}];function o(e){let n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",p:"p",strong:"strong",...(0,d.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"type-alias-watchload",children:"Type Alias: WatchLoad()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"WatchLoad"}),": (",(0,r.jsx)(n.code,{children:"event"}),", ",(0,r.jsx)(n.code,{children:"fn"}),") => ",(0,r.jsx)(n.code,{children:"object"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"Called when the playground first loads."}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"event"}),": ",(0,r.jsx)(n.code,{children:'"load"'})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"fn"})]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"object"})}),"\n",(0,r.jsx)(n.h3,{id:"remove",children:"remove()"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"remove"}),": () => ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/live-codes/livecodes/blob/7617d5c8be5a2a8be8133f973d9e69eb9f86434d/src/sdk/models.ts#L225",children:"models.ts:225"})})]})}function h(e={}){let{wrapper:n}={...(0,d.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},65:function(e,n,t){t.d(n,{Z:function(){return a},a:function(){return i}});var s=t(7294);let r={},d=s.createContext(r);function i(e){let n=s.useContext(d);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),s.createElement(d.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["4330"],{7753:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>u,metadata:()=>r,assets:()=>a,toc:()=>i,contentTitle:()=>c});var r=JSON.parse('{"id":"features/emmet","title":"Emmet Support","description":"","source":"@site/docs/features/emmet.mdx","sourceDirName":"features","slug":"/features/emmet","permalink":"/docs/features/emmet","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/features/emmet.mdx","tags":[],"version":"current","frontMatter":{}}'),o=n("5893"),s=n("65");let u={},c="Emmet Support",a={},i=[];function m(e){let t={h1:"h1",header:"header",...(0,s.a)(),...e.components};return(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"emmet-support",children:"Emmet Support"})})}function d(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},65:function(e,t,n){n.d(t,{Z:function(){return c},a:function(){return u}});var r=n(7294);let o={},s=r.createContext(o);function u(e){let t=r.useContext(s);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:u(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["2936"],{7505:function(e,t,s){s.r(t),s.d(t,{default:()=>d,frontMatter:()=>c,metadata:()=>n,assets:()=>i,toc:()=>l,contentTitle:()=>o});var n=JSON.parse('{"id":"languages/assemblyscript","title":"AssemblyScript","description":"TODO...","source":"@site/docs/languages/assemblyscript.mdx","sourceDirName":"languages","slug":"/languages/assemblyscript","permalink":"/docs/languages/assemblyscript","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/assemblyscript.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"AsciiDoc","permalink":"/docs/languages/asciidoc"},"next":{"title":"Astro","permalink":"/docs/languages/astro"}}'),r=s("5893"),a=s("65");let c={},o="AssemblyScript",i={},l=[];function u(e){let t={h1:"h1",header:"header",p:"p",...(0,a.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"assemblyscript",children:"AssemblyScript"})}),"\n",(0,r.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},65:function(e,t,s){s.d(t,{Z:function(){return o},a:function(){return c}});var n=s(7294);let r={},a=n.createContext(r);function c(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["1706"],{395:function(e,n,t){t.r(n),t.d(n,{default:()=>p,frontMatter:()=>i,metadata:()=>r,assets:()=>o,toc:()=>d,contentTitle:()=>a});var r=JSON.parse('{"id":"api/internal/interfaces/Types","title":"Interface: Types","description":"Indexable","source":"@site/docs/api/internal/interfaces/Types.md","sourceDirName":"api/internal/interfaces","slug":"/api/internal/interfaces/Types","permalink":"/docs/api/internal/interfaces/Types","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/api/internal/interfaces/Types.md","tags":[],"version":"current","frontMatter":{}}'),s=t("5893"),c=t("65");let i={},a="Interface: Types",o={},d=[{value:"Indexable",id:"indexable",level:2}];function l(e){let n={code:"code",h1:"h1",h2:"h2",header:"header",p:"p",...(0,c.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"interface-types",children:"Interface: Types"})}),"\n",(0,s.jsx)(n.h2,{id:"indexable",children:"Indexable"}),"\n",(0,s.jsxs)(n.p,{children:["[",(0,s.jsx)(n.code,{children:"key"}),": ",(0,s.jsx)(n.code,{children:"string"}),"]: ",(0,s.jsx)(n.code,{children:"string"})," | ",(0,s.jsx)(n.code,{children:"object"})]})]})}function p(e={}){let{wrapper:n}={...(0,c.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},65:function(e,n,t){t.d(n,{Z:function(){return a},a:function(){return i}});var r=t(7294);let s={},c=r.createContext(s);function i(e){let n=r.useContext(c);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(c.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["3966"],{7843:function(e,t,n){n.r(t),n.d(t,{default:()=>l,frontMatter:()=>o,metadata:()=>r,assets:()=>a,toc:()=>p,contentTitle:()=>i});var r=JSON.parse('{"id":"languages/typescript","title":"TypeScript","description":"TODO...","source":"@site/docs/languages/typescript.mdx","sourceDirName":"languages","slug":"/languages/typescript","permalink":"/docs/languages/typescript","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/typescript.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Twig","permalink":"/docs/languages/twig"},"next":{"title":"UnoCSS","permalink":"/docs/languages/unocss"}}'),s=n("5893"),c=n("65");let o={},i="TypeScript",a={},p=[];function u(e){let t={h1:"h1",header:"header",p:"p",...(0,c.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"typescript",children:"TypeScript"})}),"\n",(0,s.jsx)(t.p,{children:"TODO..."})]})}function l(e={}){let{wrapper:t}={...(0,c.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},65:function(e,t,n){n.d(t,{Z:function(){return i},a:function(){return o}});var r=n(7294);let s={},c=r.createContext(s);function o(e){let t=r.useContext(c);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(c.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["1974"],{9097:function(e,s,t){t.r(s),t.d(s,{default:()=>d,frontMatter:()=>o,metadata:()=>n,assets:()=>u,toc:()=>i,contentTitle:()=>c});var n=JSON.parse('{"id":"languages/sass","title":"Sass","description":"TODO...","source":"@site/docs/languages/sass.mdx","sourceDirName":"languages","slug":"/languages/sass","permalink":"/docs/languages/sass","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/sass.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Ruby","permalink":"/docs/languages/ruby"},"next":{"title":"Scheme","permalink":"/docs/languages/scheme"}}'),a=t("5893"),r=t("65");let o={},c="Sass",u={},i=[];function l(e){let s={h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.header,{children:(0,a.jsx)(s.h1,{id:"sass",children:"Sass"})}),"\n",(0,a.jsx)(s.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:s}={...(0,r.a)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}},65:function(e,s,t){t.d(s,{Z:function(){return c},a:function(){return o}});var n=t(7294);let a={},r=n.createContext(a);function o(e){let s=n.useContext(r);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),n.createElement(r.Provider,{value:s},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["1713"],{1676:function(e,n,t){t.r(n),t.d(n,{default:()=>d,frontMatter:()=>l,metadata:()=>o,assets:()=>c,toc:()=>i,contentTitle:()=>a});var o=JSON.parse('{"id":"languages/flow","title":"Flow","description":"TODO...","source":"@site/docs/languages/flow.mdx","sourceDirName":"languages","slug":"/languages/flow","permalink":"/docs/languages/flow","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/flow.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Fennel","permalink":"/docs/languages/fennel"},"next":{"title":"Gleam","permalink":"/docs/languages/gleam"}}'),s=t("5893"),r=t("65");let l={},a="Flow",c={},i=[];function u(e){let n={h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"flow",children:"Flow"})}),"\n",(0,s.jsx)(n.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},65:function(e,n,t){t.d(n,{Z:function(){return a},a:function(){return l}});var o=t(7294);let s={},r=o.createContext(s);function l(e){let n=o.useContext(r);return o.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["8723"],{9756:function(e,t,n){n.r(t),n.d(t,{default:()=>d,frontMatter:()=>a,metadata:()=>s,assets:()=>o,toc:()=>i,contentTitle:()=>l});var s=JSON.parse('{"id":"languages/tcl","title":"Tcl","description":"TODO...","source":"@site/docs/languages/tcl.mdx","sourceDirName":"languages","slug":"/languages/tcl","permalink":"/docs/languages/tcl","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/languages/tcl.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Tailwind CSS","permalink":"/docs/languages/tailwindcss"},"next":{"title":"Teal","permalink":"/docs/languages/teal"}}'),c=n("5893"),r=n("65");let a={},l="Tcl",o={},i=[];function u(e){let t={h1:"h1",header:"header",p:"p",...(0,r.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"tcl",children:"Tcl"})}),"\n",(0,c.jsx)(t.p,{children:"TODO..."})]})}function d(e={}){let{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(u,{...e})}):u(e)}},65:function(e,t,n){n.d(t,{Z:function(){return l},a:function(){return a}});var s=n(7294);let c={},r=s.createContext(c);function a(e){let t=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:a(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["4004"],{726:function(e,n,s){s.r(n),s.d(n,{default:()=>h,frontMatter:()=>l,metadata:()=>r,assets:()=>c,toc:()=>a,contentTitle:()=>o});var r=JSON.parse('{"id":"contribution/release","title":"Release","description":"To start a new release:","source":"@site/docs/contribution/release.mdx","sourceDirName":"contribution","slug":"/contribution/release","permalink":"/docs/contribution/release","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/contribution/release.mdx","tags":[],"version":"current","frontMatter":{}}'),i=s("5893"),t=s("65");let l={},o="Release",c={},a=[];function d(e){let n={admonition:"admonition",br:"br",code:"code",h1:"h1",header:"header",li:"li",p:"p",ul:"ul",...(0,t.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"release",children:"Release"})}),"\n",(0,i.jsx)(n.p,{children:"To start a new release:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Checkout the branch ",(0,i.jsx)(n.code,{children:"develop"}),"."]}),"\n",(0,i.jsx)(n.li,{children:"Make sure there are no uncommitted changes."}),"\n",(0,i.jsxs)(n.li,{children:["Run ",(0,i.jsx)(n.code,{children:"npm run start-release"})," and answer the prompts. This will:","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Increment the version number:",(0,i.jsx)(n.br,{}),"\n",'App -> "./package.json" (',(0,i.jsx)(n.code,{children:"appVersion"}),")",(0,i.jsx)(n.br,{}),"\n",'SDK -> "./src/sdk/package.sdk.json" (',(0,i.jsx)(n.code,{children:"version"}),")"]}),"\n",(0,i.jsx)(n.li,{children:"Generate changelog."}),"\n",(0,i.jsxs)(n.li,{children:["Create a release branch (",(0,i.jsx)(n.code,{children:"releases/v{version}"})," | ",(0,i.jsx)(n.code,{children:"releases/sdk-v{version}"}),") and commit changes."]}),"\n",(0,i.jsx)(n.li,{children:"Push the branch to GitHub (which triggers a preview deploy)."}),"\n",(0,i.jsxs)(n.li,{children:["Create a pull request to ",(0,i.jsx)(n.code,{children:"develop"}),"."]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["Once the pull request is merged a GitHub action workflow runs, which will:","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Build the app."}),"\n",(0,i.jsxs)(n.li,{children:["Create and push a release tag:",(0,i.jsx)(n.br,{}),"\n","App -> v{version}",(0,i.jsx)(n.br,{}),"\n","SDK -> sdk-v{version}"]}),"\n",(0,i.jsx)(n.li,{children:"Compress the build directory to zip and tar files."}),"\n",(0,i.jsxs)(n.li,{children:["Create a release:","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Use changelog as release notes."}),"\n",(0,i.jsx)(n.li,{children:"Upload compressed files as release artifacts."}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["Create a pull request to ",(0,i.jsx)(n.code,{children:"main"}),"."]}),"\n",(0,i.jsx)(n.li,{children:"If App release -> create a permanent URL (v{version}.livecodes.io) which is a proxy to preview deploy."}),"\n",(0,i.jsx)(n.li,{children:"If SDK release -> publish to npm."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.admonition,{type:"info",children:(0,i.jsxs)(n.p,{children:["App versions are numeric e.g. ",(0,i.jsx)(n.code,{children:"v20"}),(0,i.jsx)(n.br,{}),"\n","SDK versions are semver e.g. ",(0,i.jsx)(n.code,{children:"v1.2.3"})]})})]})}function h(e={}){let{wrapper:n}={...(0,t.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},65:function(e,n,s){s.d(n,{Z:function(){return o},a:function(){return l}});var r=s(7294);let i={},t=r.createContext(i);function l(e){let n=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["4311"],{314:function(e,t,n){n.r(t),n.d(t,{default:()=>l,frontMatter:()=>i,metadata:()=>r,assets:()=>c,toc:()=>u,contentTitle:()=>a});var r=JSON.parse('{"id":"features/integrations","title":"Integrations","description":"","source":"@site/docs/features/integrations.mdx","sourceDirName":"features","slug":"/features/integrations","permalink":"/docs/features/integrations","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/features/integrations.mdx","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"GitHub Integration","permalink":"/docs/features/github-integration"},"next":{"title":"User Management","permalink":"/docs/features/user-management"}}'),s=n("5893"),o=n("65");let i={},a="Integrations",c={},u=[];function d(e){let t={h1:"h1",header:"header",...(0,o.a)(),...e.components};return(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"integrations",children:"Integrations"})})}function l(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},65:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return i}});var r=n(7294);let s={},o=r.createContext(s);function i(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More