diff options
-rw-r--r-- | docs/source/development.rst | 17 | ||||
-rw-r--r-- | docs/source/errors.rst | 5 | ||||
-rw-r--r-- | docs/source/hooks.rst | 4 | ||||
-rw-r--r-- | docs/source/index.rst | 5 | ||||
-rw-r--r-- | docs/source/jsonify.rst | 4 | ||||
-rw-r--r-- | docs/source/logging.rst | 5 | ||||
-rw-r--r-- | pecan/__init__.py | 2 |
7 files changed, 36 insertions, 6 deletions
diff --git a/docs/source/development.rst b/docs/source/development.rst new file mode 100644 index 0000000..f34a3f2 --- /dev/null +++ b/docs/source/development.rst @@ -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 diff --git a/docs/source/errors.rst b/docs/source/errors.rst new file mode 100644 index 0000000..01f2a87 --- /dev/null +++ b/docs/source/errors.rst @@ -0,0 +1,5 @@ +.. _errors: + +Custom Error Documents +====================== +TODO diff --git a/docs/source/hooks.rst b/docs/source/hooks.rst index 08d8b7f..1c86d76 100644 --- a/docs/source/hooks.rst +++ b/docs/source/hooks.rst @@ -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. diff --git a/docs/source/index.rst b/docs/source/index.rst index ead4853..64ef9f3 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -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 diff --git a/docs/source/jsonify.rst b/docs/source/jsonify.rst index dc5657b..73a1144 100644 --- a/docs/source/jsonify.rst +++ b/docs/source/jsonify.rst @@ -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``. diff --git a/docs/source/logging.rst b/docs/source/logging.rst new file mode 100644 index 0000000..0eaa27c --- /dev/null +++ b/docs/source/logging.rst @@ -0,0 +1,5 @@ +.. _logging: + +Logging +======= +TODO diff --git a/pecan/__init__.py b/pecan/__init__.py index aeb0cd0..b6c7a8a 100644 --- a/pecan/__init__.py +++ b/pecan/__init__.py @@ -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' ] |