diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..531ccff --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,10 @@ +all: + make clean || echo "build folder doesn't exist" + make build +clean: + rm -Ir build + +build: + mkdir build + j2 -f json index.j2 index.json > build/index.html + diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..42d636d --- /dev/null +++ b/docs/README.md @@ -0,0 +1,5 @@ +# Building +```zsh +pip install j2cli +make +``` diff --git a/docs/build/index.html b/docs/build/index.html new file mode 100644 index 0000000..ecdbdd5 --- /dev/null +++ b/docs/build/index.html @@ -0,0 +1,48 @@ + + + Lifesteal SMP by TheTechRobo + + + + +
+

Lifesteal SMP by TheTechRobo

+
+ +
+

IP Address: play.lifesteal.thetechrobo.ca + + (Java 1.18.2 ONLY) + +

+

Recommended Mods.

+

Minecraft has a number of flaws. Purpur Client solves many of these problems.

+

Server Details

+
+
Server
+
Purpur 1.18.2
+
Plugins
+
+ Lifesteal Plugin (created by TheTechRobo) +
+
Whitelist
+
On (check)
+
+ diff --git a/docs/index.j2 b/docs/index.j2 new file mode 100644 index 0000000..417b83f --- /dev/null +++ b/docs/index.j2 @@ -0,0 +1,53 @@ + + + Lifesteal SMP by TheTechRobo + + + + +

+ TODO: MOVE TO HUGO +

+
+

Lifesteal SMP by TheTechRobo

+
+ +
+

IP Address: play.lifesteal.thetechrobo.ca + {% if onlyjava %} + (Java {{ mcversion }} ONLY) + {% else %} + (Java + Bedrock {{mcversion}} + {% endif %} +

+

Recommended Mods.

+

Minecraft has a number of flaws. Purpur Client solves many of these problems.

+

Server Details

+
+
Server
+
Purpur {{ mcversion }}
+
Plugins
+
+ Lifesteal Plugin (created by TheTechRobo) +
+
Whitelist
+
On (check)
+
+ diff --git a/docs/index.json b/docs/index.json new file mode 100644 index 0000000..12a6b1e --- /dev/null +++ b/docs/index.json @@ -0,0 +1,4 @@ +{ + "onlyjava": true, + "mcversion": "1.18.2" +} diff --git a/pom.xml b/pom.xml index 797fb98..18bfcd6 100644 --- a/pom.xml +++ b/pom.xml @@ -20,19 +20,20 @@ - spigot-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - + purpur-repo + https://repo.purpurmc.org/snapshots + - + - org.spigotmc - spigot-api - 1.18.2-R0.1-SNAPSHOT - provided - + org.purpurmc.purpur + purpur-api + 1.18.1-R0.1-SNAPSHOT + provided + + \ No newline at end of file