From f12e06d52852dff558f35615a4fe918f070542ae Mon Sep 17 00:00:00 2001 From: Jab125 <67534807+Jab125@users.noreply.github.com> Date: Fri, 22 Nov 2024 20:05:08 +1100 Subject: [PATCH] reenable wiki toolkit and add 0.4 and 0.5 to the wiki --- build.gradle | 21 ++++++++++----------- docs/sinytra-wiki.json | 6 +++++- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index ef7d1db..2621781 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ plugins { id 'fabric-loom' version '1.7-SNAPSHOT' id 'maven-publish' - // id 'org.sinytra.wiki.toolkit' version '0.0.999990' + id 'org.moddedmc.wiki.toolkit' version '0.2.4' } version = project.mod_version @@ -39,16 +39,15 @@ repositories { } // for moddedmc.org -// TODO uncomment when WikiToolkit#1 is merged -//wiki { -// docs { -// // The name of the object (examplemod) should match the registered wiki project ID (if it exists). -// hotjoin { -// // The path to the folder containing the documentation metadata file (sinytra-wiki.json) -// root = file('docs') -// } -// } -//} +wiki { + docs { + // The name of the object (examplemod) should match the registered wiki project ID (if it exists). + hotjoin { + // The path to the folder containing the documentation metadata file (sinytra-wiki.json) + root = file('docs') + } + } +} fabricApi { configureDataGeneration() diff --git a/docs/sinytra-wiki.json b/docs/sinytra-wiki.json index dcc4b43..fea8bd0 100644 --- a/docs/sinytra-wiki.json +++ b/docs/sinytra-wiki.json @@ -1,5 +1,9 @@ { "id": "hotjoin", "platform": "modrinth", - "slug": "hotjoin" + "slug": "hotjoin", + "versions": { + "0.4": "377bcd41a5536f89d42a21227b4993c6c04ebb25", + "0.5": "develop" + } } \ No newline at end of file