summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-01-24 01:13:23 -0800
committerSteve Piercy <web@stevepiercy.com>2016-01-24 01:13:23 -0800
commitbd7c3a4f0365b564879eb21bec0b36ab373a8dad (patch)
tree95b71e504ea996fddef0410de5ca8b80d8040c71 /docs
parent2796def9af4a2a9814f3df08ef85b2eacae73135 (diff)
parent22f221099e785cb763e9659da029933ca9fc11e6 (diff)
downloadpyramid-bd7c3a4f0365b564879eb21bec0b36ab373a8dad.tar.gz
pyramid-bd7c3a4f0365b564879eb21bec0b36ab373a8dad.tar.bz2
pyramid-bd7c3a4f0365b564879eb21bec0b36ab373a8dad.zip
Merge pull request #2277 from stevepiercy/master
Bump sphinx to 1.3.5; revert comment syntax. Closes #2251.
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/project.rst4
-rw-r--r--docs/narr/webob.rst2
-rw-r--r--docs/quick_tour/requests/app.py2
-rw-r--r--docs/quick_tutorial/requirements.rst2
4 files changed, 5 insertions, 5 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst
index 5103bb6b8..923fde436 100644
--- a/docs/narr/project.rst
+++ b/docs/narr/project.rst
@@ -447,7 +447,7 @@ commenting out a line. For example, instead of:
:linenos:
[app:main]
- ...
+ # ... elided configuration
pyramid.includes =
pyramid_debugtoolbar
@@ -457,7 +457,7 @@ Put a hash mark at the beginning of the ``pyramid_debugtoolbar`` line:
:linenos:
[app:main]
- ...
+ # ... elided configuration
pyramid.includes =
# pyramid_debugtoolbar
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst
index f18cf1dfb..cfcf532bc 100644
--- a/docs/narr/webob.rst
+++ b/docs/narr/webob.rst
@@ -269,7 +269,7 @@ to a :app:`Pyramid` application:
When such a request reaches a view in your application, the
``request.json_body`` attribute will be available in the view callable body.
-.. code-block:: javascript
+.. code-block:: python
@view_config(renderer='string')
def aview(request):
diff --git a/docs/quick_tour/requests/app.py b/docs/quick_tour/requests/app.py
index 621b0693e..f55264cff 100644
--- a/docs/quick_tour/requests/app.py
+++ b/docs/quick_tour/requests/app.py
@@ -4,7 +4,7 @@ from pyramid.response import Response
def hello_world(request):
- """ Some parameters from a request such as /?name=lisa """
+ # Some parameters from a request such as /?name=lisa
url = request.url
name = request.params.get('name', 'No Name Provided')
diff --git a/docs/quick_tutorial/requirements.rst b/docs/quick_tutorial/requirements.rst
index 6d5a965cd..f855dcb55 100644
--- a/docs/quick_tutorial/requirements.rst
+++ b/docs/quick_tutorial/requirements.rst
@@ -109,7 +109,7 @@ For Linux, the commands to do so are as follows:
For Windows:
-.. code-block:: posh
+.. code-block:: ps1con
# Windows
c:\> cd \