Skip to content

Commit d09e0ea

Browse files
committed
feat(projects): add golemscript to website
1 parent 5230a1e commit d09e0ea

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

.github/workflows/build.yml

+11
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ jobs:
4444
ref: main
4545
node-version: ${{ matrix.node-version }}
4646

47+
- name: Clone GolemScript docs repository
48+
uses: actions/checkout@v2
49+
with:
50+
repository: GMDU/golemscript
51+
path: docs/golemscript
52+
ref: main
53+
node-version: ${{ matrix.node-version }}
54+
4755
- name: Clone Moxlib docs repository
4856
uses: actions/checkout@v2
4957
with:
@@ -57,9 +65,12 @@ jobs:
5765
npm ci
5866
npm run build
5967
mkdir -p ./_site/docs/code_of_copper
68+
mkdir -p ./_site/docs/golemscript
6069
mkdir -p ./_site/docs/moxlib
6170
cd docs/code_of_copper
6271
mkdocs build --site-dir ../../_site/docs/code_of_copper
72+
cd ../golemscript
73+
mkdocs build --site-dir ../../_site/docs/golemscript
6374
cd ../moxlib
6475
mkdocs build --site-dir ../../_site/docs/moxlib
6576
136 KB
Loading

src/projects/code_of_copper.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ docs: /docs/code_of_copper
77
title: Code of Copper
88
subtitle: Programmable Copper Golems.
99
summary: Programmable Copper Golems. Fully text-based programming language in a vanilla datapack.
10-
created_at: 2023-01-30
10+
created_at: 2023-01-29
1111
project_link: ["Modrinth", "https://modrinth.com/datapack/code-of-copper"]
1212
authors: {
1313
"Moxvallix": "https://github.com/moxvallix",

src/projects/golemscript.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: 'layouts/project.html'
3+
type: project
4+
img: /images/projects/golemscript_banner.png
5+
docs: /docs/golemscript
6+
7+
title: GolemScript
8+
subtitle: A programming language datapack library.
9+
summary: A programming language datapack library. Fully text-based programming language in a vanilla datapack.
10+
created_at: 2024-01-29
11+
project_link: ["Modrinth", "https://modrinth.com/datapack/golemscript"]
12+
authors: {
13+
"Moxvallix": "https://github.com/moxvallix",
14+
"Gears": "https://gearsdatapacks.github.io/"
15+
}
16+
---
17+
# {{ title }}
18+
**{{ subtitle }}**
19+
20+
{{title}} is a high-level, interpreted, functional programming language, with Ruby/JS inspired syntax.
21+
22+
It implements many helpful types, such as objects, arrays, and even Minecraft specific types like the resource type.
23+
24+
It originated as a part of [Code of Copper](/projects/code_of_copper), but was separated from it for ease of maintenance, and extensibility.
25+
26+
This library allows any datapack to implement the {{title}} language, and provide any interface or functions for it they desire.

0 commit comments

Comments
 (0)