summaryrefslogtreecommitdiff
path: root/docs/api/config.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-02-17 20:58:12 -0500
committerChris McDonough <chrism@plope.com>2012-02-17 20:58:12 -0500
commit3885448eea74d4c79bf34dae0fb3a7fc767cb85c (patch)
treeb4b03d3caf5b890d82363e0168541e5c10cb1be0 /docs/api/config.rst
parent305d23f9e9dd095f4fdface116a2155bd86a453c (diff)
downloadpyramid-3885448eea74d4c79bf34dae0fb3a7fc767cb85c.tar.gz
pyramid-3885448eea74d4c79bf34dae0fb3a7fc767cb85c.tar.bz2
pyramid-3885448eea74d4c79bf34dae0fb3a7fc767cb85c.zip
docs rearranging / fixing
Diffstat (limited to 'docs/api/config.rst')
-rw-r--r--docs/api/config.rst88
1 files changed, 47 insertions, 41 deletions
diff --git a/docs/api/config.rst b/docs/api/config.rst
index 3fc2cfc44..87ba94673 100644
--- a/docs/api/config.rst
+++ b/docs/api/config.rst
@@ -7,56 +7,27 @@
.. autoclass:: Configurator
- .. attribute:: registry
-
- The :term:`application registry` which holds the configuration
- associated with this configurator.
-
- .. automethod:: begin
-
- .. automethod:: end
-
- .. automethod:: hook_zca
-
- .. automethod:: unhook_zca
-
- .. automethod:: get_settings
-
- .. automethod:: commit
-
- .. automethod:: action
-
- .. automethod:: include
-
- .. automethod:: add_directive
-
- .. automethod:: with_package
-
- .. automethod:: maybe_dotted
+ .. automethod:: add_route
- .. automethod:: absolute_asset_spec
+ .. automethod:: add_view
- .. automethod:: setup_registry
+ .. automethod:: add_static_view(name, path, cache_max_age=3600, permission=NO_PERMISSION_REQUIRED)
.. automethod:: add_renderer
- .. automethod:: add_response_adapter
-
- .. automethod:: add_route
+ .. automethod:: add_subscriber
- .. automethod:: add_static_view(name, path, cache_max_age=3600, permission=NO_PERMISSION_REQUIRED)
+ .. automethod:: add_response_adapter
.. automethod:: add_settings
- .. automethod:: add_subscriber
-
.. automethod:: add_translation_dirs
- .. automethod:: add_view
-
.. automethod:: add_tween
- .. automethod:: derive_view
+ .. automethod:: add_traverser
+
+ .. automethod:: add_resource_url_adapter
.. automethod:: make_wsgi_app()
@@ -94,17 +65,45 @@
.. automethod:: set_notfound_view
- .. automethod:: add_traverser
-
.. automethod:: set_renderer_globals_factory(factory)
+ .. automethod:: begin
+
+ .. automethod:: end
+
+ .. automethod:: hook_zca
+
+ .. automethod:: unhook_zca
+
+ .. automethod:: get_settings
+
+ .. automethod:: commit
+
+ .. automethod:: action
+
+ .. automethod:: include
+
+ .. automethod:: add_directive
+
+ .. automethod:: with_package
+
+ .. automethod:: maybe_dotted
+
+ .. automethod:: absolute_asset_spec
+
+ .. automethod:: setup_registry
+
+ .. automethod:: derive_view
+
.. attribute:: introspectable
A shortcut attribute which points to the
:class:`pyramid.registry.Introspectable` class (used during
directives to provide introspection to actions).
- This attribute is new as of :app:`Pyramid` 1.3.
+ .. note::
+
+ This attribute is new as of :app:`Pyramid` 1.3.
.. attribute:: introspector
@@ -114,7 +113,14 @@
``introspector`` argument, this attribute will be that value.
Otherwise, it will be an instance of a default introspector type.
- This attribute is new as of :app:`Pyramid` 1.3.
+ .. note::
+
+ This attribute is new as of :app:`Pyramid` 1.3.
+
+ .. attribute:: registry
+
+ The :term:`application registry` which holds the configuration
+ associated with this configurator.
.. attribute:: global_registries