Skip to content

Commit eb27ee9

Browse files
committed
update
1 parent fcdddac commit eb27ee9

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

catalyst-gateway/Earthfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ build-hosted:
2727
# Build the service
2828
FROM +builder
2929

30-
DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+BUILD
30+
DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+BUILD --libs="cat-gateway" --bins="cat-gateway/cat-gateway"
3131

32-
DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SMOKE_TEST --bin=cat-gateway
32+
DO github.com/input-output-hk/catalyst-ci/earthly/rust:feat/rust-docs+SMOKE_TEST --bin="cat-gateway"
3333

3434
SAVE ARTIFACT target/$TARGETARCH/doc doc
3535
SAVE ARTIFACT target/$TARGETARCH/release/cat-gateway cat-gateway

catalyst-gateway/bin/Cargo.toml

-8
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ edition.workspace = true
99
license.workspace = true
1010
repository.workspace = true
1111

12-
[[bin]]
13-
name = "cat-gateway"
14-
path = "src/main.rs"
15-
16-
[lib]
17-
name = "lib"
18-
path = "src/lib.rs"
19-
2012
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2113

2214
[dependencies]

docs/src/api/catalyst-gateway.md

+18
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
icon: material/gate
33
---
44

5+
<!-- cspell: words RUSTDOC graphviz -->
6+
57
# Catalyst Gateway Rust docs
68

79
<!-- markdownlint-disable no-inline-html -->
@@ -26,3 +28,19 @@ icon: material/gate
2628
```kroki-graphviz
2729
@from_file:./api/catalyst-gateway/rust-docs/all.dot
2830
```
31+
32+
## Module trees
33+
34+
### cat-gateway crate
35+
36+
```rust
37+
{{ include_file('src/api/catalyst-gateway/rust-docs/cat-gateway.cat-gateway.bin.modules.tree') }}
38+
```
39+
40+
## Module graphs
41+
42+
### cat-gateway crate
43+
44+
```kroki-graphviz
45+
@from_file:./api/catalyst-gateway/rust-docs/cat-gateway.cat-gateway.bin.modules.dot
46+
```

0 commit comments

Comments
 (0)