mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-25 09:34:17 +02:00
Add readthedocs configuration and update mdbook
This commit is contained in:
parent
5ddc86ee74
commit
eb0c2345a9
4 changed files with 18 additions and 7 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -71,10 +71,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Setup mdBook
|
||||
uses: peaceiris/actions-mdbook@v2
|
||||
with:
|
||||
mdbook-version: '0.4.4'
|
||||
- run: ./scripts/get-mdbook.sh
|
||||
- name: Setup toolchain
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
|
|
@ -82,7 +79,7 @@ jobs:
|
|||
- name: Build
|
||||
run: cargo build
|
||||
- name: Ensure that docs can be built
|
||||
run: cd docs && mdbook build
|
||||
run: ./mdbook build docs
|
||||
- name: Generate usage string
|
||||
run: cargo run -- --help > docs/src/usage-actual.txt
|
||||
- name: Ensure that usage string is up to date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue