Skip to content

docs: user documentation, project files and a GitHub Pages site - #25

Merged
CameronBrooks11 merged 3 commits into
mainfrom
docs/site
Nov 11, 2026
Merged

CameronBrooks11 merged 3 commits into
mainfrom
docs/site

Conversation

@CameronBrooks11

Copy link
Copy Markdown
Member

What

  • docs/: user documentation, plain Markdown that reads on GitHub and is
    the Jekyll source for the Pages site:
    • getting started
    • commands: every flag, output and exit code
    • credentials: bot passwords and the per-wiki variable names
    • working tree: file layout, .wikisync/, conflicts
    • development: build, tests, releases
  • README: what wikisync is, install, quick start, status, links to the docs.
    The detail moved into docs/.
  • CHANGELOG.md: backfilled from the v0.1.0 to v0.2.1 release notes.
  • CONTRIBUTING.md and SECURITY.md: security reports go through
    GitHub private vulnerability reporting, now enabled on this repo.
  • .github/workflows/pages.yml: pull requests that touch docs/ build the
    site; pushes to main deploy it to
    https://cameronbrooks11.github.io/wikisync/. Only main may deploy to the
    github-pages environment (its branch policy).
  • AGENTS.md: docs/ in the layout, and a rule that a change to a flag,
    output, exit code or on-disk format updates the matching page and the
    changelog in the same PR.

Checked against the code

  • Exit codes, output lines, status states and push steps come from
    main.go and internal/core.
  • The host-to-variable examples (APPROPEDIA, WIKIPEDIA, MY_LAB, CO for
    .co.uk, none for an IP) were run through creds.WikiKey.
  • The bot-password grant (Edit existing pages) is the editpage grant the CI
    integration test uses.
  • All 24 relative links and anchors resolve. The checker reports a missing
    file and a missing anchor when given one.

While documenting push, I found it ignores an untracked title silently: #24.
The docs note this until #24 is fixed.

docs/ covers getting started, every command with its flags, output and
exit codes, bot-password credentials, the working tree and conflicts,
and development. It is plain Markdown for GitHub and the Jekyll source
for the Pages site. The README keeps what wikisync is, install, a quick
start and status, and links to the docs.
The changelog is backfilled from the v0.1.0 to v0.2.1 release notes.
Security reports go through GitHub private vulnerability reporting.
Pull requests that touch docs/ build the site; pushes to main also
deploy it. Only main may deploy to the github-pages environment.
@CameronBrooks11
CameronBrooks11 merged commit 5ceea58 into main Nov 11, 2026
8 checks passed
@CameronBrooks11
CameronBrooks11 deleted the docs/site branch November 11, 2026 01:37
CameronBrooks11 added a commit that referenced this pull request Nov 11, 2026
Prepares v0.3.0: the version constant becomes 0.3.0 so --version matches
the tag, and the CHANGELOG's Unreleased section becomes 0.3.0. Changes
since v0.2.1: #32 (no default wiki; a working tree remembers its own)
and #25 (docs and the Pages site). The tag is pushed after this merges.
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