summaryrefslogtreecommitdiff
path: root/docs/narr/startup.rst
diff options
context:
space:
mode:
authorAlexandre Bourget <alexandre.bourget@savoirfairelinux.com>2011-03-24 12:07:09 -0400
committerAlexandre Bourget <alexandre.bourget@savoirfairelinux.com>2011-03-24 12:07:09 -0400
commit95e799d074de2e81914d513b4c331df1e738c00e (patch)
treeb3039037533610d8c86d82bb28f139d8a3777013 /docs/narr/startup.rst
parent22d3253a26767501827d86b56db3a9b79bef6c4e (diff)
parentb596e1812627c359908759d7a8d83c339f08e385 (diff)
downloadpyramid-95e799d074de2e81914d513b4c331df1e738c00e.tar.gz
pyramid-95e799d074de2e81914d513b4c331df1e738c00e.tar.bz2
pyramid-95e799d074de2e81914d513b4c331df1e738c00e.zip
Merge remote branch 'source/master'
Conflicts: docs/narr/hooks.rst
Diffstat (limited to 'docs/narr/startup.rst')
-rw-r--r--docs/narr/startup.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst
index 1b21cb516..e2c43b17e 100644
--- a/docs/narr/startup.rst
+++ b/docs/narr/startup.rst
@@ -82,7 +82,7 @@ Here's a high-level time-ordered overview of what happens when you press
Our generated ``development.ini`` file looks like so:
.. literalinclude:: MyProject/development.ini
- :language: guess
+ :language: ini
:linenos:
In this case, the ``myproject.__init__:main`` function referred to by the
@@ -94,7 +94,7 @@ Here's a high-level time-ordered overview of what happens when you press
'default_locale_name':'en'}``.
#. The ``main`` function first constructs a
- :class:`pyramid.config.Configurator` instance, passing a root resource
+ :class:`~pyramid.config.Configurator` instance, passing a root resource
factory (constructor) to it as its ``root_factory`` argument, and
``settings`` dictionary captured via the ``**settings`` kwarg as its
``settings`` argument.
@@ -109,18 +109,18 @@ Here's a high-level time-ordered overview of what happens when you press
``debug_authorization``, etc.
#. The ``main`` function then calls various methods on the an instance of the
- class :class:`pyramid.config.Configurator` method. The intent of
+ class :class:`~pyramid.config.Configurator` method. The intent of
calling these methods is to populate an :term:`application registry`,
which represents the :app:`Pyramid` configuration related to the
application.
-#. The :meth:`pyramid.config.Configurator.make_wsgi_app` method is called.
+#. The :meth:`~pyramid.config.Configurator.make_wsgi_app` method is called.
The result is a :term:`router` instance. The router is associated with
the :term:`application registry` implied by the configurator previously
populated by other methods run against the Configurator. The router is a
WSGI application.
-#. A :class:`pyramid.events.ApplicationCreated` event is emitted (see
+#. A :class:`~pyramid.events.ApplicationCreated` event is emitted (see
:ref:`events_chapter` for more information about events).
#. Assuming there were no errors, the ``main`` function in ``myproject``
@@ -142,7 +142,7 @@ Deployment Settings
-------------------
Note that an augmented version of the values passed as ``**settings`` to the
-:class:`pyramid.config.Configurator` constructor will be available in
+:class:`~pyramid.config.Configurator` constructor will be available in
:app:`Pyramid` :term:`view callable` code as ``request.registry.settings``.
You can create objects you wish to access later from view code, and put them
into the dictionary you pass to the configurator as ``settings``. They will