doc: Edit defines.rst file
Edited defines.rst file for coherence and usability. Change-Id: If572eb9daa31d0bd9ef7cb1f22e6dca3ff8c578f Signed-off-by: Gerardo Aceves <gerardo.aceves@intel.com>
This commit is contained in:
parent
1bcebf2fd7
commit
54ffe82333
1 changed files with 3 additions and 5 deletions
|
@ -53,7 +53,7 @@ Correct:
|
|||
|
||||
.. literalinclude:: phil_commented.h
|
||||
:language: c
|
||||
:lines: 46-54
|
||||
:lines: 32-47
|
||||
:emphasize-lines: 2, 3, 5
|
||||
:linenos:
|
||||
|
||||
|
@ -62,11 +62,9 @@ ensures that the comment is appropriately linked to the code.
|
|||
|
||||
Incorrect:
|
||||
|
||||
.. literalinclude::
|
||||
../../../../samples/philosophers/microkernel/src/phil.h
|
||||
|
||||
.. literalinclude:: ../../../../samples/philosophers/microkernel/src/phil.h
|
||||
:language: c
|
||||
:lines: 24-28
|
||||
:lines: 25-34
|
||||
:emphasize-lines: 2, 5
|
||||
:linenos:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue