Commit 9f64a52
committed
docs(cpex): add intro + links to the crate root, document full API on docs.rs
- lib.rs: lead the crate docs with what CPEX is (policy enforcement runtime
for AI agents, the reference-monitor model) instead of opening on 'host
facade', and link the guide site and repo. Move the facade explanation under
a 'This crate' heading.
- Cargo.toml: add [package.metadata.docs.rs] all-features = true. The default
build is engine-only, so docs.rs was omitting the builtins re-exports /
install_builtins and the cpex-builtins intra-doc link did not resolve.
Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>1 parent 7dc02b6 commit 9f64a52
2 files changed
Lines changed: 29 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
15 | 30 | | |
16 | 31 | | |
17 | 32 | | |
| |||
0 commit comments