diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-25 06:44:37 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-25 06:44:37 +0000 |
| commit | 0ac7b075f76b3989fe9eb763b73bab827c9deccd (patch) | |
| tree | 50c8d7d38837cb468af45ee90e34efec21bf3e73 /docs/narr/resources.rst | |
| parent | a0169ff21b5cd7446bf0289bffdb52de8dc61290 (diff) | |
| download | pyramid-0ac7b075f76b3989fe9eb763b73bab827c9deccd.tar.gz pyramid-0ac7b075f76b3989fe9eb763b73bab827c9deccd.tar.bz2 pyramid-0ac7b075f76b3989fe9eb763b73bab827c9deccd.zip | |
Fix syntax errors found via manuel, and add manuel-style markers to prevent
untestable code blocks from being tested.
Diffstat (limited to 'docs/narr/resources.rst')
| -rw-r--r-- | docs/narr/resources.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/narr/resources.rst b/docs/narr/resources.rst index ea16c814a..91e4aee92 100644 --- a/docs/narr/resources.rst +++ b/docs/narr/resources.rst @@ -40,6 +40,7 @@ example, the application might address the resource named ``templates/some_template.pt`` using that API within a ``views.py`` file inside a ``myapp`` package: +.. ignore-next-block .. code-block:: python :linenos: @@ -150,6 +151,7 @@ An individual call to :meth:`repoze.bfg.configuration.Configurator.override_resource` can override a single resource. For example: +.. ignore-next-block .. code-block:: python :linenos: @@ -165,6 +167,7 @@ optional. If they are not specified, the override attempts to resolve every lookup into a package from the directory of another package. For example: +.. ignore-next-block .. code-block:: python :linenos: @@ -173,6 +176,7 @@ For example: Individual subdirectories within a package can also be overridden: +.. ignore-next-block .. code-block:: python :linenos: @@ -203,6 +207,7 @@ construction file resides (or the ``package`` argument to the :class:`repoze.bfg.configuration.Configurator` class construction). For example: +.. ignore-next-block .. code-block:: python :linenos: |
