diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-07-25 01:28:09 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-07-25 01:28:09 +0000 |
| commit | ca53b25e6c27a613440a433aded6bfbcd9df4098 (patch) | |
| tree | 1d57af8aa31e10ed5031d81a1e97d6621a40096e /docs | |
| parent | 056cd0feac3b65bc1402d21e2958a9409e80b6d2 (diff) | |
| download | pyramid-ca53b25e6c27a613440a433aded6bfbcd9df4098.tar.gz pyramid-ca53b25e6c27a613440a433aded6bfbcd9df4098.tar.bz2 pyramid-ca53b25e6c27a613440a433aded6bfbcd9df4098.zip | |
Temporarily hide step4, tweaks.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/models.rst | 7 | ||||
| -rw-r--r-- | docs/tutorials/lxmlgraph/index.rst | 11 |
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 |
