Skip to content

Commit

Permalink
Merge pull request #3577 from Pylons/fix-3573-sphinx-3.0
Browse files Browse the repository at this point in the history
Fix Sphinx 3.0.x build
  • Loading branch information
digitalresistor committed May 4, 2020
2 parents 6b74395 + 1a575dc commit fb61956
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/api/request.rst
Expand Up @@ -14,7 +14,7 @@
model_url, resource_url, resource_path, set_property,
effective_principals, authenticated_userid,
unauthenticated_userid, has_permission,
invoke_exception_view, localizer
invoke_exception_view, localizer, response, session

.. attribute:: context

Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Expand Up @@ -379,9 +379,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 @@ -33,14 +33,14 @@ deps =
[testenv:docs]
whitelist_externals = make
commands =
make -C docs {posargs:doctest html epub} BUILDDIR={envdir} "SPHINXOPTS=-W -E"
make -C docs {posargs:doctest html epub} BUILDDIR={envdir} "SPHINXOPTS=-W -E -D suppress_warnings=ref.term"
extras =
docs

[testenv:pdf]
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 fb61956

Please sign in to comment.