-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js documentation is not print-friendly #6743
Comments
/cc @nodejs/documentation |
@sorcamarian I was unaware of @ media print.. that is nifty. Would you be open to sending a pull request with your changes? If you have never done so before I'd be more than happy to help you figure out how to do it! |
@thefourtheye Thanks |
@sorcamarian I believe if you clone the repo you should be able to add your style to this file --> https://github.com/nodejs/node/blob/master/doc/api_assets/style.css it will be found in the cloned repo at After you have committed your changes you will be able to use the github API to send the PR You can find more details about how to clone the repo and what not in our contributing guide. Please feel free to ping me here, on twitter via dm, or on irc if you have issues. You could likely even use the github website to edit that file in place and make a pull request. Once you have the PR in we can do a review and help you get the commit to a point where we can merge it! |
@thealphanerd Thank you! |
@sorcamarian I'm not seeing the pull request.. can you share the link to it with me? |
I think I succeeded: #6748 |
Please check if the commit is ok. Thanks. |
Fixes: nodejs#6743 PR-URL: nodejs#6748 Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Can not print Node.js documentation from: https://nodejs.org/api/all.html .
Some CSS rules are not appropriate for print mode.
Before:
Fortunately, I found an simple solution(below).
At the bottom of style.css add this CSS rule:
After my CSS codes:
The text was updated successfully, but these errors were encountered: