Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2017-03-18 11:25:48 +0300
committerjfbu <jfbu@free.fr>2017-03-18 11:25:48 +0300
commit2b929dc27eec7724d8a19b818fea81cca5b6c9ee (patch)
tree194dbdd7fd537734c742d027ebb26d283c614736 /CONTRIBUTING.rst
parenta9243276cc888976042516bea5dc8be86af71ba7 (diff)
Fix syntax coloring in CONTRIBUTING.rst
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r--CONTRIBUTING.rst13
1 files changed, 7 insertions, 6 deletions
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 <https://github.com/shibukawa/snowball>`_.
Generated `JSX <http://jsx.github.io/>`_ files are
in `this repository <https://github.com/shibukawa/snowball-stemmer.jsx>`_.
- 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