@@ -447,7 +447,7 @@ line.
447447
448448 """Example library in Robot Framework format.
449449
450- - Formatting with *bold * and _italic_ .
450+ - Formatting with *bold * and _italics_ .
451451 - URLs like http://example.com are turned to links.
452452 - Custom links like [http://robotframework.org|Robot Framework] are supported.
453453 - Linking to `My Keyword ` works.
@@ -456,17 +456,16 @@ line.
456456 def my_keyword():
457457 """Nothing more to see here."""
458458
459- Creating table of contents automatically
460- ''''''''''''''''''''''''''''''''''''''''
459+ Creating table of contents
460+ ''''''''''''''''''''''''''
461461
462462With bigger libraries it is often useful to add a table of contents to
463463the library introduction. When using the Robot Framework documentation format,
464464this can be done automatically by adding a special `%TOC% ` marker into a line
465465on its own. The table of contents is created based on the top-level
466- `section titles `_ (e.g. `= Section = `) used in the introduction. In addition
466+ `section headers `_ (e.g. `= Section = `) used in the introduction. In addition
467467to them, the TOC also gets links to the `automatically created sections `__
468- for shortcuts and keywords as well as for importing and tags sections when
469- applicable.
468+ for keywords and importing.
470469
471470.. sourcecode :: python
472471
@@ -479,22 +478,20 @@ applicable.
479478
480479 %TOC%
481480
482- = Section title =
481+ = Section header =
483482
484- The top-level section titles are automatically added to the TOC.
483+ The top-level section headers are automatically added to the TOC.
485484
486485 = Second section =
487486
488487 == Sub section ==
489488
490- Sub section titles are not added to the TOC.
489+ Sub section headers are not added to the TOC.
491490 """
492491
493492 def my_keyword():
494493 """Nothing more to see here."""
495494
496- .. note :: Automatic TOC generation is a new feature in Robot Framework 3.2.
497-
498495__ `Linking to automatic sections `_
499496
500497HTML documentation syntax
@@ -513,7 +510,7 @@ on the command line like `--docformat HTML`.
513510
514511.. sourcecode :: python
515512
516- """Example library in HTML format.
513+ """Example library using HTML format.
517514
518515 <ul>
519516 <li>Formatting with <b>bold</b> and <i>italic</i>.
@@ -538,7 +535,7 @@ like :codesc:`\`My Keyword\``.
538535
539536.. sourcecode :: python
540537
541- """Example library in plain text format.
538+ """Example library using plain text format.
542539
543540 - Formatting is not supported.
544541 - URLs like http://example.com are turned to links.
@@ -567,12 +564,12 @@ languages that Pygments supports.
567564
568565.. sourcecode :: python
569566
570- """Example library in reStructuredText format.
567+ """Example library using reStructuredText format.
571568
572- - Formatting with **bold ** and *italic *.
569+ - Formatting with **bold ** and *italics *.
573570 - URLs like http://example.com are turned to links.
574571 - Custom links like reStructuredText __ are supported.
575- - Linking to \` My Keyword\` works but requires backtics to be escaped.
572+ - Linking to \` My Keyword\` works but requires backticks to be escaped.
576573
577574 __ http://docutils.sourceforge.net
578575
@@ -602,7 +599,7 @@ There is no error or warning if a link target is not found, but instead Libdoc
602599just formats the text in italics. Earlier this formatting was recommended to
603600be used when referring to keyword arguments, but that was problematic because
604601it could accidentally create internal links. Nowadays it is recommended to
605- use `inline code style <inline styles _>`__ with double backticks like
602+ use `inline code style <Robot inline styles _>`__ with double backticks like
606603:codesc: `\`\` argument\`\` ` instead. The old formatting of single backticks
607604may even be removed in the future in favor of giving an error when a link
608605target is not found.
@@ -674,11 +671,10 @@ __ `Keyword tags`_
674671Linking to custom sections
675672~~~~~~~~~~~~~~~~~~~~~~~~~~
676673
677- Robot Framework's `documentation syntax `_
678- supports custom `section titles `_, and the titles used in the
679- library or resource file introduction automatically create link
680- targets. The example below illustrates linking both to automatic and
681- custom sections:
674+ Robot Framework's `documentation syntax `_ supports custom `section headers `_,
675+ and the headers used in the library or resource file introduction automatically
676+ create link targets. The example below illustrates linking both to automatic
677+ and custom sections:
682678
683679.. sourcecode :: python
684680
@@ -729,7 +725,7 @@ __ kwargs-library_
729725__ `Keyword arguments `_
730726
731727When referring to arguments in keyword documentation, it is recommended to
732- use `inline code style <inline styles _>`__ like :codesc: `\`\` argument\`\` `.
728+ use `inline code style <Robot inline styles _>`__ like :codesc: `\`\` argument\`\` `.
733729
734730Automatically listing type documentation
735731~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments