Skip to content

docs(shepherd-sdk): rustdoc polish + README + docs/sdk.md (BLEU-844)#16

Open
brunota20 wants to merge 1 commit into
feat/shepherd-sdk-test-bleu-841from
feat/shepherd-sdk-docs-bleu-844
Open

docs(shepherd-sdk): rustdoc polish + README + docs/sdk.md (BLEU-844)#16
brunota20 wants to merge 1 commit into
feat/shepherd-sdk-test-bleu-841from
feat/shepherd-sdk-docs-bleu-844

Conversation

@brunota20

Copy link
Copy Markdown
Collaborator

Summary

  • Tightened crate-root rustdoc on `shepherd-sdk/src/lib.rs`: switched inline `Type` links to top-of-file reference-style definitions; intra-doc links now resolve under strict flags.
  • Removed the placeholder `pub mod store {}` (out of scope until a second strategy needs the same key conventions).
  • New `crates/shepherd-sdk/README.md`: quick-tour table, host-free testing recipe, the no-wit-bindgen-in-SDK rationale, layout map.
  • New `docs/sdk.md` repo-level landing page mapping the four host capabilities to the SDK module surface.

Gate

```sh
RUSTDOCFLAGS="-D warnings -D missing-docs" cargo doc -p shepherd-sdk -p shepherd-sdk-test --no-deps
```

Runs clean — every public item has a docstring, every intra-doc link resolves.

Stacks on #15 (BLEU-841 mock host).

Linear: BLEU-844.

Test plan

  • `RUSTDOCFLAGS="-D warnings -D missing-docs" cargo doc -p shepherd-sdk -p shepherd-sdk-test --no-deps`.
  • `cargo test -p shepherd-sdk -p shepherd-sdk-test` (still 27 + 8 + 1 doctest).
  • `cargo clippy -p shepherd-sdk -p shepherd-sdk-test --tests -- -Dwarnings` clean.

- Tightened the crate-root rustdoc on `shepherd-sdk/src/lib.rs`:
  switched the inline `[Type](path)` link form to top-of-file
  reference-style link definitions so the rustdoc target is
  unambiguous and the source stays readable.
- Removed the placeholder `pub mod store {}` (out-of-scope until a
  second strategy module needs the same key conventions).
- New `crates/shepherd-sdk/README.md` covering: quick tour table,
  host-free testing recipe with `shepherd-sdk-test`, the
  no-wit-bindgen-in-SDK rationale, layout map, and how to generate
  docs with the strict flags.
- New `docs/sdk.md` repo-level landing page that lists the four
  host capabilities the SDK mirrors and links into the rustdoc per
  module.

Gate: `cargo doc -p shepherd-sdk -p shepherd-sdk-test --no-deps`
runs clean under `RUSTDOCFLAGS="-D warnings -D missing-docs"`.
Every public item carries a doc comment; intra-doc links resolve.
Tests + clippy unchanged.
@linear-code

linear-code Bot commented Jun 17, 2026

Copy link
Copy Markdown

BLEU-844

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant