-
Notifications
You must be signed in to change notification settings - Fork 90
43 lines (36 loc) · 942 Bytes
/
documentation.yml
File metadata and controls
43 lines (36 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Documentation
on:
push:
branches: [ main ]
paths:
- 'contracts/**'
- 'docs/**'
pull_request:
branches: [ main ]
paths:
- 'contracts/**'
- 'docs/**'
jobs:
verify-docs:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Generate Documentation
run: cargo doc --no-deps --all-features
- name: Verify Markdown Links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'no'
folder-path: 'docs'
continue-on-error: true
- name: Verify Architecture Sync
run: bash scripts/verify_doc_sync.sh
- name: Archive documentation
uses: actions/upload-artifact@v4
with:
name: contract-docs
path: target/doc