mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
about page fiddling
This commit is contained in:
Regular → Executable
+11
-14
@@ -5,6 +5,10 @@
|
||||
<link rel=stylesheet href=dip3.css>
|
||||
<style>
|
||||
h1:before{content:''}
|
||||
#belong{margin:0 auto;width:558px;height:738px;background:#fff url(i/this-book-belongs-to.png) no-repeat;border:1px solid white}
|
||||
#belong div{margin:375px 30px 0 40px}
|
||||
div p{font-size:small}
|
||||
abbr{font-variant:none;text-transform:none;letter-spacing:0}
|
||||
</style>
|
||||
<link rel=stylesheet media='only screen and (max-device-width: 480px)' href=mobile.css>
|
||||
<link rel=stylesheet media=print href=print.css>
|
||||
@@ -13,19 +17,12 @@ h1:before{content:''}
|
||||
<form action=http://www.google.com/cse><div><input type=hidden name=cx value=014021643941856155761:l5eihuescdw><input type=hidden name=ie value=UTF-8><input name=q size=25> <input type=submit name=sa value=Search></div></form>
|
||||
<p>You are here: <a href=index.html>Home</a> <span class=u>‣</span> <a href=table-of-contents.html>Dive Into Python 3</a> <span class=u>‣</span>
|
||||
<h1>About The Book</h1>
|
||||
<div id=belong>
|
||||
<div>
|
||||
<p>The text of <cite>Dive Into Python 3</cite> is licensed under the <a href=http://creativecommons.org/licenses/by-sa/3.0/ rel=license>Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.
|
||||
<p>The <code>chardet</code> library referenced in <a href=case-study-porting-chardet-to-python-3.html>Case study: porting <code>chardet</code> to Python 3</a> is licensed under the LGPL 2.1 or later. The alphametics solver referenced in <a href=advanced-iterators.html>Advanced Iterators</a> is based on <a href=http://code.activestate.com/recipes/576615/>Raymond Hettinger's solver for Python 2</a>, which he has graciously relicensed under the MIT license so I could port it to Python 3. <a href=advanced-classes.html>Advanced Classes</a> and <a href=special-method-names.html>Special Method Names</a> contain snippets of code from the Python standard library which are released under the Python Software Foundation License version 2. All other example code is my original work and is licensed under the MIT license. Full licensing terms are included in each source code file.
|
||||
<p>The dynamic highlighting effects in the online edition are built on top of <a href=http://jquery.com>jQuery</a>, which is dual-licensed under the MIT and GPL licenses. <span style="color:red">C</span><span style="color:aqua">o</span><span style="color:plum">l</span><span style="color:gold">o</span><span style="color:blue">r</span> syntax highlighting is provided by <a href=http://code.google.com/p/google-code-prettify/>prettify.js</a>, which is licensed under the Apache License 2.0.
|
||||
<p>The online edition loads as quickly as it does because
|
||||
<ol>
|
||||
<li>HTML is <a href=http://httpd.apache.org/docs/trunk/mod/mod_deflate.html>compressed</a>.
|
||||
<li>Scripts and stylesheets are minimized by <a href=http://developer.yahoo.com/yui/compressor/>YUI Compressor</a>.
|
||||
<li>Scripts are combined to reduce HTTP requests.
|
||||
<li>Stylesheets are combined and inlined to reduce HTTP requests.
|
||||
<li>Unused CSS selectors and properties are <a href=http://hg.diveintopython3.org/file/default/util/lesscss.py>removed on a page-by-page basis</a> with <a href=http://pyquery.org/>pyquery</a>.
|
||||
<li>HTTP caching and other server-side options are optimized based on advice from <a href=http://developer.yahoo.com/yslow/>YSlow</a> and <a href=http://code.google.com/speed/page-speed/>Page Speed</a>.
|
||||
<li>The text uses <a href=http://www.alanwood.net/unicode/unicode_samples.html>Unicode characters</a> in place of graphics wherever possible.
|
||||
<li>The entire book was <a href=http://diveintomark.org/archives/2009/03/27/dive-into-history-2009-edition>lovingly hand-authored in HTML 5</a> to avoid markup cruft.
|
||||
</ol>
|
||||
<p>Send corrections and feedback to <a href=mailto:mark@diveintomark.org>mark@diveintomark.org</a>.
|
||||
<p>The <a href=case-study-porting-chardet-to-python-3.html><code>chardet</code> library</a> is licensed under the <abbr title="GNU Lesser General Public License">LGPL</abbr> 2.1 or later. The <a href=advanced-iterators.html>alphametics solver</a> is a port of <a href=http://code.activestate.com/recipes/576615/>Raymond Hettinger’s version</a>, which was released under the <abbr>MIT</abbr> license. <a href=advanced-classes.html>Advanced Classes</a> and <a href=special-method-names.html>Special Method Names</a> contain code from the Python standard library, released under the <abbr title="Python Software Foundation">PSF</abbr> License 2.0. All other example code is my original work and is licensed under the MIT license.
|
||||
<p>The online edition uses <a href=http://jquery.com>jQuery</a>, released under the <abbr>MIT</abbr> and <abbr title="GNU General Public License">GPL</abbr> licenses. <span style="color:red">C</span><span style="color:aqua">o</span><span style="color:plum">l</span><span style="color:gold">o</span><span style="color:blue">r</span> syntax highlighting is provided by <a href=http://code.google.com/p/google-code-prettify/>prettify.js</a>, released under the Apache License 2.0.
|
||||
<p>Corrections and feedback to <a href=mailto:mark@diveintomark.org>mark@diveintomark.org</a>
|
||||
</div>
|
||||
</div>
|
||||
<p class=c>© 2001–9 Mark Pilgrim
|
||||
|
||||
Reference in New Issue
Block a user