Change .. code:: to .. code-block::
Sphinx uses .. code-block:: directives to enable highlighting:
http://sphinx-doc.org/markup/code.html#directive-code-block
Use
for i in *.rst; do
sed -i 's/code::/code-block::/g' $i
done
to update these strings to enable proper highlighting.
Note: A have disabled the windows "bash" one, because the highlighting
is broken anyway...
This commit is contained in:
+2
-2
@@ -41,7 +41,7 @@ Building (Unix)
|
||||
- Install the prerequisites.
|
||||
- Open a terminal.
|
||||
|
||||
.. code:: bash
|
||||
.. code-block:: bash
|
||||
|
||||
# This should output "go version go1.3" or higher.
|
||||
$ go version
|
||||
@@ -69,7 +69,7 @@ Building (Windows)
|
||||
- Install the prerequisites.
|
||||
- Open a ``cmd`` Window.
|
||||
|
||||
.. code:: bash
|
||||
::
|
||||
|
||||
# This should output "go version go1.3" or higher.
|
||||
> go version
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ happening that should be fixed - requires investigation).
|
||||
Create a new, signed tag on master, with the version as comment, and
|
||||
push it:
|
||||
|
||||
.. code:: bash
|
||||
.. code-block:: bash
|
||||
|
||||
$ git tag -a -s -u release@syncthing.net -m v0.10.15 v0.10.15
|
||||
$ git push --tags
|
||||
|
||||
Reference in New Issue
Block a user