Skip to content

docs(backups): escape the pipes that split two residuals rows - #367

Merged
earthlingdavey merged 3 commits into
backupfrom
docs/backups-readme-pipes
Oct 29, 2026
Merged

earthlingdavey merged 3 commits into
backupfrom
docs/backups-readme-pipes

Conversation

@earthlingdavey

@earthlingdavey earthlingdavey commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

In GitHub's tables an unescaped | ends a cell even inside a code span. Four rows on backup rendered with their columns shifted:

  • backups/README.md, the accepted-residuals table:
    • the readRegular row: O_RDONLY|O_NONBLOCK;
    • RC check 5's row: head -c 8388608 /dev/urandom | restic ….
  • docs/design/backups/plan.md, the package table's dump row: O_NOFOLLOW|O_NONBLOCK.
  • docs/design/backups/pr-plans/backups-rc-results.md, the "B2 lists versions by name" row: | sort -k3,4.

Each now writes \|, as the residuals table's timeline row already does. No words change, so the design records still read as they did. A scan of every tracked .md file on the branch finds no other table row with an unescaped | inside a code span. Text only.

Found while fixing #323. The last two rows came from the self-review.

GitHub's tables end a cell at an unescaped `|`, inside a code span too,
so the `O_RDONLY|O_NONBLOCK` row and RC check 5's `head -c … | restic`
row rendered with their columns shifted. `\|`, as the timeline row
beside them already writes it.
@earthlingdavey earthlingdavey added documentation Improvements or additions to documentation backup labels Oct 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The inline-code flag expression in the numbered list contains an unnecessary pipe escape, causing an extra backslash to appear in the rendered documentation.

1 open issue
What changed in this PR

This documentation-only PR fixes pipe escaping in backup documentation so GitHub renders table columns correctly, without changing runtime behavior.

Changes:

  • Escapes pipes in two accepted-residuals table rows.
  • Escapes pipes in the package table and saved release-candidate results.
  • Also adds an escape to a numbered-list code span.
File Description
docs/​design/​backups/​pr-plans/​backups-rc-results.md Escapes the pipeline in the B2 listing table row.
docs/​design/​backups/​plan.md Adds flag-expression escapes in the package table and numbered list.
backups/​README.md Escapes flag and pipeline expressions in two residuals rows.

Review effort: Balanced

Comment thread docs/design/backups/plan.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the documentation table-formatting changes.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@earthlingdavey
earthlingdavey merged commit 0912317 into backup Oct 29, 2026
21 checks passed
@earthlingdavey
earthlingdavey deleted the docs/backups-readme-pipes branch October 29, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backup documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants