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 2c8c7e9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ jobs:
toolchain: stable
- name: Create docs
run: |
cargo doc
mv target/doc/mod_installer ./_site
cargo clean --doc
cargo doc --all --no-deps
mv target/doc/mod_installer target/doc/rust_docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: target/doc
- 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
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mod_installer"
version = "6.0.0"
version = "6.0.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit 2c8c7e9

Please sign in to comment.