Skip to content

Commit

Permalink
fix(docs): Minor fixes for github pages
Browse files Browse the repository at this point in the history
Signed-off-by: dark0dave <[email protected]>
  • Loading branch information
dark0dave committed Jul 3, 2024
1 parent de90e5f commit 3e2e1e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e2e1e8

Please sign in to comment.