jenkins-bot has submitted this change and it was merged.
Change subject: Fix rst syntax error
......................................................................
Fix rst syntax error
Fix syntax error in /README.rst by replacing line 46 with a line break.
Add "rstcheck" to "doc" testenv to check rst syntax error.
Change-Id: Id7332c0cb0aaf603724f0d0e7565e7d3268525f0
---
M README.rst
M tox.ini
2 files changed, 7 insertions(+), 3 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/README.rst b/README.rst
index 65ed818..3260bc4 100644
--- a/README.rst
+++ b/README.rst
@@ -43,7 +43,8 @@
page.text = page.text.replace('foo', 'bar')
page.save('Replacing "foo" with "bar"') # Saves the
page
-=======
+-------------------------------------------------------------------------------------------
+
For more documentation on pywikibot see our `docs
<https://doc.wikimedia.org/pywikibot/>`_.
diff --git a/tox.ini b/tox.ini
index 5514562..166e113 100644
--- a/tox.ini
+++ b/tox.ini
@@ -107,12 +107,15 @@
commands = {posargs}
[testenv:doc]
-changedir = docs
-commands = make html
+commands =
+ make html -C ./docs
+ findx -name "*.rst" -x -path ./docs : rstcheck --report severe
basepython = python3.4
deps =
-rrequests-requirements.txt
-rdocs/requirements-py3.txt
+ findx >= 0.9.9
+ rstcheck
[flake8]
# The following are intentionally ignored, possibly pending consensus
--
To view, visit
https://gerrit.wikimedia.org/r/314513
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id7332c0cb0aaf603724f0d0e7565e7d3268525f0
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Rafidaslam <rafidteam(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>