docs(guides): add a getting-started guide, from account to first push #183
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-web!183
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "docs/getting-started-guide"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
/docscarried three guides — Renovate, Actions and Accounts — and none of them answered what to dofirst. Someone finishing sign-up landed on an empty account with no documented path to a working
repository.
Adds
getting-startedin both locales, first on/docsatorder: 0: connect a machine over SSH,create a first repository, then clone, commit and push, and hand off to the Actions and Renovate
guides.
Three decisions worth stating
It opens with what a participant account cannot do. Hosting your own repository is not included
in the free account, so a guide that goes straight to "create your first repository" is wrong for
the account type most readers arrive with. The guide says so in its second section and links to the
account types rather than discovering the limit for the reader at the moment it bites.
Git over SSH only, no HTTPS path. With internal sign-in disabled there is no password to give,
so the HTTPS route would have to teach an access-token flow — the weaker of the two, documented
alongside the stronger one. SSH is the single answer here.
Links to settings pages use their URLs, not translated menu labels. Gitborg Auth and the Bitborg
app are translated independently of this site, so a guide quoting a menu label goes stale silently.
A URL cannot.
It links to
accountsrather than restating it — account creation and signing in are documentedonce.
The content gate needed fixing first
Writing the first guide with shell samples surfaced two ways
check-content-style.mjscontradictedthe style guide it enforces:
git commitin abashsample trippedsv-term/anglicism, even though the guide exempts code identifiers "kept verbatim". Thedocumented remedy could not be applied either — an ignore directive is an HTML comment, and inside
a fence it renders as part of the sample the reader copies.
.mdfile in the repository. Prettier formats an HTMLcomment as its own block and leaves a blank line after it, so by the time pre-commit had run, the
directive no longer sat on
lines[index - 1]and the suppression silently stopped applying. Itnow binds to the nearest preceding non-blank line.
The second one is the more interesting failure: the escape hatch the guide tells authors to use had
never worked in Markdown, and failed by doing nothing rather than by erroring.
Both behaviours are now written into
docs/content-style.md, which the guide itself declares thesource of truth for the checker.
Verified, not assumed
git_ssh_port: 22(ansible/group_vars/all/vars.yml), so no port suffix belongs in the cloneURL; and
app.ini.j2states that internal sign-in is off while Basic auth stays on "sogit-over-HTTPS and API access with tokens keep working" — which is what rules the password out.
accountsguide, not inferred frompricing copy.
pnpm lang-checkclean over 76 files — including after Prettier reformats, which is the statethat actually reaches CI and the state the old directive failed in.
pnpm buildpasses andsitemap-0.xmlcontainsdocs/getting-started, so the new guide isrouted and indexed in both locales.
pnpm test296 passing, up from 293: three new cases pin the gate's logic — fenced code skipped,prose after a closed fence still checked, and a directive separated from its target by a blank
line still honoured.
pnpm lintclean,pnpm check0 errors and 0 warnings,pnpm format:checkclean.build,testand the end-to-end suite against the committed tree: all green.Ordering is deterministic rather than observed:
/docssorts onorderascending(
src/pages/docs/index.astro:22) and the existing guides hold 1, 2 and 3, soorder: 0leadswithout renumbering them.
Closes #181. Part of gitborg/gitborg-docs#28.