Skip to content

docs: add the GitBook documentation pages - #20

Merged
Oyinkans0la12 merged 10 commits into
mainfrom
docs/gitbook-pages
Sep 16, 2026
Merged

Oyinkans0la12 merged 10 commits into
mainfrom
docs/gitbook-pages

Conversation

@Oyinkans0la12

Copy link
Copy Markdown
Collaborator

What

Adds the GitBook documentation for this repo under docs/, and corrects the Git Sync config so it points at that directory.

Seven pages, one commit each, as the spec requires:

Page Commit
docs/SUMMARY.md (table of contents) 627f4b2
docs/introduction.md b82feb8
docs/for-contributors.md 385a3f8
docs/for-maintainers.md a86a3af
docs/cli-reference.md bebf171
docs/sdk-reference.md f12ee24
docs/developer-guide.md 0de31db
docs/contributing.md d3bb5ec
gitbook-docs.yaml 072f6db
README.md quick links 51ef842

Sync path — inferred, flagged

I could not read this repo's GitBook sync settings: there is no GitBook API token in this environment, and https://splitstream.gitbook.io/splitstream-sdk-cli/ resolves to the GitBook app rather than a public site (unlike its two siblings).

So the config follows the verified working layout of the two sibling repos, whose sites are live and readable:

  • splitstream-core and splitstream-actions each have gitbook-docs.yaml at the repo root, one space, content.directory: ./docs, and a docs/SUMMARY.md.
  • Their pages are flat kebab-case files matching their slugs.

This PR writes to /docs on main to match. If this repo's space is actually configured to a different directory or branch, the config here needs one edit.

Style

Matches the sibling sites: # Title pages, hard-wrapped prose, no filler, relative ./page.md links, reference links to the other repos' GitBook sites. Every command, flag and method was read from packages/sdk/src/ and packages/cli/src/, and the flag tables were diffed against the built CLI's own --help output — full parity, nothing invented.

Cross-repo links point at specific pages, not homepages:

  • introduction.md → both siblings' GitBook sites.
  • for-contributors.md → splitstream-actions' for-maintainers page, which covers .github/splitstream.yml.
  • sdk-reference.md → splitstream-actions' manifest-reference page.

Verification

  • Every relative link in docs/ resolves; ../CONTRIBUTING.md exists.
  • gitbook-docs.yaml parses and ./docs exists.
  • SUMMARY.md lists exactly the seven pages present.
  • One H1 per page, no undefined reference-style links.
  • CLI flag parity: 13/13, 11/11, 10/10, 11/11 flags documented per command.

Note

Direct pushes to main are blocked by the repo ruleset (PR required, ci status check required, squash-only merges), so this lands via PR. Because merges squash, the per-page commits stay granular on this branch but will collapse to one commit on main.

Oyinkans0la12 and others added 10 commits September 16, 2026 12:33
docs/SUMMARY.md lists the seven pages in reading order, which is what
GitBook reads as the book's table of contents.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Orients the reader on the three-repo split, what the SDK and CLI are, and
which parts of the cross-repo contract this repo only consumes. Links the
sibling repositories to their GitBook sites.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Covers checking a position, the two-transaction claim flow, both signing
paths, and where the amount comes from. Points the registry question at
splitstream-actions, which owns it.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Covers configuration, the simulate dry run, the cycle report, the status
aggregate, and how manifests are located.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Documents every command and flag, checked against the built CLI's own help
output, plus the global options and configuration precedence.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Documents the client, the exported helpers, the contract error table and the
frozen Merkle scheme, and links the manifest format to the repo that owns it.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Covers requirements, the build/typecheck/test commands, the package layout,
and why the cross-repo Merkle golden test must never be fixed by editing its
fixture.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Defers to CONTRIBUTING.md as the source of truth and spells out which changes
here are cross-repo breaking changes.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The earlier config pointed content at the repository root, which holds no book.
This matches the working configs in splitstream-core and splitstream-actions:
one space reading ./docs, with docs/SUMMARY.md as the table of contents.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The docs now live on GitBook, so the quick-links row leads with them.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@Oyinkans0la12
Oyinkans0la12 merged commit 1fc9b9f into main Sep 16, 2026
1 of 2 checks passed
@Oyinkans0la12
Oyinkans0la12 deleted the docs/gitbook-pages branch September 16, 2026 12:58
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