diff options
| author | Michele Simionato <michele.simionato@gmail.com> | 2015-03-16 16:42:45 +0100 |
|---|---|---|
| committer | Michele Simionato <michele.simionato@gmail.com> | 2015-03-16 16:42:45 +0100 |
| commit | 196ea9fece7b1507769493f1109ae5080cb7466c (patch) | |
| tree | f3a08e3a43bcdab05aba5564b57bf6cbae8c7ba9 /index.html | |
| parent | b1755bb74675d373560cffc2bc3a4f5098d58dbc (diff) | |
| download | python-decorator-git-196ea9fece7b1507769493f1109ae5080cb7466c.tar.gz | |
Regenerated index.html
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 63 |
1 files changed, 43 insertions, 20 deletions
@@ -3,14 +3,14 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.8.1: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" /> <title>Decorator module</title> <meta name="author" content="Michele Simionato" /> <style type="text/css"> /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 7056 2011-06-17 10:50:48Z milde $ +:Id: $Id: html4css1.css 7614 2013-02-21 15:55:51Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. @@ -78,7 +78,7 @@ div.tip p.admonition-title { div.attention p.admonition-title, div.caution p.admonition-title, div.danger p.admonition-title, div.error p.admonition-title, -div.warning p.admonition-title { +div.warning p.admonition-title, .code .error { color: red ; font-weight: bold ; font-family: sans-serif } @@ -250,10 +250,19 @@ pre.address { margin-top: 0 ; font: inherit } -pre.literal-block, pre.doctest-block, pre.math { +pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } +pre.code .ln { color: grey; } /* line numbers */ +pre.code, code { background-color: #eeeeee } +pre.code .comment, code .comment { color: #5C6576 } +pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } +pre.code .literal.string, code .literal.string { color: #0C5404 } +pre.code .name.builtin, code .name.builtin { color: #352B84 } +pre.code .deleted, code .deleted { background-color: #DEB0A1} +pre.code .inserted, code .inserted { background-color: #A3D289} + span.classifier { font-family: sans-serif ; font-style: oblique } @@ -305,6 +314,21 @@ table.docutils th.field-name, table.docinfo th.docinfo-name { white-space: nowrap ; padding-left: 0 } +/* "booktabs" style (no vertical lines) */ +table.docutils.booktabs { + border: 0px; + border-top: 2px solid; + border-bottom: 2px solid; + border-collapse: collapse; +} +table.docutils.booktabs * { + border: 0px; +} +table.docutils.booktabs th { + border-bottom: thin solid; + text-align: left; +} + h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { font-size: 100% } @@ -329,7 +353,7 @@ ul.auto-toc { </tr> <tr class="field"><th class="docinfo-name">Download page:</th><td class="field-body"><a class="reference external" href="http://pypi.python.org/pypi/decorator">http://pypi.python.org/pypi/decorator</a></td> </tr> -<tr class="field"><th class="docinfo-name">Installation:</th><td class="field-body"><tt class="docutils literal">easy_install decorator</tt></td> +<tr class="field"><th class="docinfo-name">Installation:</th><td class="field-body"><tt class="docutils literal">pip install decorator</tt></td> </tr> <tr class="field"><th class="docinfo-name">License:</th><td class="field-body">BSD license</td> </tr> @@ -338,20 +362,20 @@ ul.auto-toc { <div class="section" id="installation"> <h1>Installation</h1> <p>If you are lazy, just perform</p> -<p>$ easy_install decorator</p> -<p>which will install just the module on your system. Notice that -Python 3 requires the easy_install version of the <a class="reference external" href="http://packages.python.org/distribute/">distribute</a> project.</p> +<blockquote> +<cite>$ pip install decorator</cite></blockquote> +<p>which will install just the module on your system.</p> <p>If you prefer to install the full distribution from source, including the documentation, download the <a class="reference external" href="http://pypi.python.org/pypi/decorator">tarball</a>, unpack it and run</p> -<p>$ python setup.py install</p> +<blockquote> +<cite>$ python setup.py install</cite></blockquote> <p>in the main directory, possibly as superuser.</p> </div> <div class="section" id="testing"> <h1>Testing</h1> -<p>For Python 2.5, 2.6, 2.7 run</p> -<p>$ python documentation.py</p> -<p>for Python 3.X run</p> -<p>$ python documentation3.py</p> +<p>Run</p> +<blockquote> +<cite>$ python test.py -v</cite></blockquote> <p>You will see a few innocuous errors with Python 2.5, because some inner details such as the introduction of the ArgSpec namedtuple and Thread.__repr__ changed. You may safely ignore them.</p> @@ -369,18 +393,17 @@ old version.</p> <h1>Documentation</h1> <p>There are various versions of the documentation:</p> <ul class="simple"> -<li><a class="reference external" href="http://micheles.googlecode.com/hg/decorator/documentation.html">HTML version (Python 2)</a></li> -<li><a class="reference external" href="http://micheles.googlecode.com/hg/decorator/documentation.pdf">PDF version (Python 2)</a></li> -<li><a class="reference external" href="http://micheles.googlecode.com/hg/decorator/documentation3.html">HTML version (Python 3)</a></li> -<li><a class="reference external" href="http://micheles.googlecode.com/hg/decorator/documentation3.pdf">PDF version (Python 3)</a></li> +<li><a class="reference external" href="https://github.com/micheles/decorator/blob/3.4.1/documentation.rst">HTML version (Python 2)</a></li> +<li><a class="reference external" href="https://github.com/micheles/decorator/blob/3.4.1/documentation.pdf">PDF version (Python 2)</a></li> +<li><a class="reference external" href="https://github.com/micheles/decorator/blob/3.4.1/documentation3.rst">HTML version (Python 3)</a></li> +<li><a class="reference external" href="https://github.com/micheles/decorator/blob/3.4.1/documentation3.pdf">PDF version (Python 3)</a></li> </ul> </div> <div class="section" id="repository"> <h1>Repository</h1> -<p>The project is hosted on GoogleCode as a Mercurial repository. You -can look at the source here:</p> +<p>The project is hosted on GitHub. You can look at the source here:</p> <blockquote> -<a class="reference external" href="http://code.google.com/p/micheles/source/browse/#hg%2Fdecorator">http://code.google.com/p/micheles/source/browse/#hg%2Fdecorator</a></blockquote> +<a class="reference external" href="https://github.com/micheles/decorator">https://github.com/micheles/decorator</a></blockquote> </div> </div> </body> |
