add formatter, update readme, update site on change to the config #25

Merged
esy merged 17 commits from mkdocs-wiki into main 2024-08-26 19:43:36 +00:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit 111fcc9aee - Show all commits

View file

@ -8,6 +8,7 @@ on:
- flake.* - flake.*
- src/**/* - src/**/*
- .forgejo/**/* - .forgejo/**/*
- mkdocs.yml
jobs: jobs:
# Build it locally, this helps caching for later # Build it locally, this helps caching for later
@ -31,4 +32,4 @@ jobs:
- uses: https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet/deploy@v3 - uses: https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet/deploy@v3
with: with:
input: 'skynet_website_wiki' input: 'skynet_website_wiki'
token: ${{ secrets.API_TOKEN_FORGEJO }} token: ${{ secrets.API_TOKEN_FORGEJO }}

View file

@ -26,6 +26,11 @@
pkgs.python3Packages.mkdocs pkgs.python3Packages.mkdocs
pkgs.python3Packages.mkdocs-material pkgs.python3Packages.mkdocs-material
]; ];
shellHook = ''
echo "Building wiki"
mkdocs build
mkdocs serve
'';
}; };
} }
); );