-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #204 from Alexhuszagh/docsrs
Overhaul our documentation.
- Loading branch information
Showing
85 changed files
with
12,488 additions
and
4,533 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,27 @@ | ||
name: Docs | ||
|
||
on: | ||
[workflow_dispatch] | ||
|
||
jobs: | ||
docs: | ||
name: Test Docs Combinations | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install latest nightly | ||
uses: dtolnay/rust-toolchain@nightly | ||
- run: cargo --version | ||
- run: python --version | ||
- run: cargo check | ||
- run: cargo build | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=format | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=radix | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=format,radix | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=write-integers,write-floats | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --features=parse-integers,parse-floats | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --no-default-features --all-features | ||
# validate all the generated docs.rs docs | ||
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --features=format,radix | ||
- run: python scripts/docs.py |
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.