Repository navigation
docs: add the GitBook documentation pages - #20
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
docs/SUMMARY.md(table of contents)627f4b2docs/introduction.mdb82feb8docs/for-contributors.md385a3f8docs/for-maintainers.mda86a3afdocs/cli-reference.mdbebf171docs/sdk-reference.mdf12ee24docs/developer-guide.md0de31dbdocs/contributing.mdd3bb5ecgitbook-docs.yaml072f6dbREADME.mdquick links51ef842Sync 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-coreandsplitstream-actionseach havegitbook-docs.yamlat the repo root, one space,content.directory: ./docs, and adocs/SUMMARY.md.This PR writes to
/docsonmainto 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:
# Titlepages, hard-wrapped prose, no filler, relative./page.mdlinks, reference links to the other repos' GitBook sites. Every command, flag and method was read frompackages/sdk/src/andpackages/cli/src/, and the flag tables were diffed against the built CLI's own--helpoutput — 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-maintainerspage, which covers.github/splitstream.yml.sdk-reference.md→ splitstream-actions'manifest-referencepage.Verification
docs/resolves;../CONTRIBUTING.mdexists.gitbook-docs.yamlparses and./docsexists.SUMMARY.mdlists exactly the seven pages present.Note
Direct pushes to
mainare blocked by the repo ruleset (PR required,cistatus 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 onmain.