[docs] Docs are not printable

Georg Brandl georg at python.org
Wed Jul 7 00:59:08 CEST 2010

Hash: SHA1

Hi Bruce,

you shouldn't need to do anything special; there is no link to a separate
printer-friendly version.

The print-media styles are in http://docs.python.org/_static/basic.css,
which is in turn included by http://docs.python.org/_static/default.css,
and they should get used automatically whenever the browser determines it
renders the page for printing, and not for the screen.  For me, when I
call up the print preview, I can see that the sidebar is not rendered.


Am 06.07.2010 16:56, schrieb Bruce Korb:
> Hi Georg,
> I suspect my firefox *would* respect that style info, were I to know how
> to specify that style info.  I carefully read over the page and did not find
> any links to a printable version (alternate style sheet).  It is possible that
> I may have missed it, but I did go back over it several times before
> writing.  I still may have missed it.  It is not an obvious "printer friendly"
> icon.
> On Sun, Jul 4, 2010 at 10:19 AM, Georg Brandl <georg at python.org> wrote:
>> Hash: SHA1
>> Am 01.07.2010 20:35, schrieb anatoly techtonik:
>>> This is usually resolved with alternative CSS stylesheet for printing
>>> [1] specified in html <head> section with:
>>> <link rel="stylesheet" type="text/css" media="screen"
>>> href="../_static/print.css" />
>>> Currently d.p.o doesn't have any - http://docs.python.org/_static/
>>> [1] http://www.w3.org/TR/CSS2/media.html
>> On the contrary, if you check basic.css, it does have a @media print
>> section.
> The word, "basic" does not appear on the page.
> Not with my browser, anyway.  It isn't in the html source, either.
>> Bruce, I don't know why your Firefox doesn't respect that style info,
>> it works fine for me.
> Where's the link?  :)  Thank you!  Regards, Bruce

Version: GnuPG v2.0.15 (GNU/Linux)


More information about the docs mailing list