From 2b929dc27eec7724d8a19b818fea81cca5b6c9ee Mon Sep 17 00:00:00 2001 From: jfbu Date: Sat, 18 Mar 2017 09:25:48 +0100 Subject: Fix syntax coloring in CONTRIBUTING.rst --- CONTRIBUTING.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'CONTRIBUTING.rst') diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 30dee2774..3ea46f674 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -1,3 +1,5 @@ +.. highlight:: console + Sphinx Developer's Guide ======================== @@ -127,10 +129,11 @@ These are the basic steps needed to start developing on Sphinx. cd doc make clean html latexpdf - * Run code style checks and type checks (type checks require mypy):: + * Run code style checks and type checks (type checks require ``mypy`` and are + currently done for commits to ``master`` only):: - make style-check - make type-check + make style-check + make type-check * Run the unit tests under different Python environments using :program:`tox`:: @@ -279,9 +282,7 @@ Debugging Tips `modified snowballcode generator `_. Generated `JSX `_ files are in `this repository `_. - You can get the resulting JavaScript files using the following command: - - .. code-block:: bash + You can get the resulting JavaScript files using the following command:: $ npm install $ node_modules/.bin/grunt build # -> dest/*.global.js -- cgit v1.2.3