From 1ee470e3095f45522125a8074ffda7cf54dceaca Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Sat, 18 Aug 2018 12:12:36 -0700 Subject: Clean up code-blocks in qt/debugtoolbar --- docs/quick_tutorial/debugtoolbar.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs/quick_tutorial/debugtoolbar.rst') diff --git a/docs/quick_tutorial/debugtoolbar.rst b/docs/quick_tutorial/debugtoolbar.rst index 4402fcdbd..b49dd1f97 100644 --- a/docs/quick_tutorial/debugtoolbar.rst +++ b/docs/quick_tutorial/debugtoolbar.rst @@ -37,22 +37,22 @@ Steps .. code-block:: bash - $ cd ..; cp -r ini debugtoolbar; cd debugtoolbar - $ $VENV/bin/pip install -e . - $ $VENV/bin/pip install pyramid_debugtoolbar + cd ..; cp -r ini debugtoolbar; cd debugtoolbar + $VENV/bin/pip install -e . + $VENV/bin/pip install pyramid_debugtoolbar #. Our ``debugtoolbar/development.ini`` gets a configuration entry for ``pyramid.includes``: .. literalinclude:: debugtoolbar/development.ini - :language: ini - :linenos: + :language: ini + :linenos: #. Run the WSGI application with: .. code-block:: bash - $ $VENV/bin/pserve development.ini --reload + $VENV/bin/pserve development.ini --reload #. Open http://localhost:6543/ in your browser. See the handy toolbar on the right. @@ -100,15 +100,15 @@ Extra credit .. code-block:: python - def hello_world(request): - return Response('

Hello World!

') + def hello_world(request): + return Response('

Hello World!

') to: .. code-block:: python - def hello_world(request): - return xResponse('

Hello World!

') + def hello_world(request): + return xResponse('

Hello World!

') Save, and visit http://localhost:6543/ again. Notice the nice traceback display. On the lowest line, click the "screen" icon to the right, and try -- cgit v1.2.3