]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix a dangling doc reference, and add a doc check to tox and travis.
authorBen Darnell <ben@bendarnell.com>
Fri, 24 May 2013 02:57:27 +0000 (22:57 -0400)
committerBen Darnell <ben@bendarnell.com>
Fri, 24 May 2013 02:57:27 +0000 (22:57 -0400)
.travis.yml
tornado/web.py
tox.ini

index bbabb66b31b16262366e37ee3113dc657745207a..57b8fba4a8a30a65ba9fbc39555028513e67918a 100644 (file)
@@ -35,3 +35,4 @@ script:
     - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then python -m tornado.test.runtests --resolver=tornado.platform.twisted.TwistedResolver; fi
     - if [[ $TRAVIS_PYTHON_VERSION != pypy && $DEPS == true ]]; then python -m tornado.test.runtests --resolver=tornado.platform.caresresolver.CaresResolver; fi
     - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then python -m tornado.test.runtests --ioloop_time_monotonic; fi
+    - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DEPS == true ]]; then cd docs && sphinx-build -E -n -W -b html . $TMPDIR/sphinx-html; fi
index 1d5dea217956ec3cb79966788d4d06e5e758b0c4..e7015c6d6f47379697377d9581da4865dce1117b 100644 (file)
@@ -2034,8 +2034,9 @@ class StaticFileHandler(RequestHandler):
         This method may be overridden in subclasses (but note that it
         is a class method rather than an instance method).  Subclasses
         are only required to implement the signature
-        ``make_static_url(cls, settings, path)``; other keyword arguments
-        may be passed through `static_url` but are not standard.
+        ``make_static_url(cls, settings, path)``; other keyword
+        arguments may be passed through `~RequestHandler.static_url`
+        but are not standard.
 
         ``settings`` is the `Application.settings` dictionary.  ``path``
         is the static path being requested.  The url returned should be
diff --git a/tox.ini b/tox.ini
index fa4a46d55ffbf462920d47341bbd33b325846adc..d473055c81ce79e3fb26db7d9f77b9c69834b173 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -202,3 +202,10 @@ basepython = python3.2
 commands = python -O -m tornado.test.runtests {posargs:}
 deps =
      mock
+
+[testenv:py27-docs]
+basepython = python2.7
+changedir = docs
+deps = sphinx
+commands =
+    sphinx-build -q -E -n -W -b html . {envtmpdir}/html
\ No newline at end of file