Merge pull request #1653 from mhils/issue-1651

Fix README Syntax (#1651)
This commit is contained in:
Maximilian Hils 2016-10-22 18:06:26 -07:00 committed by GitHub
commit 37a05e2752
2 changed files with 8 additions and 5 deletions

View File

@ -43,7 +43,7 @@ Join our developer chat on Slack if you would like to hack on mitmproxy itself.
Installation Installation
------------ ------------
The installation instructions are `here <http://docs.mitmproxy.org/en/stable/install.html>`_. The installation instructions are `here <http://docs.mitmproxy.org/en/stable/install.html>`__.
If you want to contribute changes, keep on reading. If you want to contribute changes, keep on reading.
@ -52,7 +52,7 @@ Hacking
To get started hacking on mitmproxy, make sure you have Python_ 3.5.x or above with To get started hacking on mitmproxy, make sure you have Python_ 3.5.x or above with
virtualenv_ installed (you can find installation instructions for virtualenv virtualenv_ installed (you can find installation instructions for virtualenv
`here <http://virtualenv.readthedocs.org/en/latest/>`_). Then do the following: `here <http://virtualenv.readthedocs.org/en/latest/>`__). Then do the following:
.. code-block:: text .. code-block:: text
@ -188,6 +188,5 @@ PR checks will fail and block merging. We are using this command to check for st
.. _.env: https://github.com/mitmproxy/mitmproxy/blob/master/.env .. _.env: https://github.com/mitmproxy/mitmproxy/blob/master/.env
.. _Sphinx: http://sphinx-doc.org/ .. _Sphinx: http://sphinx-doc.org/
.. _sphinx-autobuild: https://pypi.python.org/pypi/sphinx-autobuild .. _sphinx-autobuild: https://pypi.python.org/pypi/sphinx-autobuild
.. _issue_tracker: https://github.com/mitmproxy/mitmproxy/issues
.. _PEP8: https://www.python.org/dev/peps/pep-0008 .. _PEP8: https://www.python.org/dev/peps/pep-0008
.. _Google Style Guide: https://google.github.io/styleguide/pyguide.html .. _Google Style Guide: https://google.github.io/styleguide/pyguide.html

View File

@ -18,5 +18,9 @@ changedir = docs
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:lint] [testenv:lint]
deps = flake8>=2.6.2, <3.1 deps =
commands = flake8 --jobs 8 --count mitmproxy pathod examples test flake8>=2.6.2, <3.1
rstcheck>=2.2, <3.0
commands =
flake8 --jobs 8 --count mitmproxy pathod examples test
rstcheck README.rst