Skip to content

Commit 151b5a5

Browse files
Merge branch 'main' into service-client-api
2 parents 0610e72 + 24c8e93 commit 151b5a5

File tree

2 files changed

+9
-25
lines changed

2 files changed

+9
-25
lines changed

.github/workflows/generate-docs.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,16 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v3
1515

16-
- name: Set up Rust (nightly) with docs
17-
uses: actions-rs/toolchain@v1
16+
- name: Install mdBook
17+
uses: taiki-e/install-action@v2
1818
with:
19-
toolchain: nightly
20-
override: true
21-
components: rust-docs
19+
tool: mdbook
2220

23-
- name: Cache Cargo registry
24-
uses: actions/cache@v3
25-
with:
26-
path: |
27-
~/.cargo/registry
28-
~/.cargo/git
29-
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
30-
31-
- name: Cache target directory
32-
uses: actions/cache@v3
33-
with:
34-
path: target
35-
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.lock') }}
36-
37-
# - name: Generate Rust API documentation (docs-only workspace)
38-
# run: |
39-
# export RUSTDOCFLAGS="--cfg docsrs"
40-
# cargo +nightly doc --no-deps --workspace --manifest-path .doc/Cargo.toml
21+
- name: Build mdBook
22+
run: mdbook build docs
4123

4224
- name: Deploy to GitHub Pages
4325
uses: peaceiris/actions-gh-pages@v3
4426
with:
4527
github_token: ${{ secrets.GITHUB_TOKEN }}
46-
publish_dir: ./target/doc
28+
publish_dir: ./docs/book

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# rustecal
22

3-
Rust bindings for the high-performance [eCAL](https://github.com/eclipse-ecal/ecal) middleware, providing efficient pub/sub and service-based communication for interprocess and distributed systems.
3+
[![Docs](https://img.shields.io/badge/docs-mdbook-blue)](https://rex-schilasky.github.io/rustecal/)
4+
5+
Safe and idiomatic Rust bindings for the [eCAL](https://github.com/eclipse-ecal/ecal) middleware — a high-performance IPC framework designed for distributed real-time systems.
46

57
---
68

0 commit comments

Comments
 (0)