Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new website #2859

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,20 @@ jobs:
with:
name: skript-nightly
path: build/libs/Skript-nightly.jar
- name: Generate new documentation
if: success()
run: |
./gradlew generateDocs
git config --global user.email "${EMAIL}"
Olyno marked this conversation as resolved.
Show resolved Hide resolved
git config --global user.name "SkriptLang"
git clone https://${ACCESS_TOKEN}@github.com/SkriptLang/skript-website-public.git
Olyno marked this conversation as resolved.
Show resolved Hide resolved
cd skript-website-public
git checkout -b update/docs
rm docs.json
mv ../src/main/resources/docs.json docs.json
git add .
git commit -m "[update] - Updated documentation"
git push origin update/docs -f
Olyno marked this conversation as resolved.
Show resolved Hide resolved
env:
EMAIL: ${{ secrets.EMAIL }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
28 changes: 0 additions & 28 deletions docs/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/classes.html

This file was deleted.

5 changes: 0 additions & 5 deletions docs/conditions.html

This file was deleted.

252 changes: 0 additions & 252 deletions docs/css/styles.css

This file was deleted.

33 changes: 0 additions & 33 deletions docs/docs.json

This file was deleted.

5 changes: 0 additions & 5 deletions docs/effects.html

This file was deleted.

5 changes: 0 additions & 5 deletions docs/events.html

This file was deleted.

5 changes: 0 additions & 5 deletions docs/expressions.html

This file was deleted.

10 changes: 0 additions & 10 deletions docs/functions.html

This file was deleted.

Loading