Repository navigation
docs: house style pass, agent-setup page, cirrus theme - #131
Merged
Merged
Conversation
Adopts the parts of ASD-STE100 Simplified Technical English that pay for themselves in developer docs (one term per concept, sentence limits, warnings before the command they qualify) and explicitly rejects the parts that would cost us the brand voice (approved-word dictionary, no humor). .github/DOCS_STYLE.md records the decision and the term list. Applied to README, index and quickstart only; the other 366 pages are untouched. Terminology fixed here: - coding agent, never AI agent / AI coding assistant / coding assistant. "AI agent" is reserved for third-party crawlers (GPTBot, Claude-User), which is what it already means in the Agent Experience rows: those are deliberately left alone. - log in / logged in / logged out, never signed in. Also sentence-cases headings, per the existing rule in CLAUDE.md that the docs have been quietly violating, and moves the partial-report warning in the category-filter step above its command, since a reader who copy-pastes has already run it by the time they reach a trailing warning. Signed-off-by: Nik Cubrilovic <[email protected]>
Applies the project dictionary from .github/DOCS_STYLE.md across all 368 pages. - 684 headings to sentence case. Rule names, category names, command names used as headings (`## login`, `### json`) and acronyms are left alone; those are identifiers, not prose. - sign in / signed in / sign-in -> log in / logged in / login, except in the Site Integrity rules, where sign-in means a third party's login page and a phishing imitation of one. - AI assistant / coding assistant / AI coding assistant -> coding agent where it means the reader's own agent. The Agent Experience pages keep "AI agents": there it means every non-human consumer of a page, which "AI crawler" would narrow wrongly. site vs website is left for a separate pass, recorded in DOCS_STYLE.md. tangly check --strict: 368 pages, 0 orphans, all checks passed. Signed-off-by: Nik Cubrilovic <[email protected]>
One line on the clipboard pointing an agent at /agent-setup/prompt.md, which it fetches and follows: install the CLI, run a local audit, wire up MCP, work the issues. The instructions live at the URL, so they can change without anyone re-copying a stale block of setup steps. prompt.mdx is a normal page, so tangly's existing raw-markdown twin serves it at .md with no extra plumbing. Cards cover the six agents we test against. Copilot and Windsurf point at the generic MCP clients page until they have guides of their own. Signed-off-by: Nik Cubrilovic <[email protected]>
Requires an unreleased tangly. The two halves fail differently on 0.2.4:
theme: cirrus silently falls back to tang. No error, and
check --strict still passes.
styling.codeblocks.* hard-fails the build. The schema's object branch
is strict, so the new chrome/copyButton keys make
it fall through to the enum branch and report
"invalid value an object - allowed: system, dark",
which does not name the real culprit.
Verified with 'bun x [email protected] build'. Do NOT merge ahead of the release.
Signed-off-by: Nik Cubrilovic <[email protected]>
mode: custom hands the page a bare slot, which drops the whole shell, not just the title chrome: no sidebar, no breadcrumb, no TOC. It reads as a landing page but the page lives in the docs nav, so losing both navs was wrong. Back to the default mode and let the shell own the h1 and the measure. The headline moves into frontmatter title, with sidebarTitle keeping the short 'Agent setup' label for the nav. Also drops the hand-rolled eyebrow, which just restated the breadcrumb. Signed-off-by: Nik Cubrilovic <[email protected]>
Positioning: - quickstart described itself as running your 'first SEO audit'. It is the page every new CLI user lands on, and SEO is one of five categories. - developers hub led with 'most integrations start with CI/CD or the REST API'. Those are cloud surfaces, used by a small minority. Agents and MCP now lead, and the cards say which surfaces need an account. Structure: - collapse the API tab into Developers. Its boundary was already leaky: the tab pulled in cloud/webhooks and developers/authentication from outside api/. Six top-level tabs for a CLI-first product spent two of them on the cloud audience. Now five, with Developers ordered agents, CI/CD, then the REST surface. Consistency: - sentence-case the page titles that were still Title Case. Rule pages keep their casing: those titles are rule names. - ASCII art directory trees become <FileTree>, which tangly renders with real file and folder affordances. - 'the same site' -> 'the same website' per the project dictionary. Signed-off-by: Nik Cubrilovic <[email protected]>
Eleven rule pages landed on main while this branch was parked and kept the Title Case "Enable / Disable" heading. Also corrects the agent-setup rule count, which was written against 267. Signed-off-by: Nik Cubrilovic <[email protected]>
docs.json asks for `theme: cirrus` and `styling.codeblocks.chrome`, both of which land in tangly 0.3.0. On 0.2.4 the build fails on the unknown theme. Signed-off-by: Nik Cubrilovic <[email protected]>
114 fences carried no language, so they rendered as untyped blocks: no highlighting, and nothing telling a reader whether they are looking at a command to run or output to read. Commands become `bash`; terminal output, prompts, formulas and paths become `text`. Classified by content rather than by file, so blocks that merely mention a command (an interactive prompt quoting an `export` line, CLI output echoing a TOML config) stay `text` instead of being mislabelled as runnable. Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
docs/ste-house-style
branch
from
August 26, 2026 02:37
073b1ff to
017aed3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The docs house-style pass that has been parked on a branch, rebased onto main and brought current.
A written style guide.
.github/DOCS_STYLE.mdrecords the project dictionary (one term per concept: coding agent, AI crawler, log in, website, audit, report, issue, cloud), sentence-case headings with the three exceptions that must not be "corrected" (rule and category names, command names used as headings, acronyms), warnings before the command they qualify, and no em-dashes. Applied to the entry pages and headings across the corpus.An agent-setup page.
/agent-setupis one line you paste into any coding agent: it fetches/agent-setup/prompt.mdand follows it. Six agent cards below for people who would rather wire it up by hand. Uses tangly's new<CopyPrompt>.The cirrus theme (
theme: cirrus), plusstyling.codeblocks.chrome: "bare"andcopyButton: "hover".Why the tangly bump
docs.jsonasks for a theme and config keys that only exist in tangly 0.3.0, released today. On 0.2.4 the build fails on the unknown theme, sodocs/package.jsonand the lockfile move together with the content.Rebase notes
Main moved 29 commits while this sat. Four conflicts, all resolved by taking main's facts and this branch's style:
docs/reports.mdx: main added an "Issue ordering" section exactly where this branch sentence-cased### console (Default). Kept both.## Enable / Disable. Swept.agent-setup/index.mdxsaid "267 rules". Now 278.Verification
tangly check --strict: 384 pages, 1 orphan (agent-setup/prompt, deliberately out of nav), no broken links./agent-setup/prompt.mdis emitted, and the CopyPrompt button renders with the rightdata-href.Known, not fixed here
The bare code-block chrome will not be visible on the deployed site yet. Every code block on docs.squirrelscan.com currently renders as plain
<pre><code>with no highlighting and no copy button, because the rootpackage.jsonoverridesblock forcesastro: 7.1.3while tangly needsastro ^6. The same docs tree built outside this workspace highlights correctly. That is a pre-existing production bug, tracked separately, and orthogonal to this PR.