summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/models.rst7
-rw-r--r--docs/tutorials/lxmlgraph/index.rst11
2 files changed, 9 insertions, 9 deletions
diff --git a/docs/narr/models.rst b/docs/narr/models.rst
index 40d52ca99..045bcad52 100644
--- a/docs/narr/models.rst
+++ b/docs/narr/models.rst
@@ -60,7 +60,7 @@ Location-Aware Model Instances
by via ``__getitem__``.
If you choose not to manage the ``__name__`` and ``__parent__``
- attributes of your models "by hand", :mod:``repoze.bfg`` is willing
+ attributes of your models "by hand", :mod:`repoze.bfg`` is willing
to help you do this. If your "root" node claims it implements the
interface ``zope.location.interfaces.ILocation``, you don't need to
manage these attributes by hand. During traversal, if the root node
@@ -70,7 +70,6 @@ Location-Aware Model Instances
If you choose to make use of the dynamic assignment of ``__parent__``
and ``__name__``, the root node must have a ``__parent__`` and a
- ``__name__`` that are both None, and it must provide the
+ ``__name__`` that are both ``None``, and it must provide the
``ILocation`` interface. The easiest way to do this is to claim that
- the class representing the root node
- ``implements(ILocation)``.
+ the class representing the root node ``implements(ILocation)``.
diff --git a/docs/tutorials/lxmlgraph/index.rst b/docs/tutorials/lxmlgraph/index.rst
index f08076fc9..385968d42 100644
--- a/docs/tutorials/lxmlgraph/index.rst
+++ b/docs/tutorials/lxmlgraph/index.rst
@@ -1,8 +1,10 @@
-``lxmlgraph``: Publishing XML with ``repoze.bfg``
-=================================================
+``lxmlgraph``: Publishing An XML Tree with ``repoze.bfg``
+==========================================================
-Hierarchical websites are easy to develop with ``repoze.bfg``.
-``repoze.lxmlgraph`` is a demo application for ``repoze.bfg`` that
+Hierarchical websites are easy to develop with ``repoze.bfg``. That
+hierarchy doesn't need to be defined by any particular sort of graph
+or databsase system. To demonstrate this, we present
+``repoze.lxmlgraph``, a demo application for ``repoze.bfg`` that
describes publishing an XML document as a hierarchical website.
.. toctree::
@@ -12,4 +14,3 @@ describes publishing an XML document as a hierarchical website.
step01
step02
step03
- step04