From 598d68c14d68b20f3eff5569b0a7399670e279b9 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Fri, 15 Aug 2014 14:27:50 +0200 Subject: [PATCH] Check documents for doc8 issues and fix one doc8 issue We should really use doc8 in the doc8 repository. Change-Id: Ie37b053a0a57fcd053fdc23f4b9c8d2580f8087e --- doc/source/usage.rst | 2 +- test-requirements.txt | 1 + tox.ini | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/source/usage.rst b/doc/source/usage.rst index cfd5e53..0f8ec5d 100644 --- a/doc/source/usage.rst +++ b/doc/source/usage.rst @@ -4,4 +4,4 @@ Usage To use doc8 in a project:: - import doc8 + import doc8 diff --git a/test-requirements.txt b/test-requirements.txt index 64251c7..297c909 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,4 @@ +doc8 hacking>=0.9.2,<0.10 nose oslosphinx diff --git a/tox.ini b/tox.ini index c86627a..211c5d1 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,9 @@ downloadcache = ~/cache/pip commands = {posargs} [testenv:docs] -commands = python setup.py build_sphinx +commands = + doc8 -e .rst doc CONTRIBUTING.rst HACKING.rst README.rst + python setup.py build_sphinx [flake8] ignore = H302,F401