Skip to content

Remove all mentions of mdbook-mermaid, which is no longer used #722

Remove all mentions of mdbook-mermaid, which is no longer used

Remove all mentions of mdbook-mermaid, which is no longer used #722

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
components: rust-docs
- uses: jontze/action-mdbook@v4
with:
token: ${{secrets.GITHUB_TOKEN}}
- name: Check for broken links
run: |
curl -sSLo linkcheck.sh \
https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
# Cannot use --all here because of the generated redirect pages aren't available.
sh linkcheck.sh book
- name: Run vale checks
if: ${{ github.event_name == 'pull_request' }}
uses: errata-ai/[email protected]
with:
fail_on_error: true
filter_mode: nofilter
files: src
- name: Deploy
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }}
uses: appleboy/scp-action@v1
with:
host: docs.espressif.com
username: ${{ secrets.PRODUCTION_USERNAME }}
key: ${{ secrets.PRODUCTION_KEY }}
target: ${{ secrets.PRODUCTION_TARGET }}
source: "book/"
strip_components: 1 # remove the book prefix, it's already being placed in /projects/rust/book
rm: true