summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-01-24 01:10:13 -0800
committerSteve Piercy <web@stevepiercy.com>2016-01-24 01:10:13 -0800
commit22f221099e785cb763e9659da029933ca9fc11e6 (patch)
tree95b71e504ea996fddef0410de5ca8b80d8040c71
parent3cdd3cedb9a120228f5bb2c0a9d53c0017b55cd9 (diff)
downloadpyramid-22f221099e785cb763e9659da029933ca9fc11e6.tar.gz
pyramid-22f221099e785cb763e9659da029933ca9fc11e6.tar.bz2
pyramid-22f221099e785cb763e9659da029933ca9fc11e6.zip
Use proper syntax names in code samples to allow highlighting and avoid errors. See https://github.com/sphinx-doc/sphinx/issues/2264
-rw-r--r--docs/narr/webob.rst2
-rw-r--r--docs/quick_tutorial/requirements.rst2
2 files changed, 2 insertions, 2 deletions
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_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 \