Skip to content

docs: CLI reference + reframe getting-started around two paths - #30

Merged
losolio merged 1 commit into
mainfrom
docs/cli-and-usage
Jul 25, 2026
Merged

docs: CLI reference + reframe getting-started around two paths#30
losolio merged 1 commit into
mainfrom
docs/cli-and-usage

Conversation

@losolio

@losolio losolio commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

The existing docs only covered the library API (they predate the CLI). This
adds the missing CLI path and frames the two ways to use Lectio.

  • New docs/cli.mdlectio dev / build, zero-config scaffolding,
    docs.config.ts (sources, branding, editUrl), and deploy.
  • Reframed docs/getting-started.md — leads with the fast CLI path, then
    the library path for embedding Lectio in your own app.

Verified: the demo site collects + prerenders both pages (/cli, /getting-started).

New docs/cli.md covers `lectio dev` / `build`, zero-config scaffolding,
docs.config and deploy. getting-started now leads with the fast CLI path, then
the library path for embedding Lectio in your own app.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 25, 2026 18:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds missing CLI documentation and restructures the “Getting started” guide to present two supported adoption paths (CLI-first for a turnkey docs site, and library-first for embedding into an existing app).

Changes:

  • Added a new CLI reference page covering dev/build, docs.config.*, and deployment.
  • Reworked “Getting started” to lead with the CLI flow, then introduce the library flow and how they relate.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/getting-started.md Reframes onboarding around CLI vs library usage paths and links to the new CLI page.
docs/cli.md New CLI reference explaining lectio usage, configuration, and deployment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/getting-started.md
Comment on lines +20 to +21
repo shows a site right away. See [The lectio CLI](/cli) for configuring
sources, branding and deploy.
Comment thread docs/cli.md
into a static, searchable docs site — with no app code to write.

```sh
npx lectio-docs dev # collect + serve locally, with live reload on the UI
@losolio
losolio merged commit 4571d3b into main Jul 25, 2026
2 checks passed
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.

2 participants