From 27477816ba22b1f1edead0c4ec6efe5459b33e94 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 29 Dec 2009 05:09:56 +0000 Subject: Overlong lines. Fix table. --- docs/tutorials/bfgwiki/installation.rst | 20 ++++++++++++-------- .../src/authorization/tutorial/templates/edit.pt | 7 ++++--- .../bfgwiki/src/basiclayout/tutorial/run.py | 3 ++- .../bfgwiki/src/views/tutorial/templates/view.pt | 3 ++- docs/tutorials/bfgwiki/src/views/tutorial/tests.py | 5 +++-- 5 files changed, 23 insertions(+), 15 deletions(-) (limited to 'docs/tutorials/bfgwiki') diff --git a/docs/tutorials/bfgwiki/installation.rst b/docs/tutorials/bfgwiki/installation.rst index 7955e7c9c..e66b40d0a 100644 --- a/docs/tutorials/bfgwiki/installation.rst +++ b/docs/tutorials/bfgwiki/installation.rst @@ -51,12 +51,14 @@ Preparation, UNIX #. (Optional) Consider using ``source bin/activate`` to make your shell environment wired to use the virtualenv. -#. Use ``easy_install`` and point to the BFG "1.2" index to get - :mod:`repoze.bfg` and its direct dependencies installed: +#. Use ``easy_install`` and point to the :mod:`repoze.bfg` "current" + index to get :mod:`repoze.bfg` and its direct dependencies + installed: .. code-block:: bash - $ bin/easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg + $ bin/easy_install -i http://dist.repoze.org/bfg/current/simple \ + repoze.bfg #. Use ``easy_install`` to install ``docutils``, ``repoze.tm``, ``repoze.zodbconn``, ``repoze.who``, ``nose`` and ``coverage`` from @@ -104,13 +106,14 @@ Preparation, Windows #. (Optional) Consider using ``bin\activate.bat`` to make your shell environment wired to use the virtualenv. -#. Use ``easy_install`` and point to the BFG "1.2" index to get - :mod:`repoze.bfg` and its direct dependencies installed: +#. Use ``easy_install`` and point to the :mod:`repoze.bfg` "current" + index to get :mod:`repoze.bfg` and its direct dependencies + installed: .. code-block:: bat - c:\bigfntut> Scripts/easy_install -i http://dist.repoze.org/bfg/1.2/simple \ - repoze.bfg + c:\bigfntut> Scripts/easy_install -i \ + http://dist.repoze.org/bfg/current/simple repoze.bfg #. Use ``easy_install`` to install ``docutils``, ``repoze.tm``, ``repoze.zodbconn``, ``repoze.who``, ``nose`` and ``coverage`` from @@ -118,7 +121,8 @@ Preparation, Windows .. code-block:: bat - c:\bigfntut> Scripts\easy_install -i http://dist.repoze.org/bfgsite/simple \ + c:\bigfntut> Scripts\easy_install -i \ + http://dist.repoze.org/bfgsite/simple \ docutils repoze.tm repoze.zodbconn repoze.who nose coverage .. _making_a_project: diff --git a/docs/tutorials/bfgwiki/src/authorization/tutorial/templates/edit.pt b/docs/tutorials/bfgwiki/src/authorization/tutorial/templates/edit.pt index abe068352..12288d43d 100644 --- a/docs/tutorials/bfgwiki/src/authorization/tutorial/templates/edit.pt +++ b/docs/tutorials/bfgwiki/src/authorization/tutorial/templates/edit.pt @@ -17,9 +17,10 @@
Viewing Page Name Goes Here
- You can return to the FrontPage. - - Logout + You can return to the FrontPage. + Logout
diff --git a/docs/tutorials/bfgwiki/src/basiclayout/tutorial/run.py b/docs/tutorials/bfgwiki/src/basiclayout/tutorial/run.py index 7d4220717..15f5d84a4 100644 --- a/docs/tutorials/bfgwiki/src/basiclayout/tutorial/run.py +++ b/docs/tutorials/bfgwiki/src/basiclayout/tutorial/run.py @@ -6,7 +6,8 @@ from tutorial.models import appmaker def app(global_config, **settings): """ This function returns a ``repoze.bfg`` WSGI application. - It is usually called by the PasteDeploy framework during ``paster serve``. + It is usually called by the PasteDeploy framework during + ``paster serve``. """ zodb_uri = settings.get('zodb_uri') if zodb_uri is None: diff --git a/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt b/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt index 9035d6225..5b9a3da31 100644 --- a/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt +++ b/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt @@ -18,7 +18,8 @@
Viewing Page Name Goes Here
-You can return to the FrontPage. +You can return to the +FrontPage.
Page text goes here.
diff --git a/docs/tutorials/bfgwiki/src/views/tutorial/tests.py b/docs/tutorials/bfgwiki/src/views/tutorial/tests.py index bbf86633a..1ebdbf63e 100644 --- a/docs/tutorials/bfgwiki/src/views/tutorial/tests.py +++ b/docs/tutorials/bfgwiki/src/views/tutorial/tests.py @@ -86,8 +86,9 @@ class AddPageTests(unittest.TestCase): request.subpath = ['AnotherPage'] info = self._callFUT(context, request) self.assertEqual(info['page'].data,'') - self.assertEqual(info['save_url'], - model_url(context, request, 'add_page', 'AnotherPage')) + self.assertEqual( + info['save_url'], + model_url(context, request, 'add_page', 'AnotherPage')) def test_it_submitted(self): context = testing.DummyModel() -- cgit v1.2.3