-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from devOS-Sanity-Edition/kt/documentation/1.20…
….4/a Inner Pastels Documentation
- Loading branch information
Showing
21 changed files
with
1,018 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: docs | ||
on: [ push, workflow_dispatch ] | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Validate Gradle Wrapper | ||
uses: gradle/wrapper-validation-action@v1 | ||
|
||
- name: Setup JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: make gradle wrapper executable | ||
run: chmod +x ./gradlew | ||
|
||
- name: Run Dokka Task | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
cache-read-only: true | ||
arguments: dokkaHtml | ||
|
||
- name: Deploy Documentations | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: build/dokka/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Module Inner Pastels | ||
|
||
Library mod to share helper functions between Softer Pastels, Desolated Pastels, and any other future projects from asoji [probably] | ||
|
||
```Bash | ||
src/main/kotlin | ||
└───gay.asoji.innerpastels | ||
├───blocks | ||
├───datagen | ||
├───foods | ||
├───items | ||
├───misc | ||
└───tags | ||
``` | ||
|
||
If you could think of a way to make all the package descriptors a bit better at explaining what they are, please feel free to make a PR with the `documentation` tag. plsandthx | ||
|
||
# Package gay.asoji.innerpastels | ||
|
||
Main root package | ||
|
||
# Package gay.asoji.innerpastels.crab | ||
|
||
Crab in the code 🦀 | ||
|
||
# Package gay.asoji.innerpastels.blocks | ||
|
||
Custom Block classes or Block helpers | ||
|
||
# Package gay.asoji.innerpastels.datagen | ||
|
||
Helpers for Data Generation | ||
|
||
# Package gay.asoji.innerpastels.foods | ||
|
||
Helpers for Food related code | ||
|
||
# Package gay.asoji.innerpastels.items | ||
|
||
Custom Item classes or Item Helpers | ||
|
||
# Package gay.asoji.innerpastels.misc | ||
|
||
Any code or helpers that don't fall under any clear category | ||
|
||
# Package gay.asoji.innerpastels.tags | ||
|
||
Custom Block and Item tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
package gay.asoji.innerpastels | ||
|
||
import gay.asoji.fmw.FMW | ||
import gay.asoji.innerpastels.crab.CrabInTheCode | ||
import net.fabricmc.api.ModInitializer | ||
import org.apache.logging.log4j.LogManager | ||
import org.apache.logging.log4j.Logger | ||
|
||
/** | ||
* Inner Pastels Internal Library, meant to be used for Softer Pastels, Desolated Pastels, and any other future *Pastel mods. | ||
* This library adds a lot of common code and helper functions to assist with development for *Pastel mods, especially for Blocks, Items, and Data Generation. | ||
* | ||
* @author asojidev | ||
* @version 1.0.1 | ||
*/ | ||
object InnerPastels : ModInitializer { | ||
val LOGGER: Logger = LogManager.getLogger(FMW.getName("innerpastels")) | ||
override fun onInitialize() { | ||
|
||
CrabInTheCode.crabDeezNuts("oh hello fren!") | ||
} | ||
|
||
} |
Oops, something went wrong.