From aebd2fd83fca7dcb13d351bbcbfa40f3e22633c3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 4 Mar 2012 13:06:45 -0500 Subject: garden titles of index --- docs/index.rst | 52 ++++++++++++++++------------------------------------ 1 file changed, 16 insertions(+), 36 deletions(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index cb632d5b2..ba71d5fff 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -37,8 +37,8 @@ Front Matter copyright.rst conventions.rst -"What's New" Documents -====================== +What's New +========== .. toctree:: :maxdepth: 1 @@ -100,9 +100,9 @@ Narrative documentation in chapter form explaining how to use Tutorials ========= -Detailed tutorials explaining how to use :app:`Pyramid` to build -various types of applications and how to deploy :app:`Pyramid` -applications to various platforms. +Tutorials explaining how to use :app:`Pyramid` to build various types of +applications, and how to deploy :app:`Pyramid` applications to various +platforms. .. toctree:: :maxdepth: 2 @@ -112,26 +112,26 @@ applications to various platforms. tutorials/bfg/index.rst tutorials/modwsgi/index.rst -Reference Material +API Documentation ================== -Reference material includes documentation for every :app:`Pyramid` API. +Documentation for every :app:`Pyramid` API. .. toctree:: :maxdepth: 2 api -Detailed Change History -======================= +Change History +============== .. toctree:: :maxdepth: 1 changes -Design Documentation -==================== +Design Documents +================ .. toctree:: :maxdepth: 1 @@ -172,31 +172,11 @@ Check this application out of version control via: git clone git://github.com/Pylons/shootout.git -Older Sample Applications (repoze.bfg) -====================================== - -.. note:: - - These applications are for an older version of :app:`Pyramid`, which was - named :mod:`repoze.bfg`. They won't work unmodified under Pyramid, but - might provide useful clues. - -`bfgsite `_ is the software which -runs the `bfg.repoze.org `_ website. It -demonstrates integration with Trac, and includes several -mini-applications such as a pastebin and tutorial engine. Check a -buildout for this application out of Subversion via: - -.. code-block:: text - - svn co http://svn.repoze.org/buildouts/bfgsite/ bfgsite_buildout - -`KARL `_ is a moderately-sized application -(roughly 70K lines of Python code) built on top of :mod:`repoze.bfg` -and other Repoze software. It is an open source web system for -collaboration, organizational intranets, and knowledge management, It -provides facilities for wikis, calendars, manuals, searching, tagging, -commenting, and file uploads. See the `KARL site +`KARL `_ is a moderately-sized application (roughly +80K lines of Python code) built on top of :app:`Pyramid`. It is an open +source web system for collaboration, organizational intranets, and knowledge +management, It provides facilities for wikis, calendars, manuals, searching, +tagging, commenting, and file uploads. See the `KARL site `_ for download and installation details. Support and Development -- cgit v1.2.3 From 59a38c68a94f3437f632811c36366f3b60aee9d0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 4 Mar 2012 13:09:29 -0500 Subject: point people at pylons-discuss rather than pylons-devel --- docs/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index ba71d5fff..5aecedc5d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -189,8 +189,8 @@ To report bugs, use the `issue tracker `_. If you've got questions that aren't answered by this documentation, -contact the `Pylons-devel maillist -`_ or join the `#pyramid +contact the `Pylons-discuss maillist +`_ or join the `#pyramid IRC channel `_. Browse and check out tagged and trunk versions of :app:`Pyramid` via -- cgit v1.2.3 From 13305e14b74c4ef6bbd44817ed0eac5c36499c2b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 5 Mar 2012 03:26:27 -0500 Subject: add_traverser --- docs/narr/hooks.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 24ea5de21..b6e3dd163 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -474,7 +474,7 @@ via configuration. from pyramid.config import Configurator from myapp.traversal import Traverser config = Configurator() - config.set_traverser(Traverser) + config.add_traverser(Traverser) In the example above, ``myapp.traversal.Traverser`` is assumed to be a class that implements the following interface: @@ -524,7 +524,7 @@ used. Otherwise, the default traverser would be used. For example: from myapp.resources import MyRoot from pyramid.config import Configurator config = Configurator() - config.set_traverser(Traverser, MyRoot) + config.add_traverser(Traverser, MyRoot) If the above stanza was added to a Pyramid ``__init__.py`` file's ``main`` function, :app:`Pyramid` would use the ``myapp.traversal.Traverser`` only -- cgit v1.2.3