manual: fix sphinx code highlighting

This commit is contained in:
Tommaso Pecorella
2018-08-31 16:58:43 +02:00
parent dac342dff1
commit 0ce701b2c6
2 changed files with 37 additions and 41 deletions

View File

@@ -291,7 +291,7 @@ Installing other prerequisites
``cxxfilt`` is a new requirement, typically installed using ``pip``; e.g.
::
.. sourcecode:: bash
sudo pip install cxxfilt
@@ -300,7 +300,7 @@ See also the wiki for installation notes for your system.
Set up a ``bake`` build environment
###################################
Try the following commands::
Try the following commands:
.. sourcecode:: bash
@@ -314,20 +314,20 @@ Try the following commands::
Configure
#########
Perform a configuration at the bake level::
Perform a configuration at the bake level:
.. sourcecode:: bash
$ ./bake.py configure -e ns-3-dev -e pygccxml-1.9.1
The output of ``bake show`` should show something like this:
::
.. sourcecode:: bash
$ ./bake.py show
Should say::
Should say:
.. sourcecode:: text
@@ -344,7 +344,7 @@ Should say::
Download
########
Try the following command::
Try the following command:
.. sourcecode:: bash
@@ -366,9 +366,9 @@ Try the following command::
Build
#####
Try the following commands::
Try the following commands:
.. sourcecode:: text
.. sourcecode:: bash
$ mkdir -p build/lib
$ ./bake.py build
@@ -378,16 +378,12 @@ It should fail on the |ns3| bindings complilation.
The output of './waf configure' can be inspected to see if Python API scanning
support is enabled:
::
.. sourcecode:: text
Python API Scanning Support : enabled
It may say something like this, if the support is not active:
::
.. sourcecode:: text
Python API Scanning Support : not enabled (Missing 'pygccxml' Python module)
@@ -418,8 +414,6 @@ Rescanning a module
To re-scan a module:
::
.. sourcecode:: bash
$ cd source/ns-3-dev
@@ -427,7 +421,7 @@ To re-scan a module:
To re-scan all modules:
::
.. sourcecode:: bash
$ cd source/ns-3-dev
$ ./waf --apiscan=all