-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A0-1608 Add documentation of all public API and traits of aleph-client (
#832) * A0-1608 Add documentation of all public API and traits * A0-1608 Review * A0-1608 Added basic workflow for building docs * A0-1608 Removed redundant workflow condition * A0-1068 Review part 2 * A0-1608 fixes after conflicts * sneaky fix for outdated runtime data * revert sneaky fix * an ugly workaround for the fact we want to ignore rustdoc warnings in generated runtime file
- Loading branch information
1 parent
36016d7
commit 56c6ff4
Showing
22 changed files
with
553 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# this workflow builds rustdoc for aleph-node crates | ||
name: build-docs | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
build-aleph-client-docs: | ||
name: Build docs | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: GIT | Checkout source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Rust toolchain | ||
uses: actions-rs/toolchain@v1 | ||
|
||
- name: rustdoc | Build aleph-client docs | ||
run: | | ||
cd aleph-client && cargo doc --no-deps | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.