Uh oh!
There was an error while loading. Please reload this page.
doc: adjusting formatting when printing - #24325
Conversation
- reduces page margins - removes emphasis from links - hides expandable history items - removes horizontal scrollbar from bottom of print output - reduce stability rectangle sizes - shrink headlines slightly - hide ToC (as it's unclickable when printed) Ref: https://thomashunter.name/nodejs-documentation-pdf
tlhunter
commented
Nov 12, 2018
/cc @refack |
refack
commented
Nov 12, 2018
Hello @tlhunter and thank you for the contribution! |
refack
commented
Nov 12, 2018
Lite CI https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/1586/ I'll setup a demo site so we can compare the generated docs. |
Trott
commented
Nov 17, 2018
@nodejs/website |
Trott
commented
Nov 17, 2018
Since these are all under LGTM |
- reduces page margins - removes emphasis from links - hides expandable history items - removes horizontal scrollbar from bottom of print output - reduce stability rectangle sizes - shrink headlines slightly - hide ToC (as it's unclickable when printed) Ref: https://thomashunter.name/nodejs-documentation-pdf PR-URL: nodejs#24325 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
Trott
commented
Nov 17, 2018
Landed in 344a46a |
refack
commented
Nov 17, 2018
Post land visual test: Screenshot of print preview: Pre:Post: |
Maybe we can follow up with an improvement to the visual of |
WaleedAshraf
commented
Nov 17, 2018
I see this in print preview on chrome using @refack links. Pre:Post: |
refack
commented
Nov 17, 2018
@WaleedAshraf Do you have "Background Graphics" checked? |
WaleedAshraf
commented
Nov 18, 2018
@refack Got it. |
- reduces page margins - removes emphasis from links - hides expandable history items - removes horizontal scrollbar from bottom of print output - reduce stability rectangle sizes - shrink headlines slightly - hide ToC (as it's unclickable when printed) Ref: https://thomashunter.name/nodejs-documentation-pdf PR-URL: #24325 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
- reduces page margins - removes emphasis from links - hides expandable history items - removes horizontal scrollbar from bottom of print output - reduce stability rectangle sizes - shrink headlines slightly - hide ToC (as it's unclickable when printed) Ref: https://thomashunter.name/nodejs-documentation-pdf PR-URL: #24325 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
- reduces page margins - removes emphasis from links - hides expandable history items - removes horizontal scrollbar from bottom of print output - reduce stability rectangle sizes - shrink headlines slightly - hide ToC (as it's unclickable when printed) Ref: https://thomashunter.name/nodejs-documentation-pdf PR-URL: #24325 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
- reduces page margins - removes emphasis from links - hides expandable history items - removes horizontal scrollbar from bottom of print output - reduce stability rectangle sizes - shrink headlines slightly - hide ToC (as it's unclickable when printed) Ref: https://thomashunter.name/nodejs-documentation-pdf PR-URL: #24325 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>





As a weekend project I built a PDF generator for the Node.js docs. This project required making small changes to the documentation CSS for aesthetics. Take a look at these PDF files to view the CSS changes in action.
Here's an overview of these changes:
> historyitems since they're collapsed and unreadableChecklist