diff --git a/docs/source/configuration.rst b/docs/source/configuration.rst index 9822af1..94c4dc9 100644 --- a/docs/source/configuration.rst +++ b/docs/source/configuration.rst @@ -41,7 +41,6 @@ A typical application configuration might look like this:: 'modules' : ['project'], 'static_root' : '%(confdir)s/public', 'template_path' : '%(confdir)s/project/templates', - 'reload' : True, 'debug' : True } @@ -61,9 +60,6 @@ used to serve static files (like CSS and Javascript files) during development. **template_path** Points to the directory where your template files live (relative to the project root). -**reload** - When ``True``, ``pecan serve`` will listen for file changes and -restart your app (especially useful for development). - **debug** Enables ``WebError`` to display tracebacks in the browser (**IMPORTANT**: Make sure this is *always* set to ``False`` in production environments). diff --git a/docs/source/quick_start.rst b/docs/source/quick_start.rst index 4a29b56..d0e69cd 100644 --- a/docs/source/quick_start.rst +++ b/docs/source/quick_start.rst @@ -95,9 +95,8 @@ If you just run ``pecan serve``, passing ``config.py`` as an argument for configuration, it will bring up the development server and serve the app:: $ pecan serve config.py - Starting subprocess with file monitor Starting server in PID 000. - serving on 0.0.0.0:8080 view at http://127.0.0.1:8080 + serving on 0.0.0.0:8080, view at http://127.0.0.1:8080 The location for the config file and the argument itself are very flexible - @@ -122,7 +121,6 @@ This is how your default (generated) configuration file should look:: 'modules' : ['test_project'], 'static_root' : '%(confdir)s/public', 'template_path' : '%(confdir)s/test_project/templates', - 'reload': True, 'debug' : True, 'errors' : { '404' : '/error/404', @@ -138,11 +136,7 @@ This is how your default (generated) configuration file should look:: # pecan.conf -**Nothing** in the configuration file above is actually required for Pecan to -run. If you fail to provide some values, Pecan will fill in the missing things -it needs to run. - -You can also add your own configuration as dictionaries. +You can also add your own configuration as Python dictionaries. For more specific documentation on configuration, see the :ref:`Configuration` section. diff --git a/pecan/debug.py b/pecan/debug.py index a465c21..1d5de4b 100644 --- a/pecan/debug.py +++ b/pecan/debug.py @@ -85,6 +85,10 @@ debug_template_raw = ''' } ${styles} + + .highlight .n, .highlight .ne { + color: #FFF; + }