Context
Reference pages get printed and saved as PDFs, particularly the risk and terms
pages. Without a print stylesheet, the output is a navigation sidebar followed
by unreadable dark-theme code blocks.
Scope
- A print stylesheet hiding the sidebar, TOC, search, feedback control, and
progress indicator, and expanding the content to the full page width.
- Force the light palette in print regardless of the active theme.
- Expand all tab panels and collapsed sections so nothing is silently omitted.
- Print link URLs after their text for internal links; avoid page breaks inside
code blocks, callouts, and table rows.
- Print the page URL and last-updated date in a footer.
Acceptance criteria
Out of scope
- Generating a downloadable PDF of the whole site.
Spec: docs/dx_1/001_docs_site.md · Depends on: DX-062
Context
Reference pages get printed and saved as PDFs, particularly the risk and terms
pages. Without a print stylesheet, the output is a navigation sidebar followed
by unreadable dark-theme code blocks.
Scope
progress indicator, and expanding the content to the full page width.
code blocks, callouts, and table rows.
Acceptance criteria
Out of scope
Spec:
docs/dx_1/001_docs_site.md· Depends on: DX-062