summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2014-02-10 22:36:08 -0600
committerSteve Piercy <web@stevepiercy.com>2014-02-10 22:36:08 -0600
commitc444a314433ae55148eadd6481120bb875a954c1 (patch)
tree886f63ba4c3d37346330473aadab043e74bbc55b /docs/api
parent15c9fb86a26d05056bf744621596eb3e4e3f12f7 (diff)
parent2033eeb3602f330930585678aac926749b9c22f7 (diff)
downloadpyramid-c444a314433ae55148eadd6481120bb875a954c1.tar.gz
pyramid-c444a314433ae55148eadd6481120bb875a954c1.tar.bz2
pyramid-c444a314433ae55148eadd6481120bb875a954c1.zip
Merge pull request #1241 from stevepiercy/master
Garden Sphinx directives
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/registry.rst5
-rw-r--r--docs/api/request.rst13
2 files changed, 14 insertions, 4 deletions
diff --git a/docs/api/registry.rst b/docs/api/registry.rst
index 7736cf075..bab3e26ba 100644
--- a/docs/api/registry.rst
+++ b/docs/api/registry.rst
@@ -21,7 +21,10 @@
When a registry is set up (or created) by a :term:`Configurator`, the
registry will be decorated with an instance named ``introspector``
implementing the :class:`pyramid.interfaces.IIntrospector` interface.
- See also :attr:`pyramid.config.Configurator.introspector`.
+
+ .. seealso::
+
+ See also :attr:`pyramid.config.Configurator.introspector`.
When a registry is created "by hand", however, this attribute will not
exist until set up by a configurator.
diff --git a/docs/api/request.rst b/docs/api/request.rst
index b7604020e..343d0c022 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -250,8 +250,11 @@
``invoke_subrequest`` isn't *actually* a method of the Request object;
it's a callable added when the Pyramid router is invoked, or when a
subrequest is invoked. This means that it's not available for use on a
- request provided by e.g. the ``pshell`` environment. For more
- information, see :ref:`subrequest_chapter`.
+ request provided by e.g. the ``pshell`` environment.
+
+ .. seealso::
+
+ See also :ref:`subrequest_chapter`.
.. automethod:: has_permission
@@ -280,7 +283,11 @@
This property will return the JSON-decoded variant of the request
body. If the request body is not well-formed JSON, or there is no
body associated with this request, this property will raise an
- exception. See also :ref:`request_json_body`.
+ exception.
+
+ .. seealso::
+
+ See also :ref:`request_json_body`.
.. method:: set_property(callable, name=None, reify=False)