Skip to content

Commit

Permalink
reenable wiki toolkit and add 0.4 and 0.5 to the wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
Jab125 committed Nov 22, 2024
1 parent 54782c1 commit f12e06d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
21 changes: 10 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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()
Expand Down
6 changes: 5 additions & 1 deletion docs/sinytra-wiki.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"id": "hotjoin",
"platform": "modrinth",
"slug": "hotjoin"
"slug": "hotjoin",
"versions": {
"0.4": "377bcd41a5536f89d42a21227b4993c6c04ebb25",
"0.5": "develop"
}
}

0 comments on commit f12e06d

Please sign in to comment.