diff options
author | Chang Bo Guo <guochbo@cn.ibm.com> | 2013-12-10 05:22:48 -0800 |
---|---|---|
committer | Chang Bo Guo <guochbo@cn.ibm.com> | 2013-12-10 21:56:20 -0800 |
commit | 5c9c54bc09f7f882491a651ed8c7e4dc265bf804 (patch) | |
tree | f86133001bab602ed7aa15b210748ad961413b61 /docs/source | |
parent | 4d372ecc8704af9353ca506aac96529fedd4f696 (diff) | |
download | pecan-5c9c54bc09f7f882491a651ed8c7e4dc265bf804.tar.gz |
Fix typos in documents and comments
Fix typos detected by toolkit misspellings.
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -
Change-Id: I3d7c06bcc3b5d0cdf82b8da98a7fba15e935cab6
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/deployment.rst | 4 | ||||
-rw-r--r-- | docs/source/quick_start.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/deployment.rst b/docs/source/deployment.rst index 96b1b3a..fceb32d 100644 --- a/docs/source/deployment.rst +++ b/docs/source/deployment.rst @@ -18,7 +18,7 @@ probably vary. Installing Pecan ---------------- -A few popular options are avaliable for installing Pecan in production +A few popular options are available for installing Pecan in production environments: * Using `setuptools/distribute @@ -249,7 +249,7 @@ application should be served. This is how the script (named ``run.py``) looks:: } return cherrypy.tree.mount(Root(), '/', config=configuration) - # Assuming your app has media on diferent paths, like 'css', and 'images' + # Assuming your app has media on different paths, like 'css', and 'images' application = wsgiserver.WSGIPathInfoDispatcher({ '/': simpleapp_wsgi_app, '/css': make_static_config('css'), diff --git a/docs/source/quick_start.rst b/docs/source/quick_start.rst index 2907885..28b14f3 100644 --- a/docs/source/quick_start.rst +++ b/docs/source/quick_start.rst @@ -230,7 +230,7 @@ now, let's examine the sample project, controller by controller:: def index(self): return dict() -The :func:`index` method is marked as *publically available* via the :func:`@expose` +The :func:`index` method is marked as *publicly available* via the :func:`@expose` decorator (which in turn uses the ``index.html`` template) at the root of the application (http://127.0.0.1:8080/), so any HTTP ``GET`` that hits the root of your application (``/``) will be routed to this method. |