mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-22 08:04:19 +02:00
Add readthedocs configuration and update mdbook
This commit is contained in:
parent
e86ca1aa86
commit
fabb378368
4 changed files with 18 additions and 7 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -77,10 +77,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- 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:
|
||||
|
|
@ -88,7 +85,7 @@ jobs:
|
|||
- name: Build
|
||||
run: cargo build --locked
|
||||
- name: Ensure that docs can be built
|
||||
run: cd docs && mdbook build
|
||||
run: ./mdbook build docs
|
||||
- name: Generate usage string
|
||||
run: cargo run --locked -- --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