From 705628bdf3aaeaffb28cfe0673f7dadb8b0c4f5b Mon Sep 17 00:00:00 2001 From: Pete Date: Tue, 27 Mar 2012 15:02:55 -0700 Subject: [PATCH] Got rid of sphinx toc warning. Added reload.rst to the Cookbook toc and moved the title heading from the including templates into it. --- docs/source/commands.rst | 2 -- docs/source/development.rst | 2 -- docs/source/index.rst | 1 + docs/source/reload.rst | 3 +++ 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/commands.rst b/docs/source/commands.rst index cfcfbf7..00fbe2e 100644 --- a/docs/source/commands.rst +++ b/docs/source/commands.rst @@ -26,8 +26,6 @@ Serving your Pecan app is as simple as invoking the ``pecan serve`` command:: The server ``host`` and ``port`` in your configuration file can be changed as described in :ref:`server_configuration`. -Reloading Automatically as Files Change -+++++++++++++++++++++++++++++++++++++++ .. include:: reload.rst The Interactive Shell diff --git a/docs/source/development.rst b/docs/source/development.rst index 4ad5cfc..e146922 100644 --- a/docs/source/development.rst +++ b/docs/source/development.rst @@ -3,8 +3,6 @@ Developing Pecan Applications Locally ===================================== -Reloading Automatically as Files Change ---------------------------------------- .. include:: reload.rst Debugging Pecan Applications diff --git a/docs/source/index.rst b/docs/source/index.rst index 7b80851..9d1004c 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -56,6 +56,7 @@ Cookbook and Common Patterns databases.rst errors.rst deployment.rst + reload.rst API Documentation diff --git a/docs/source/reload.rst b/docs/source/reload.rst index 4898e57..933bf08 100644 --- a/docs/source/reload.rst +++ b/docs/source/reload.rst @@ -1,3 +1,6 @@ +Reloading Automatically as Files Change +--------------------------------------- + Pausing to restart your development server as you work can be interruptive, so ``pecan serve`` provides a ``--reload`` flag to make life easier.