-
Notifications
You must be signed in to change notification settings - Fork 588
docs write / page-layout: --margin-left, --margin-right, --margin-top, --margin-bottom #630
Copy link
Copy link
Closed
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
No way to set page margins via the CLI today. After
gog docs write --replace --markdown --pageless, margins stay at the default 72pt (1″) all around — too generous for pageless docs with wide tables.Repro (v0.18.0)
Proposed fix
Add
--margin-left=<PT>,--margin-right=<PT>,--margin-top=<PT>,--margin-bottom=<PT>todocs writeanddocs page-layout. Accept either points or inches (--margin-left=0.5in).Why it matters
Companion to #629 (pageSize widening). Both are needed for pageless docs with wide tables. Today users post-process via Docs API
updateDocumentStyle— same call surface a CLI flag would wrap.v0.18.0 verified
docs write,docs update, ordocs page-layout.