-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (64 loc) · 1.87 KB
/
docs-verification.yml
File metadata and controls
74 lines (64 loc) · 1.87 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2026 100monkeys.ai
name: Verify Documentation
on:
push:
branches:
- main
paths:
- 'orchestrator/**'
- 'sdks/**'
- 'cli/**'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
paths:
- 'orchestrator/**'
- 'sdks/**'
- 'cli/**'
- 'Cargo.toml'
env:
CARGO_TERM_COLOR: always
RUSTDOCFLAGS: "--cfg docsrs -D warnings"
permissions:
contents: read
jobs:
verify-docs:
name: Verify Documentation Builds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry & build
uses: Swatinem/rust-cache@v2
- name: Build documentation
run: |
cargo doc \
--workspace \
--locked \
--no-deps \
--document-private-items \
-p aegis-orchestrator-core \
-p aegis-orchestrator-swarm \
-p aegis-orchestrator-sdk \
-p aegis-orchestrator
- name: Verify documentation
run: |
echo "✅ Documentation built successfully"
echo ""
echo "📚 When you publish releases, docs.rs will automatically:"
echo " - Build documentation for all packages"
echo " - Publish at: https://docs.rs/aegis-orchestrator"
echo ""
echo "Available packages:"
echo " - aegis-orchestrator-core"
echo " - aegis-orchestrator-swarm"
echo " - aegis-orchestrator-sdk"
echo " - aegis-orchestrator"