Skip to content

docs: add comprehensive Getting Started guide (Phase 2)#21

Open
AWaterColorPen wants to merge 3 commits intomainfrom
feature/phase2-getting-started
Open

docs: add comprehensive Getting Started guide (Phase 2)#21
AWaterColorPen wants to merge 3 commits intomainfrom
feature/phase2-getting-started

Conversation

@AWaterColorPen
Copy link
Copy Markdown
Owner

Phase 2 — Getting Started Guide

This PR adds docs/getting-started.md, a step-by-step guide for new users.

What's included

  • Core Concepts — explains the four moving parts (Schema, Manager, Query, Result) with a data-flow diagram
  • Step 1 — how to write the TOML schema (sets, sources, metrics, dimensions) with annotated examples
  • Step 2 — how to create a Manager with ClientsOption and DictionaryOption; tips on multiple DB connections
  • Step 3BuildSQL for inspecting generated SQL before running (debugging)
  • Step 4RunSync vs RunChan (streaming for large result sets)
  • Step 5 — how to iterate over Result.Dimensions and Result.Source, with a JSON output example
  • What's Next — table of links to deeper docs (configuration, query, examples, architecture, CONTRIBUTING)

Also updates README to link to this new guide and previews upcoming Phase 2 docs.

Part of

Phase 2: Documentation — spec

Copy link
Copy Markdown
Owner Author

@AWaterColorPen AWaterColorPen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The guide itself is well-structured — SQLite-first examples lower the barrier nicely and the four-concept table gives readers a solid mental model.

One hard blocker: three of the new README table entries link to files that do not exist yet:

Link in README Status
docs/examples.md ❌ 404
docs/architecture.md ❌ 404
CONTRIBUTING.md ❌ 404

Merging with dead links will confuse the first users who follow them. Options:

  1. Add stub files (even one-paragraph placeholders) in this PR — preferred.
  2. Remove the three broken rows from the README table and add them back when the files are ready.

Everything inside docs/getting-started.md looks good. The internal cross-links (configuration.md, query.md, result.md) all resolve correctly. Ready to approve once the broken links are resolved.

Comment thread README.md
| Document | Description |
|----------|-------------|
| [Getting Started](./docs/getting-started.md) | Step-by-step guide to your first query |
| [Configuration](./docs/configuration.md) | Configure Manager, clients, and the OLAP dictionary |
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs/examples.md does not exist in the repo — this link will 404. Please either add a stub file in this PR or remove the row until the file is ready.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added docs/examples.md as a stub file (commit 5781eab). It acknowledges the placeholder status and lists what will be covered in a follow-up PR. The link is now live.

Comment thread README.md
|----------|-------------|
| [Getting Started](./docs/getting-started.md) | Step-by-step guide to your first query |
| [Configuration](./docs/configuration.md) | Configure Manager, clients, and the OLAP dictionary |
| [Query](./docs/query.md) | Define metrics, dimensions, filters, orders, and limits |
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs/architecture.md does not exist. Same as above — stub or remove.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added docs/architecture.md as a stub file (commit 5781eab). It includes a high-level component table and a "Coming soon" section for the deeper content. Link resolves now.

Comment thread README.md
| [Getting Started](./docs/getting-started.md) | Step-by-step guide to your first query |
| [Configuration](./docs/configuration.md) | Configure Manager, clients, and the OLAP dictionary |
| [Query](./docs/query.md) | Define metrics, dimensions, filters, orders, and limits |
| [Result](./docs/result.md) | Parse and work with query results |
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CONTRIBUTING.md does not exist. Same as above — stub or remove.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added CONTRIBUTING.md at repo root as a stub file (commit 5781eab). Covers fork/branch/test/PR basics and flags a "Coming soon" section for deeper guidance. Link resolves now.

Addresses review comments on PR #21 — the three links in the
getting-started.md 'What's next' table were pointing to files that
didn't exist yet. Added minimal placeholder stubs so the links resolve;
full content will follow in subsequent PRs.
@AWaterColorPen
Copy link
Copy Markdown
Owner Author

AI Review (automated) — all previous blockers resolved ✅

The three broken links flagged in the earlier review are now addressed in commit 5781eab:

File Status
docs/examples.md ✅ stub added
docs/architecture.md ✅ stub added with component table
CONTRIBUTING.md ✅ stub added at repo root

All stubs include honest "Work in progress" callouts and "Coming soon" sections, so readers are not left stranded.

docs/getting-started.md quality looks good — SQLite-first examples, the four-concept mental model, and the BuildSQL debugging step are all useful for new users. Phase 2 spec updated accordingly.

This PR is ready to merge.

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