summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-09-16 02:18:11 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-09-16 02:18:11 +0200
commitd749bf4c987c4ab90bd5f89326e7d4059e4f47b3 (patch)
tree69a4e468a29a39ec90e8f6618073bc4eba250a28 /docs/quick_tutorial
parentb0b28ede912c817a62a84b97c332e39eda02d166 (diff)
downloadpyramid-d749bf4c987c4ab90bd5f89326e7d4059e4f47b3.tar.gz
pyramid-d749bf4c987c4ab90bd5f89326e7d4059e4f47b3.tar.bz2
pyramid-d749bf4c987c4ab90bd5f89326e7d4059e4f47b3.zip
make example links clickable, for convenience
Diffstat (limited to 'docs/quick_tutorial')
-rw-r--r--docs/quick_tutorial/authentication.rst2
-rw-r--r--docs/quick_tutorial/authorization.rst4
-rw-r--r--docs/quick_tutorial/databases.rst2
-rw-r--r--docs/quick_tutorial/debugtoolbar.rst2
-rw-r--r--docs/quick_tutorial/forms.rst2
-rw-r--r--docs/quick_tutorial/hello_world.rst2
-rw-r--r--docs/quick_tutorial/ini.rst2
-rw-r--r--docs/quick_tutorial/jinja2.rst2
-rw-r--r--docs/quick_tutorial/json.rst2
-rw-r--r--docs/quick_tutorial/logging.rst4
-rw-r--r--docs/quick_tutorial/more_view_classes.rst4
-rw-r--r--docs/quick_tutorial/package.rst2
-rw-r--r--docs/quick_tutorial/request_response.rst8
-rw-r--r--docs/quick_tutorial/routing.rst4
-rw-r--r--docs/quick_tutorial/scaffolds.rst2
-rw-r--r--docs/quick_tutorial/sessions.rst2
-rw-r--r--docs/quick_tutorial/static_assets.rst4
-rw-r--r--docs/quick_tutorial/templating.rst2
-rw-r--r--docs/quick_tutorial/view_classes.rst2
-rw-r--r--docs/quick_tutorial/views.rst4
20 files changed, 29 insertions, 29 deletions
diff --git a/docs/quick_tutorial/authentication.rst b/docs/quick_tutorial/authentication.rst
index 76559cc40..6eaec63df 100644
--- a/docs/quick_tutorial/authentication.rst
+++ b/docs/quick_tutorial/authentication.rst
@@ -79,7 +79,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` in a browser.
+#. Open http://localhost:6543/ in a browser.
#. Click the "Log In" link.
diff --git a/docs/quick_tutorial/authorization.rst b/docs/quick_tutorial/authorization.rst
index 7833a9b77..ec85ce6ec 100644
--- a/docs/quick_tutorial/authorization.rst
+++ b/docs/quick_tutorial/authorization.rst
@@ -64,11 +64,11 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` in a browser.
+#. Open http://localhost:6543/ in a browser.
#. If you are still logged in, click the "Log Out" link.
-#. Visit ``http://localhost:6543/howdy`` in a browser. You should be
+#. Visit http://localhost:6543/howdy in a browser. You should be
asked to login.
Analysis
diff --git a/docs/quick_tutorial/databases.rst b/docs/quick_tutorial/databases.rst
index be7fbd029..e8786a046 100644
--- a/docs/quick_tutorial/databases.rst
+++ b/docs/quick_tutorial/databases.rst
@@ -126,7 +126,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` in a browser.
+#. Open http://localhost:6543/ in a browser.
Analysis
========
diff --git a/docs/quick_tutorial/debugtoolbar.rst b/docs/quick_tutorial/debugtoolbar.rst
index 470faae8d..a5dd14ba1 100644
--- a/docs/quick_tutorial/debugtoolbar.rst
+++ b/docs/quick_tutorial/debugtoolbar.rst
@@ -51,7 +51,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` in your browser. See the handy
+#. Open http://localhost:6543/ in your browser. See the handy
toolbar on the right.
Analysis
diff --git a/docs/quick_tutorial/forms.rst b/docs/quick_tutorial/forms.rst
index 43ae84240..fdf052b39 100644
--- a/docs/quick_tutorial/forms.rst
+++ b/docs/quick_tutorial/forms.rst
@@ -90,7 +90,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` in a browser.
+#. Open http://localhost:6543/ in a browser.
Analysis
diff --git a/docs/quick_tutorial/hello_world.rst b/docs/quick_tutorial/hello_world.rst
index 09982ca66..0898265ef 100644
--- a/docs/quick_tutorial/hello_world.rst
+++ b/docs/quick_tutorial/hello_world.rst
@@ -59,7 +59,7 @@ Steps
(venv)$ python app.py
-#. Open ``http://localhost:6543/`` in your browser.
+#. Open http://localhost:6543/ in your browser.
Analysis
========
diff --git a/docs/quick_tutorial/ini.rst b/docs/quick_tutorial/ini.rst
index eb43b00ed..f732d3653 100644
--- a/docs/quick_tutorial/ini.rst
+++ b/docs/quick_tutorial/ini.rst
@@ -74,7 +74,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/``.
+#. Open http://localhost:6543/.
Analysis
========
diff --git a/docs/quick_tutorial/jinja2.rst b/docs/quick_tutorial/jinja2.rst
index f31dbf491..8b5c86a81 100644
--- a/docs/quick_tutorial/jinja2.rst
+++ b/docs/quick_tutorial/jinja2.rst
@@ -62,7 +62,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` in your browser.
+#. Open http://localhost:6543/ in your browser.
Analysis
========
diff --git a/docs/quick_tutorial/json.rst b/docs/quick_tutorial/json.rst
index 2df76795c..2d5c93106 100644
--- a/docs/quick_tutorial/json.rst
+++ b/docs/quick_tutorial/json.rst
@@ -61,7 +61,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/howdy.json`` in your browser and you
+#. Open http://localhost:6543/howdy.json in your browser and you
will see the resulting JSON response.
Analysis
diff --git a/docs/quick_tutorial/logging.rst b/docs/quick_tutorial/logging.rst
index ec947d023..6b3a2eda4 100644
--- a/docs/quick_tutorial/logging.rst
+++ b/docs/quick_tutorial/logging.rst
@@ -52,7 +52,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` and ``http://localhost:6543/howdy``
+#. Open http://localhost:6543/ and http://localhost:6543/howdy
in your browser. Note, both in the console and in the debug
toolbar, the message that you logged.
@@ -67,7 +67,7 @@ logging for our Pyramid application:
In this, our ``tutorial`` Python package is setup as a logger
and configured to log messages at a ``DEBUG`` or higher level. When you
-visit ``http://localhost:6543`` your console will now show::
+visit http://localhost:6543 your console will now show::
2013-08-09 10:42:42,968 DEBUG [tutorial.views][MainThread] In home view
diff --git a/docs/quick_tutorial/more_view_classes.rst b/docs/quick_tutorial/more_view_classes.rst
index d9bcd43c0..0a06850ea 100644
--- a/docs/quick_tutorial/more_view_classes.rst
+++ b/docs/quick_tutorial/more_view_classes.rst
@@ -100,7 +100,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/howdy/jane/doe`` in your browser. Click
+#. Open http://localhost:6543/howdy/jane/doe in your browser. Click
the ``Save`` and ``Delete`` buttons and watch the output in the
console window.
@@ -110,7 +110,7 @@ Analysis
As you can see, the four views are logically grouped together.
Specifically:
-- We have a ``home`` view available at ``http://localhost:6543/`` with
+- We have a ``home`` view available at http://localhost:6543/ with
a clickable link to the ``hello`` view.
- The second view is returned when you go to ``/howdy/jane/doe``. This
diff --git a/docs/quick_tutorial/package.rst b/docs/quick_tutorial/package.rst
index 6e0f9d317..08cd02fc5 100644
--- a/docs/quick_tutorial/package.rst
+++ b/docs/quick_tutorial/package.rst
@@ -84,7 +84,7 @@ Steps
(venv)$ python tutorial/app.py
-#. Open ``http://localhost:6543/`` in your browser.
+#. Open http://localhost:6543/ in your browser.
Analysis
========
diff --git a/docs/quick_tutorial/request_response.rst b/docs/quick_tutorial/request_response.rst
index 2aebb5dc2..6a7e0f0c2 100644
--- a/docs/quick_tutorial/request_response.rst
+++ b/docs/quick_tutorial/request_response.rst
@@ -65,10 +65,10 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` in your browser. You will be
- redirected to ``http://localhost:6543/plain``
+#. Open http://localhost:6543/ in your browser. You will be
+ redirected to http://localhost:6543/plain
-#. Open ``http://localhost:6543/plain?name=alice`` in your browser.
+#. Open http://localhost:6543/plain?name=alice in your browser.
Analysis
========
@@ -79,7 +79,7 @@ leading to the second by an HTTP redirect. Pyramid can
special object from a view or raising a special exception.
In this Pyramid view, we get the URL being visited from ``request.url``.
-Also, if you visited ``http://localhost:6543/plain?name=alice``,
+Also, if you visited http://localhost:6543/plain?name=alice,
the name is included in the body of the response::
URL http://localhost:6543/plain?name=alice with name: alice
diff --git a/docs/quick_tutorial/routing.rst b/docs/quick_tutorial/routing.rst
index 95205e97a..86fc04570 100644
--- a/docs/quick_tutorial/routing.rst
+++ b/docs/quick_tutorial/routing.rst
@@ -82,7 +82,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/howdy/amy/smith`` in your browser.
+#. Open http://localhost:6543/howdy/amy/smith in your browser.
Analysis
========
@@ -112,7 +112,7 @@ Extra Credit
============
#. What happens if you to go the URL
- ``http://localhost:6543/howdy``? Is this the result that you
+ http://localhost:6543/howdy? Is this the result that you
expected?
.. seealso:: `Weird Stuff You Can Do With URL
diff --git a/docs/quick_tutorial/scaffolds.rst b/docs/quick_tutorial/scaffolds.rst
index 05347dd6b..7adfe8aa0 100644
--- a/docs/quick_tutorial/scaffolds.rst
+++ b/docs/quick_tutorial/scaffolds.rst
@@ -67,7 +67,7 @@ Steps
Starting server in PID 72213.
Starting HTTP server on http://0.0.0.0:6543
-#. Open ``http://localhost:6543/`` in your browser.
+#. Open http://localhost:6543/ in your browser.
Analysis
========
diff --git a/docs/quick_tutorial/sessions.rst b/docs/quick_tutorial/sessions.rst
index ef672891b..4dd60079d 100644
--- a/docs/quick_tutorial/sessions.rst
+++ b/docs/quick_tutorial/sessions.rst
@@ -64,7 +64,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` and ``http://localhost:6543/howdy``
+#. Open http://localhost:6543/ and http://localhost:6543/howdy
in your browser. As you reload and switch between those URLs, note
that the counter increases and is *not* specific to the URL.
diff --git a/docs/quick_tutorial/static_assets.rst b/docs/quick_tutorial/static_assets.rst
index b4e8f21e8..1d6afae18 100644
--- a/docs/quick_tutorial/static_assets.rst
+++ b/docs/quick_tutorial/static_assets.rst
@@ -53,13 +53,13 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` in your browser.
+#. Open http://localhost:6543/ in your browser.
Analysis
========
We changed our WSGI application to map requests under
-``http://localhost:6543/static/`` to files and directories inside a
+http://localhost:6543/static/ to files and directories inside a
``static`` directory inside our ``tutorial`` package. This directory
contained ``app.css``.
diff --git a/docs/quick_tutorial/templating.rst b/docs/quick_tutorial/templating.rst
index 225c54eb3..254629e57 100644
--- a/docs/quick_tutorial/templating.rst
+++ b/docs/quick_tutorial/templating.rst
@@ -79,7 +79,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` and ``http://localhost:6543/howdy``
+#. Open http://localhost:6543/ and http://localhost:6543/howdy
in your browser.
Analysis
diff --git a/docs/quick_tutorial/view_classes.rst b/docs/quick_tutorial/view_classes.rst
index 01efa58a6..22f2b2430 100644
--- a/docs/quick_tutorial/view_classes.rst
+++ b/docs/quick_tutorial/view_classes.rst
@@ -73,7 +73,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` and ``http://localhost:6543/howdy``
+#. Open http://localhost:6543/ and http://localhost:6543/howdy
in your browser.
Analysis
diff --git a/docs/quick_tutorial/views.rst b/docs/quick_tutorial/views.rst
index 39861bb02..0902c45dd 100644
--- a/docs/quick_tutorial/views.rst
+++ b/docs/quick_tutorial/views.rst
@@ -77,7 +77,7 @@ Steps
(venv)$ pserve development.ini --reload
-#. Open ``http://localhost:6543/`` and ``http://localhost:6543/howdy``
+#. Open http://localhost:6543/ and http://localhost:6543/howdy
in your browser.
Analysis
@@ -89,7 +89,7 @@ Our views, and their view registrations (via decorators) are now in a
module ``views.py`` which is scanned via ``config.scan('.views')``.
We have 2 views, each leading to the other. If you start at
-``http://localhost:6543/``, you get a response with a link to the next
+http://localhost:6543/, you get a response with a link to the next
view. The ``hello_view`` (available at the URL ``/howdy``) has a link
back to the first view.