Skip to content

Commit

Permalink
[TASK] Remove "common pitfalls"
Browse files Browse the repository at this point in the history
Displaying wrong syntax in order to teach someone is generally not considered best practise. Also some of these are specific to sphinx or outdated spinx versions.
  • Loading branch information
linawolf committed Jan 30, 2024
1 parent 05dca88 commit 4ddc361
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 409 deletions.
1 change: 0 additions & 1 deletion Documentation/GeneralConventions/Format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ readthedocs::

* indenting is important
* new lines are important, for example before, after and between bullet lists
* more, see :ref:`rest-common-pitfalls`

* some people simply hate it

Expand Down
52 changes: 0 additions & 52 deletions Documentation/WritingReST/CommonPitfalls/Headers.rst

This file was deleted.

71 changes: 0 additions & 71 deletions Documentation/WritingReST/CommonPitfalls/Hyperlinks.rst

This file was deleted.

49 changes: 0 additions & 49 deletions Documentation/WritingReST/CommonPitfalls/Indents.rst

This file was deleted.

24 changes: 0 additions & 24 deletions Documentation/WritingReST/CommonPitfalls/Index.rst

This file was deleted.

45 changes: 0 additions & 45 deletions Documentation/WritingReST/CommonPitfalls/InlineStyle.rst

This file was deleted.

94 changes: 0 additions & 94 deletions Documentation/WritingReST/CommonPitfalls/Lists.rst

This file was deleted.

4 changes: 0 additions & 4 deletions Documentation/WritingReST/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ It is recommended to read (or at least browse through)
the :ref:`writing-rest-introduction` and the general
:ref:`format-rest-cgl` first.

Also read :ref:`rest-common-pitfalls` in order to avoid common
mistakes with the syntax.

You don't need to read the entire chapter, just lookup
the section that is relevant for what you plan to do.

Expand All @@ -48,6 +45,5 @@ http://openalea.gforge.inria.fr/doc/openalea/doc/_build/html/source/sphinx/rest_

Introduction
BasicRestSyntax
CommonPitfalls/Index
CheatSheet
Reference/Index
10 changes: 2 additions & 8 deletions Documentation/WritingReST/Reference/Content/BoldItalic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,8 @@ How it looks:

This is normal text. *This is italic text.*


Possible Errors
===============

.. important::

Make sure there is no space between the markup and the styled text,
see :ref:`common-pitfalls-inline-style`.
.. hint::
Make sure there is no space between the markup and the styled text.


Additional Information
Expand Down
Loading

0 comments on commit 4ddc361

Please sign in to comment.