Skip to content

Commit 89d6267

Browse files
committed
added html files
1 parent c8a201d commit 89d6267

File tree

9 files changed

+739
-1
lines changed

9 files changed

+739
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ mcscript.tmlanguage.json
88
Nodepad++ Highlighter.xml
99
_changelog.md
1010
Core Modals.md
11-
*.html
1211
README-DE.md
1312
.bat

docs/404.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
6+
<title>mcscript</title>
7+
<meta name="description" content="mcscript is a programming language for Minecraft.">
8+
<link rel="icon" href="/logo.png">
9+
<link rel="manifest" href="/manifest.json">
10+
<meta name="theme-color" content="#86d286">
11+
<meta name="apple-mobile-web-app-capable" content="yes">
12+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
13+
<link rel="apple-touch-icon" href="/icons/icon-152x152.png">
14+
<link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#86d286">
15+
<meta name="msapplication-TileImage" content="/icons/icon-144x144.png">
16+
<meta name="msapplication-TileColor" content="#1069b4">
17+
<script>var lyra=window.lyra||[];lyra.push(['lyra_Id', '5d74e4e574d14']);</script>
18+
<script async="true" src="https://thelyra.pro/a/analytics.js"></script>
19+
20+
<link rel="preload" href="/assets/css/0.styles.ab3291f4.css" as="style"><link rel="preload" href="/assets/js/app.1122165e.js" as="script"><link rel="preload" href="/assets/js/4.df2b3952.js" as="script"><link rel="prefetch" href="/assets/js/10.004c97ec.js"><link rel="prefetch" href="/assets/js/11.775cbc94.js"><link rel="prefetch" href="/assets/js/12.6a6b2ef0.js"><link rel="prefetch" href="/assets/js/2.47b2ef3a.js"><link rel="prefetch" href="/assets/js/3.e277c6d8.js"><link rel="prefetch" href="/assets/js/5.e39f71e0.js"><link rel="prefetch" href="/assets/js/6.e1279fd9.js"><link rel="prefetch" href="/assets/js/7.d0f7a6c6.js"><link rel="prefetch" href="/assets/js/8.e27847f1.js"><link rel="prefetch" href="/assets/js/9.8a3afa21.js">
21+
<link rel="stylesheet" href="/assets/css/0.styles.ab3291f4.css">
22+
</head>
23+
<body>
24+
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-default-content"><h1>404</h1> <blockquote>How did we get here?</blockquote> <a href="/" class="router-link-active">Take me home.</a></div></div><div class="global-ui"></div></div>
25+
<script src="/assets/js/app.1122165e.js" defer></script><script src="/assets/js/4.df2b3952.js" defer></script>
26+
</body>
27+
</html>

docs/cli/index.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
6+
<title>2) CLI Commands | mcscript</title>
7+
<meta name="description" content="mcscript is a programming language for Minecraft.">
8+
<link rel="icon" href="/logo.png">
9+
<link rel="manifest" href="/manifest.json">
10+
<meta name="theme-color" content="#86d286">
11+
<meta name="apple-mobile-web-app-capable" content="yes">
12+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
13+
<link rel="apple-touch-icon" href="/icons/icon-152x152.png">
14+
<link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#86d286">
15+
<meta name="msapplication-TileImage" content="/icons/icon-144x144.png">
16+
<meta name="msapplication-TileColor" content="#1069b4">
17+
<script>var lyra=window.lyra||[];lyra.push(['lyra_Id', '5d74e4e574d14']);</script>
18+
<script async="true" src="https://thelyra.pro/a/analytics.js"></script>
19+
20+
<link rel="preload" href="/assets/css/0.styles.ab3291f4.css" as="style"><link rel="preload" href="/assets/js/app.1122165e.js" as="script"><link rel="preload" href="/assets/js/2.47b2ef3a.js" as="script"><link rel="preload" href="/assets/js/6.e1279fd9.js" as="script"><link rel="prefetch" href="/assets/js/10.004c97ec.js"><link rel="prefetch" href="/assets/js/11.775cbc94.js"><link rel="prefetch" href="/assets/js/12.6a6b2ef0.js"><link rel="prefetch" href="/assets/js/3.e277c6d8.js"><link rel="prefetch" href="/assets/js/4.df2b3952.js"><link rel="prefetch" href="/assets/js/5.e39f71e0.js"><link rel="prefetch" href="/assets/js/7.d0f7a6c6.js"><link rel="prefetch" href="/assets/js/8.e27847f1.js"><link rel="prefetch" href="/assets/js/9.8a3afa21.js">
21+
<link rel="stylesheet" href="/assets/css/0.styles.ab3291f4.css">
22+
</head>
23+
<body>
24+
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><img src="/logo.png" alt="mcscript" class="logo"> <span class="site-name can-hide">mcscript</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/guide/" class="nav-link">Guide</a></div><div class="nav-item"><a href="/cli/" class="nav-link router-link-exact-active router-link-active">CLI</a></div><div class="nav-item"><a href="/files/" class="nav-link">File System</a></div><div class="nav-item"><a href="/syntax/" class="nav-link">Syntax</a></div><div class="nav-item"><a href="/ides/" class="nav-link">IDEs</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">Languages</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/cli/" class="nav-link router-link-exact-active router-link-active">English</a></li><li class="dropdown-item"><!----> <a href="/de/" class="nav-link">Deutsch</a></li></ul></div></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/guide/" class="nav-link">Guide</a></div><div class="nav-item"><a href="/cli/" class="nav-link router-link-exact-active router-link-active">CLI</a></div><div class="nav-item"><a href="/files/" class="nav-link">File System</a></div><div class="nav-item"><a href="/syntax/" class="nav-link">Syntax</a></div><div class="nav-item"><a href="/ides/" class="nav-link">IDEs</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">Languages</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/cli/" class="nav-link router-link-exact-active router-link-active">English</a></li><li class="dropdown-item"><!----> <a href="/de/" class="nav-link">Deutsch</a></li></ul></div></div> <!----></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>2) CLI Commands</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/cli/#_2-1-mcscript-new" class="sidebar-link">2.1 mcscript new</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/cli/#_2-2-mcscript-compile" class="sidebar-link">2.2 mcscript compile</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/cli/#_2-3-mcscript-watch" class="sidebar-link">2.3 mcscript watch</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/cli/#_2-4-mcscript-add-url-or-package" class="sidebar-link">2.4 mcscript add [url or package]</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/cli/#_2-5-dev-mcscript-modals" class="sidebar-link">2.5 Dev: mcscript modals</a><ul class="sidebar-sub-headers"></ul></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="_2-cli-commands"><a href="#_2-cli-commands" aria-hidden="true" class="header-anchor">#</a> 2) CLI Commands</h1> <p>You can now use the tool by launching the Command Line in your datapacks folder<br>
25+
(with Shift + rightclick on directory -&gt; open command line)<br>
26+
Now you can use the commands like that:</p> <h2 id="_2-1-mcscript-new"><a href="#_2-1-mcscript-new" aria-hidden="true" class="header-anchor">#</a> 2.1 mcscript new</h2> <p>Creates a new datapack for you with all basic files in a scripts folder. Takes as argument the datapack id!</p> <h2 id="_2-2-mcscript-compile"><a href="#_2-2-mcscript-compile" aria-hidden="true" class="header-anchor">#</a> 2.2 mcscript compile</h2> <p>This command converts all .mcscript files into .mcfunction format. You can read <a href="#syntax">here</a> what you can do in the mcscript files.<br>
27+
The console displays all generated files or throws an error if something was not correct.</p> <p>Alternatively you can use <code>mcscript compile *filepath*</code> to set an custom directory or file.
28+
With an additional <code>-fullErr</code> flag you can view full errors and code positions.</p> <h2 id="_2-3-mcscript-watch"><a href="#_2-3-mcscript-watch" aria-hidden="true" class="header-anchor">#</a> 2.3 mcscript watch</h2> <p>This will automatically compile your code if you make any changes (save). So you do not have to enter the above command with every change.</p> <p>Again, a path and <code>-fullErr</code> can be specified.</p> <h2 id="_2-4-mcscript-add-url-or-package"><a href="#_2-4-mcscript-add-url-or-package" aria-hidden="true" class="header-anchor">#</a> 2.4 mcscript add [url or package]</h2> <p>This command adds a custom datapack to your directory.
29+
As argument an url to the resource or a <em>mcScript Extension</em> name can be used.</p> <p>Get a list of all supported packages by running just<code>mcscript add</code></p> <h2 id="_2-5-dev-mcscript-modals"><a href="#_2-5-dev-mcscript-modals" aria-hidden="true" class="header-anchor">#</a> 2.5 Dev: mcscript modals</h2> <p>!!This command is intended only for developers who want to install their modals in the compiler.<br>
30+
A file must be specified and then the modals out of this file are written to a configuration file.</p></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
31+
32+
<a href="/guide/" class="prev">
33+
Minecraft Script Documentation
34+
</a></span> <span class="next"><a href="/files/">
35+
3) File system
36+
</a>
37+
38+
</span></p></div> </main></div><div class="global-ui"></div></div>
39+
<script src="/assets/js/app.1122165e.js" defer></script><script src="/assets/js/2.47b2ef3a.js" defer></script><script src="/assets/js/6.e1279fd9.js" defer></script>
40+
</body>
41+
</html>

0 commit comments

Comments
 (0)