summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2017-06-10 23:20:52 -0700
committerSteve Piercy <web@stevepiercy.com>2017-06-10 23:20:52 -0700
commitbb079f4094da8e2dce39e4020f6126b9df533728 (patch)
treed1a1eab192adfd70b7bcb8b6614c67d8e403e244 /docs
parent2c0e3e334955574383fa73eaf932931199e13a8a (diff)
downloadpyramid-bb079f4094da8e2dce39e4020f6126b9df533728.tar.gz
pyramid-bb079f4094da8e2dce39e4020f6126b9df533728.tar.bz2
pyramid-bb079f4094da8e2dce39e4020f6126b9df533728.zip
update src files and synch emphasize-lines for myproject
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/myproject/setup.py1
-rw-r--r--docs/narr/testing.rst12
2 files changed, 6 insertions, 7 deletions
diff --git a/docs/narr/myproject/setup.py b/docs/narr/myproject/setup.py
index 00e377349..153a659ba 100644
--- a/docs/narr/myproject/setup.py
+++ b/docs/narr/myproject/setup.py
@@ -9,6 +9,7 @@ with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
requires = [
+ 'plaster_pastedeploy',
'pyramid',
'pyramid_jinja2',
'pyramid_debugtoolbar',
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst
index 406383bbd..f124ac562 100644
--- a/docs/narr/testing.rst
+++ b/docs/narr/testing.rst
@@ -376,18 +376,16 @@ following the ``requires`` block in the file ``myproject/setup.py``.
.. literalinclude:: myproject/setup.py
:language: python
- :linenos:
- :lines: 11-22
- :lineno-start: 11
- :emphasize-lines: 8-
+ :lines: 11-23
+ :lineno-match:
+ :emphasize-lines: 9-
Remember to change the dependency.
.. literalinclude:: myproject/setup.py
:language: python
- :linenos:
- :lines: 40-44
- :lineno-start: 40
+ :lines: 42-46
+ :lineno-match:
:emphasize-lines: 2-4
As always, whenever you change your dependencies, make sure to run the correct