Skip to content

Commit

Permalink
Backport Pylons#3577
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed May 4, 2020
1 parent 485776a commit 333fccd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/api/request.rst
Expand Up @@ -14,7 +14,8 @@
model_url, resource_url, resource_path, set_property,
effective_principals, authenticated_userid,
unauthenticated_userid, has_permission,
invoke_exception_view
invoke_exception_view, localizer, response, session,
json_body

.. attribute:: context

Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Expand Up @@ -384,9 +384,9 @@ def app_role(role, rawtext, text, lineno, inliner, options={}, content=[]):

def setup(app):
app.add_role('app', app_role)
app.add_directive('frontmatter', FrontMatter, 1, (0, 0, 0))
app.add_directive('mainmatter', MainMatter, 1, (0, 0, 0))
app.add_directive('backmatter', BackMatter, 1, (0, 0, 0))
app.add_directive('frontmatter', FrontMatter)
app.add_directive('mainmatter', MainMatter)
app.add_directive('backmatter', BackMatter)
app.connect('autodoc-process-signature', resig)


Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -66,15 +66,15 @@ deps =
basepython = python3.5
whitelist_externals = make
commands =
make -C docs doctest html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E"
make -C docs doctest html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E -D suppress_warnings=ref.term"
extras =
docs

[testenv:pdf]
basepython = python3.5
whitelist_externals = make
commands =
make -C docs latexpdf BUILDDIR={envdir} "SPHINXOPTS=-W -E"
make -C docs latexpdf BUILDDIR={envdir} "SPHINXOPTS=-W -E -D suppress_warnings=ref.term"
extras =
docs

Expand Down

0 comments on commit 333fccd

Please sign in to comment.