diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 0c7339b..f165fba 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -21,10 +21,14 @@ jobs: toolchain: stable - name: Create docs run: | - cargo doc - mv target/doc/mod_installer ./_site + cargo install doc-merge + cargo clean --doc + cargo doc --no-deps + doc-merge --create-dest --dest public - name: Upload artifact uses: actions/upload-pages-artifact@v3 + with: + path: public - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a2190d8..1462b0c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,6 +16,8 @@ repos: stages: [pre-commit] - id: check-builtin-literals stages: [pre-commit] + - id: check-yaml + stages: [pre-commit] - repo: https://github.com/jumanjihouse/pre-commit-hooks rev: 3.0.0