mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update copyright years and change license to BSD.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
Convert the Python documentation to Sphinx
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
@@ -3,8 +3,8 @@
|
||||
Documentation converter - high level functions
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
@@ -3,8 +3,8 @@
|
||||
Python documentation LaTeX parser - document nodes
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
|
||||
|
@@ -3,8 +3,8 @@
|
||||
Map LaTeX filenames to ReST filenames
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
# '' means: use same name, strip prefix if applicable.
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
For more documentation, look into the ``restwriter.py`` file.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
from .docnodes import CommentNode, RootNode, NodeList, ParaSepNode, \
|
||||
|
@@ -53,8 +53,8 @@
|
||||
|
||||
- Block level markup inside "alltt" environments doesn't work.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
# yay!
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
For more documentation, look into the ``restwriter.py`` file.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import re
|
||||
|
@@ -3,8 +3,8 @@
|
||||
Python documentation conversion utils
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import re
|
||||
|
@@ -3,8 +3,8 @@
|
||||
Sphinx - Python documentation toolchain
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
@@ -3,8 +3,8 @@
|
||||
Sphinx - Python documentation webserver
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: 2007 by Armin Ronacher, Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Armin Ronacher, Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
The Python documentation toolchain.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Jinja glue.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
@@ -3,8 +3,8 @@
|
||||
sphinx.addnodes
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
from docutils import nodes
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Builder classes for different output formats.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Handlers for additional ReST directives.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Global creation environment.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Highlight code blocks using Pygments.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import cgi
|
||||
|
@@ -6,8 +6,8 @@
|
||||
Build HTML help support files.
|
||||
Adapted from the original Doc/tools/prechm.py.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
docutils writers handling Sphinx' custom nodes.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
from docutils import nodes
|
||||
|
@@ -8,8 +8,8 @@
|
||||
Much of this code is adapted from Dave Kuhlman's "docpy" writer from his
|
||||
docutils sandbox.
|
||||
|
||||
:copyright: 2007 by Georg Brandl, Dave Kuhlman.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl, Dave Kuhlman.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import re
|
||||
|
@@ -6,8 +6,8 @@
|
||||
Extract version info from Include/patchlevel.h.
|
||||
Adapted from Doc/tools/getversioninfo.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
|
@@ -6,8 +6,8 @@
|
||||
Handle reference counting annotations, based on refcount.py
|
||||
and anno-api.py.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Handlers for additional ReST roles.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import re
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Create a search index for offline search.
|
||||
|
||||
:copyright: 2007 by Armin Ronacher.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Armin Ronacher.
|
||||
:license: BSD.
|
||||
"""
|
||||
import re
|
||||
import pickle
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Utility functions for Sphinx.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import os
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Format colored console output.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
codes = {}
|
||||
|
@@ -10,8 +10,8 @@
|
||||
|
||||
Uses the basestring encode function from simplejson.
|
||||
|
||||
:copyright: 2007 by Armin Ronacher, Bob Ippolito.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Armin Ronacher, Bob Ippolito.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import re
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
A web application to serve the Python docs interactively.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import os
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Admin application parts.
|
||||
|
||||
:copyright: 2007 by Georg Brandl, Armin Ronacher.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl, Armin Ronacher.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
from .util import render_template
|
||||
|
@@ -6,8 +6,8 @@
|
||||
Small module that performs anti spam tests based on the bad content
|
||||
regex list provided by moin moin.
|
||||
|
||||
:copyright: 2007 by Armin Ronacher.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Armin Ronacher.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
import re
|
||||
|
@@ -6,8 +6,8 @@
|
||||
A simple WSGI application that serves an interactive version
|
||||
of the python documentation.
|
||||
|
||||
:copyright: 2007 by Georg Brandl, Armin Ronacher.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl, Armin Ronacher.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
|
@@ -9,8 +9,8 @@
|
||||
usable connection which is also set as the connection for the
|
||||
thread that called that function.
|
||||
|
||||
:copyright: 2007 by Georg Brandl, Armin Ronacher.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl, Armin Ronacher.
|
||||
:license: BSD.
|
||||
"""
|
||||
import time
|
||||
import sqlite3
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Nifty module that generates RSS feeds.
|
||||
|
||||
:copyright: 2007 by Armin Ronacher.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Armin Ronacher.
|
||||
:license: BSD.
|
||||
"""
|
||||
import time
|
||||
from datetime import datetime
|
||||
|
@@ -6,8 +6,8 @@
|
||||
A simple module for sending e-mails, based on simplemail.py.
|
||||
|
||||
:copyright: 2004-2007 by Gerold Penz.
|
||||
2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import os.path
|
||||
|
@@ -35,8 +35,8 @@
|
||||
<quote>cite someone</quote>
|
||||
Like <blockquote> in HTML.
|
||||
|
||||
:copyright: 2007 by Armin Ronacher.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Armin Ronacher.
|
||||
:license: BSD.
|
||||
"""
|
||||
import cgi
|
||||
import re
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Handle old URLs gracefully.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
import re
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
robots.txt
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
|
||||
robots_txt = """\
|
||||
|
@@ -7,8 +7,8 @@
|
||||
automatically. Works with any WSGI application but it won't help in non
|
||||
`wsgiref` environments. Use it only for development.
|
||||
|
||||
:copyright: 2007 by Armin Ronacher, Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Armin Ronacher, Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
|
@@ -7,8 +7,8 @@
|
||||
that stores users and their passwords so that they can gain access
|
||||
to the administration system.
|
||||
|
||||
:copyright: 2007 by Armin Ronacher.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Armin Ronacher.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
from os import path
|
||||
|
@@ -5,8 +5,8 @@
|
||||
|
||||
Miscellaneous utilities.
|
||||
|
||||
:copyright: 2007 by Georg Brandl.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Georg Brandl.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
|
@@ -6,8 +6,8 @@
|
||||
To avoid further dependencies this module collects some of the
|
||||
classes werkzeug provides and use in other views.
|
||||
|
||||
:copyright: 2007 by Armin Ronacher.
|
||||
:license: Python license.
|
||||
:copyright: 2007-2008 by Armin Ronacher.
|
||||
:license: BSD.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
|
Reference in New Issue
Block a user