diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-01-11 18:58:50 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-01-11 18:58:50 +0000 |
| commit | 9ec2d646eb23b88e4ef8119b0b46240081953daf (patch) | |
| tree | 80296b92edb8310bfb7699d165e92a1ea9e36256 /docs/tutorials/bfgwiki2/definingviews.rst | |
| parent | 96d63068ba033809ed73834e095f274800e4d4e8 (diff) | |
| download | pyramid-9ec2d646eb23b88e4ef8119b0b46240081953daf.tar.gz pyramid-9ec2d646eb23b88e4ef8119b0b46240081953daf.tar.bz2 pyramid-9ec2d646eb23b88e4ef8119b0b46240081953daf.zip | |
Merge of andrew-docs branch.
Diffstat (limited to 'docs/tutorials/bfgwiki2/definingviews.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki2/definingviews.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/tutorials/bfgwiki2/definingviews.rst b/docs/tutorials/bfgwiki2/definingviews.rst index db7dcfbe0..1d40d0051 100644 --- a/docs/tutorials/bfgwiki2/definingviews.rst +++ b/docs/tutorials/bfgwiki2/definingviews.rst @@ -29,6 +29,9 @@ invoked, matching this path, the matchdict dictionary attached to the request passed to the view would have a ``one`` key with the value ``foo`` and a ``two`` key with the value ``bar``. +The source code for this tutorial stage can be browsed at +`docs.repoze.org <http://docs.repoze.org/bfgwiki2-1.2/views>`_. + Declaring Dependencies in Our ``setup.py`` File =============================================== @@ -246,11 +249,10 @@ Static Resources Our templates name a single static resource named ``style.css``. We need to create this and place it in a file named ``style.css`` within -our package's ``templates/static`` directory: - -.. literalinclude:: src/views/tutorial/templates/static/style.css - :linenos: - :language: css +our package's ``templates/static`` directory. This file is a little +too long to replicate within the body of this guide, however it is +available `online +<http://docs.repoze.org/bfgwiki2-1.2/views/tutorial/templates/static/style.css>`_. This CSS file will be accessed via e.g. ``http://localhost:6543/static/style.css`` by virtue of the |
