diff options
Diffstat (limited to 'docs/narr/startup.rst')
| -rw-r--r-- | docs/narr/startup.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst index 90792c0ff..be708dfc7 100644 --- a/docs/narr/startup.rst +++ b/docs/narr/startup.rst @@ -18,9 +18,11 @@ on your keyboard after typing ``pserve development.ini`` and the time the lines ``Serving on http://localhost:6543`` are output to your console. .. index:: - single: startup process + single: startup pair: settings; .ini +.. _the_startup_process: + The Startup Process ------------------- @@ -81,6 +83,8 @@ Here's a high-level time-ordered overview of what happens when you press :language: python :linenos: + .. _startup_constructor_arguments: + Note that the constructor function accepts a ``global_config`` argument, which is a dictionary of key/value pairs mentioned in the ``[DEFAULT]`` section of an ``.ini`` file (if :ref:`[DEFAULT] @@ -111,6 +115,8 @@ Here's a high-level time-ordered overview of what happens when you press dictionary captured via the ``**settings`` kwarg as its ``settings`` argument. + .. _startup_settings: + The ``settings`` dictionary contains all the options in the ``[app:main]`` section of our .ini file except the ``use`` option (which is internal to PasteDeploy) such as ``pyramid.reload_templates``, |
