More documentation tinkering.

This commit is contained in:
Ryan Petrello
2012-03-22 23:56:33 -04:00
parent 7403e46cb1
commit ee89e257d2
7 changed files with 36 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
.. _development:
The Pecan Development Environment
=================================
TODO: Special topics related to Pecan local development
Reloading Automatically as Files Change
---------------------------------------
TODO
Debugging Pecan Applications
----------------------------
TODO
Serving Static Files
--------------------
TODO

5
docs/source/errors.rst Normal file
View File

@@ -0,0 +1,5 @@
.. _errors:
Custom Error Documents
======================
TODO

View File

@@ -1,7 +1,7 @@
.. _hooks:
Hooks
=====
Pecan Hooks
===========
Pecan Hooks are a nice way to interact with the framework itself without having to
write WSGI middleware.

View File

@@ -38,9 +38,11 @@ Narrative Documentation
rest.rst
configuration.rst
secure_controller.rst
jsonify.rst
hooks.rst
jsonify.rst
commands.rst
development.rst
logging.rst
testing.rst
@@ -52,6 +54,7 @@ Cookbook and Common Patterns
forms.rst
sessions.rst
databases.rst
errors.rst
deployment.rst

View File

@@ -1,8 +1,8 @@
.. _jsonify:
JSON Support
============
JSON Serialization
==================
Pecan includes a simple, easy-to-use system for generating and serving
``JSON``. To get started, create a file in your project called
``json.py`` and import it in your project's ``app.py``.

5
docs/source/logging.rst Normal file
View File

@@ -0,0 +1,5 @@
.. _logging:
Logging
=======
TODO

View File

@@ -17,7 +17,7 @@ from configuration import _runtime_conf as conf
__all__ = [
'make_app', 'load_app', 'Pecan', 'request', 'response',
'override_template', 'expose', 'conf', 'set_config', 'render',
'abort', 'ValidationException', 'redirect'
'abort', 'redirect'
]