Skip to content

docs: add a tutorial - #219

Merged
willkg merged 1 commit into
mainfrom
docs-tutorial
Oct 8, 2026
Merged

willkg merged 1 commit into
mainfrom
docs-tutorial

Conversation

@willkg

@willkg willkg commented Oct 8, 2026

Copy link
Copy Markdown
Member

Adds docs/tutorial.md, a quick start that walks a new user from install to a published and exported page in their personal space:

  1. Install with Homebrew.
  2. Set up credentials with credentials-init, then confirm them and find the personal space key with user-info.
  3. Look at the personal space with space-info.
  4. Write hello.md, which has an invalid page_width on purpose so that check reports it; fix it and run check again.
  5. create --dry-run, then create, and the frontmatter that create writes back.
  6. List the space with children --space.
  7. export the page, and a pointer to diff.

The sample output is what markfluence prints, with the account, site, and ids replaced by example values. The README's documentation table links to the tutorial, and CLAUDE.md lists it with the other written documents.

docs/tutorial.md is a quick start for a new user: install with Homebrew,
set up credentials with credentials-init, look at the personal space with
user-info and space-info, write a Markdown file, check it, create the
page, list the space with children, and export the page back to a file.

The example file has an invalid page_width on purpose, so the reader sees
check report a problem, fixes it, and runs check again.

The README's documentation table links to it, and CLAUDE.md lists it with
the other written documents.
@willkg
willkg merged commit fdcc9dd into main Oct 8, 2026
1 check passed
@willkg
willkg deleted the docs-tutorial branch October 8, 2026 14:15
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