diff --git a/.github/workflows/upload-doc.yml b/.github/workflows/upload-doc.yml index 388ae3704..75d534b28 100644 --- a/.github/workflows/upload-doc.yml +++ b/.github/workflows/upload-doc.yml @@ -24,7 +24,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: doc - args: --no-deps --all-features + args: --no-deps --workspace --all-features - name: Tweak HTML run: echo "" > target/doc/index.html @@ -32,4 +32,4 @@ jobs: - name: Upload documentation run: | git clone https://github.com/davisp/ghp-import.git - ./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://${{ secrets.GITHUB_TOKEN }}@github.com/"${{ github.repository }}.git" target/doc \ No newline at end of file + ./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://${{ secrets.GITHUB_TOKEN }}@github.com/"${{ github.repository }}.git" target/doc diff --git a/README.md b/README.md index 0b55c5bae..5dc8d376f 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,12 @@ Actix web is a simple, pragmatic and extremely fast web framework for Rust. * Includes an asynchronous [HTTP client](https://actix.rs/actix-web/actix_web/client/index.html) * Supports [Actix actor framework](https://github.com/actix/actix) +## Docs + +* [API documentation (master)](https://actix.rs/actix-web/actix_web) +* [API documentation (docs.rs)](https://docs.rs/actix-web) +* [User guide](https://actix.rs) + ## Example Dependencies: @@ -74,7 +80,7 @@ async fn main() -> std::io::Result<()> { * [Stateful](https://github.com/actix/examples/tree/master/state/) * [Multipart streams](https://github.com/actix/examples/tree/master/multipart/) * [Simple websocket](https://github.com/actix/examples/tree/master/websocket/) -* [Tera](https://github.com/actix/examples/tree/master/template_tera/) / +* [Tera](https://github.com/actix/examples/tree/master/template_tera/) * [Askama](https://github.com/actix/examples/tree/master/template_askama/) templates * [Diesel integration](https://github.com/actix/examples/tree/master/diesel/) * [r2d2](https://github.com/actix/examples/tree/master/r2d2/)