Commit fccceac
authored
fix(batch-changes): repair broken permissions table (#1770)
## What
Fixes the broken table under "Batch Change access for each permission
level" on
`/batch-changes/permissions-in-batch-changes`. Previously the table
rendered as a
single paragraph with literal `|` separators visible to the reader.
## Currently at Permissions in Batch Changes
You can see the page
[here](https://sourcegraph.com/docs/batch-changes/permissions-in-batch-changes#permissions-in-batch-changes)
<img width="754" height="590" alt="image"
src="https://github.com/user-attachments/assets/9dafe43f-4737-4360-8af9-b17f38ecc5dc"
/>
## After (locally)
<img width="757" height="794" alt="image"
src="https://github.com/user-attachments/assets/837b94e1-45fc-4166-be66-bca2dca649ef"
/>
## Why
The markdown was malformed in two ways:
1. There was a blank line between the header row and the `|---|`
separator row.
GFM requires the separator to be on the line immediately after the
header,
otherwise the whole block falls back to a paragraph.
2. The rows were missing leading/trailing `|` pipes, unlike every other
table in
the repo.
## How
Rewrote the table using the standard pipe-delimited form already used
elsewhere
in the docs (e.g., `docs/tutorials/index.mdx`). No content changes — the
actions
and ✅/❌ values are identical to the previous source.
## Test plan
- `pnpm run dev` and visit `/batch-changes/permissions-in-batch-changes`
- Confirm the "Batch Change access for each permission level" section
renders
as a real table with three columns (Batch change action / Read / Admin)
- Confirm no other pages are affected (only this one file changed)1 parent d2fa014 commit fccceac
1 file changed
Lines changed: 14 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
0 commit comments