attempt at compiling docs vid mkdocs

This commit is contained in:
JFronny 2021-09-09 17:20:14 +02:00
parent 07d53616f7
commit a5120d949d
No known key found for this signature in database
GPG Key ID: BEC5ACBBD4EE17E5
5 changed files with 19 additions and 4 deletions

4
.gitignore vendored
View File

@ -125,5 +125,7 @@ gradle-app.setting
/test/
logs/
public/
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
!gradle-wrapper.jar

View File

@ -25,4 +25,15 @@ deploy:
when: manual
script:
- gradle --build-cache publishModrinth
- gradle --build-cache curseforge
- gradle --build-cache curseforge
pages:
stage: deploy
script:
- pip install mkdocs
- mkdocs build
artifacts:
paths:
- public
only:
- master

View File

@ -26,6 +26,5 @@ You will need to navigate to the file you would like to toggle inside your resou
"condition": "examplePack:someTexture"
}
```
---
### See [Toggle Files With Fallback](./ToggleFilesWithFallback.md) to see how to swap textures out with each other (alternate Options)

View File

@ -27,6 +27,5 @@ You will need to navigate to the file you would like to toggle inside your resou
"fallback": "assets/minecraft/textures/example/alternate.png"
}
```
---
### See [Toggle Files ](./ToggleFiles.md) to see how to just disable files.

4
mkdocs.yml Normal file
View File

@ -0,0 +1,4 @@
site_name: respackopts docs
site_url: https://jfronny.gitlab.io/respackopts
theme: readthedocs
site_dir: public