diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index 988b2fc4..017da80e 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -18,7 +18,7 @@ concurrency:
jobs:
rustdoc:
- name: Build Rust API docs
+ name: Build API docs
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
@@ -31,11 +31,18 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build Documentation
- run: cargo doc
+ run: |
+ cargo doc --no-deps
+ echo '' > target/doc/index.html
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./target/doc/mrc
+ publish_dir: ./target/doc
publish_branch: gh-pages
+
+ - name: Upload artifact
+ uses: actions/upload-pages-artifact@v3
+ with:
+ path: target/doc
diff --git a/Cargo.toml b/Cargo.toml
index 5b885c24..cbcbe083 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,6 +3,7 @@ name = "mrc"
version = "0.1.0"
edition = "2021"
default-run = "cli"
+authors = ["NotAShelf "]
# CLI implementation for terminal usage
[[bin]]