diff options
| -rw-r--r-- | CHANGES.txt | 19 | ||||
| -rw-r--r-- | LICENSE.txt | 6 | ||||
| -rw-r--r-- | docs/copyright.rst | 38 | ||||
| -rw-r--r-- | docs/narr/webob.rst | 22 |
4 files changed, 72 insertions, 13 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index ac1e5fd2c..f1bf4e7f9 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,22 @@ +Next release +============ + +Documentation Licensing +----------------------- + +- Loosen the documentation licensing to allow derivative works: it is + now offered under the `Creative Commons + Attribution-Noncommercial-Share Alike 3.0 United States License + <http://creativecommons.org/licenses/by-nc-sa/3.0/us/>`_. This is + only a documentation licensing change; the ``repoze.bfg`` software + continues to be offered under the Repoze Public License at + http://repoze.org/license.html (BSD-like). + +Documentation +------------- + +- LaTeX rendering tweaks. + 1.2a9 (2009-12-27) ================== diff --git a/LICENSE.txt b/LICENSE.txt index 9040b45a9..3c1a26230 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -100,6 +100,6 @@ under the ZPL): The documentation portion of repoze.bfg (the rendered contents of the "docs" directory of a software distribution or checkout) is supplied -under the Creative Commons Attribution-Noncommercial-No Derivative -Works 3.0 United States License as described by -http://creativecommons.org/licenses/by-nc-nd/3.0/us/ +under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 +United States License as described by +http://creativecommons.org/licenses/by-nc-sa/3.0/us/ diff --git a/docs/copyright.rst b/docs/copyright.rst index 0cdaab061..4ab7e97cd 100644 --- a/docs/copyright.rst +++ b/docs/copyright.rst @@ -7,20 +7,23 @@ by Chris McDonough Copyright © 2008-2010, Agendaless Consulting. +ISBN-13: 978-0-615-34537-6 + All rights reserved. This material may be copied or distributed only subject to the terms and conditions set forth in the `Creative Commons -Attribution-Noncommercial-No Derivative Works 3.0 United States -License <http://creativecommons.org/licenses/by-nc-nd/3.0/us/>`_. You -must give the original author credit. You may not use this work for -commercial purposes. You may not alter, transform, or build upon this -work. +Attribution-Noncommercial-Share Alike 3.0 United States License +<http://creativecommons.org/licenses/by-nc-sa/3.0/us/>`_. You must +give the original author credit. You may not use this work for +commercial purposes. If you alter, transform, or build upon this +work, you may distribute the resulting work only under the same or +similar license to this one. .. note:: While the :mod:`repoze.bfg` documentation is offered under the - Creative Commons Attribution-Nonconmmercial-No Derivative Works 3.0 - United States License, the :mod:`repoze.bfg` *software* is offered - under a `less restrictive (BSD-like) license + Creative Commons Attribution-Nonconmmercial-Share Alike 3.0 United + States License, the :mod:`repoze.bfg` *software* is offered under a + `less restrictive (BSD-like) license <http://repoze.org/license.html>`_ . **Trademarks** @@ -30,6 +33,15 @@ service marks have been appropriately capitalized. However, use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. +**Attributions** + +Cover Designer: + `Electrosoup <http://www.electrosoup.co.uk>`_. + +Used with permission: + The :ref:`webob_chapter` chapter is adapted, with permission, from + documentation originally written by Ian Bicking. + **Warning and Disclaimer** Every effort has been made to make this book as complete and as @@ -42,8 +54,14 @@ with respect to the use of the information contained herein. **Contacting The Publisher** -Please send documentation licensing inquiries and other business -communications to `Agendaless Consulting +Please send documentation licensing inquiries, translation inquiries, +and other business communications to `Agendaless Consulting <mailto:webmaster@agendaless.com>`_. Please send software and other technical queries to the `repoze-dev maillist <http://lists.repoze.org/listinfo/repoze-dev>`_. + +**Source Code** + +The source code for this book is available within the +:mod:`repoze.bfg` software distribution, always available via +http://bfg.repoze.org. diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst index 6f2b9ff21..4284c4110 100644 --- a/docs/narr/webob.rst +++ b/docs/narr/webob.rst @@ -1,8 +1,14 @@ +.. index:: + pair: ian; bicking + .. _webob_chapter: Request and Response Objects ============================ +.. note:: This chapter is adapted from a portion of the :term:`WebOb` + documentation, originally written by Ian Bicking. + :mod:`repoze.bfg` uses the :term:`WebOb` package to supply :term:`request` and :term:`response` object implementations. The :term:`request` object that is passed to a :mod:`repoze.bfg` @@ -98,6 +104,9 @@ instance, ``req.if_modified_since`` returns a `datetime `Request reference <http://pythonpaste.org/webob/class-webob.Request.html>`_. +.. index:: + pair: request; URL + URLs ++++ @@ -121,6 +130,10 @@ of the request. I'll show various values for an example URL Gives a URL, relative to the current URL. If ``to_application`` is True, then resolves it relative to ``req.application_url``. + +.. index:: + pair: request; methods + Methods +++++++ @@ -141,6 +154,9 @@ only a few you'll use often: and returns a `Response`_ object. You can also use this for subrequests or testing. +.. index:: + pair: request; unicode + Unicode +++++++ @@ -242,6 +258,9 @@ properties. These are parsed, so you can do things like The details are available in the `extracted Response documentation <http://pythonpaste.org/webob/class-webob.Response.html>`_. +.. index:: + pair: response; creating + Instantiating the Response ++++++++++++++++++++++++++ @@ -329,6 +348,9 @@ key/value pairs will show up. Similarly ``request.GET.keys()`` returns ``['pref', 'pref']``. Multidict is a view on a list of tuples; all the keys are ordered, and all the values are ordered. +.. index:: + triple: response; attributes; special + Special :mod:`repoze.bfg` Attributes Added to the Request --------------------------------------------------------- |
