Skip to content

[DOCS] all: clear the STYLE.md backlog on 42 pages - #54

Merged
alexandrecarvalheira merged 1 commit into
mainfrom
docs/terminology-sweep
Aug 25, 2026
Merged

[DOCS] all: clear the STYLE.md backlog on 42 pages#54
alexandrecarvalheira merged 1 commit into
mainfrom
docs/terminology-sweep

Conversation

@alexandrecarvalheira

Copy link
Copy Markdown
Collaborator

Prose only. No code sample changed, and no page in deep-dive is touched.

This is the unblocking step before the 0.7 code sweep. Right now 81 of 113 pages fail the prose linter, and because docs-style lints the files a PR touches, editing any of them fails CI on a backlog that PR did not create. That is why #49 and #53 both had to route around pages they should have updated.

What changed

Category Count
on-chain/off-chain to onchain/offchain 222
Em dashes rewritten 186
Decorative check marks and arrows 42
FHEOS to FheOS, Testnet to testnet 4
Marketing and filler phrases 4
Structure errors in the same files 8

The terminology and Unicode passes were scripted with fenced code blocks skipped, so no sample was modified. Case is preserved, so On-chain became Onchain.

Where the judgment went

Em dashes are not mechanical, and my first automated pass got some wrong. Two things I had to go back and fix:

  • Paired dashes are parentheticals, not two breaks. Every confidential mutation — shield mint, confidential transfer, unshield burn — flows through it first became three fragments. It is now Every confidential mutation (shield mint, confidential transfer, unshield burn) flows through it. I found all 10 such lines by diffing against main for lines that originally held two dashes, and checked each.
  • A check mark is often a bullet, not the word "Yes". Substituting the word produced - Yes Wallets to display "activity". Those lists now just drop the marker. In fhenix.mdx the check marks were labelling problems (✅ Front-running & MEV), which was wrong to begin with; they are now plain bullets.

Structure fixes were kept minimal and each is a STYLE.md rule: duplicate manual H1s (Mintlify renders the H1 from frontmatter), untagged console-output blocks tagged text, an absolute link to our own site made root-relative, and two heading-level jumps. On migrating-from-cofhejs.mdx I initially promoted all 14 ### and flattened a real hierarchy; that is reverted, and only the three intro headings that preceded the first ## were promoted.

Result

vale and lint-docs.py both exit 0 on all 42 files. mint validate and mint broken-links --check-anchors --check-redirects pass. 383 warnings remain across these pages (heading case, sentence length), which do not fail the job and are not worth churning the diff for.

After this lands, every page in the 0.7 code sweep can be edited without inheriting prose failures.

🤖 Generated with Claude Code

Every page that mentions onchain, offchain, an em dash, or a decorative
check mark failed the prose linter. Because CI lints the files a pull
request touches, that made any edit to those pages inherit an unrelated
backlog, which is why recent content work had to route around them.

- 222 onchain and offchain respellings, scripted with case preserved and
  fenced code skipped, so no sample changed.
- 186 em dashes rewritten as a comma, period, colon, or parentheses.
  Paired dashes became parentheses or a comma pair rather than two
  sentence breaks.
- 42 decorative check marks and arrows replaced with words, or dropped
  where the mark was only a bullet.
- FHEOS to FheOS, Testnet to testnet, and four marketing or filler
  phrases.
- Eight structure errors in the same files: duplicate manual H1s that
  Mintlify already renders from frontmatter, untagged output blocks, an
  absolute link to our own site, and two h1 to h3 heading jumps.

No page in deep-dive is touched. The cofhejs tab is left alone as a
frozen legacy reference.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
fhenix 🟢 Ready View Preview Aug 25, 2026, 3:50 AM

@alexandrecarvalheira
alexandrecarvalheira merged commit fd136a4 into main Aug 25, 2026
3 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.

1 participant