Skip to content

Commit

Permalink
Increase indent in definition lists
Browse files Browse the repository at this point in the history
Although the official docs [1] show examples of definition list with an
indent of 2 spaces, it seems that doctrine/rst-parser has been written
with an indent of 4 spaces in mind. [2]

This should ensure the definition lists are properly parsed as such,
right now they are parsed as paragraphs.

[1] https://docutils.sourceforge.io/docs/user/rst/quickref.html#definition-lists
[2] https://github.com/doctrine/rst-parser/blob/d97da75a8a2cab33453711f01b90303f5c3845db/lib/Parser/LineDataParser.php#L154
  • Loading branch information
greg0ire committed Sep 25, 2020
1 parent 6ff72e4 commit 9346bbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/en/explanation/implicit-indexes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ with names such as ``IDX_885DBAFAA76ED395``? In this document, we will
distinguish three types of indexes:

user-defined indexes
indexes you did ask for
indexes you did ask for

DBAL-defined indexes
indexes you did not ask for, created on your behalf by the DBAL
indexes you did not ask for, created on your behalf by the DBAL

RDBMS-defined indexes
indexes you did not ask for, created on your behalf by the RDBMS
indexes you did not ask for, created on your behalf by the RDBMS

RDBMS-defined indexes can be created by some database platforms when you
create a foreign key: they will create an index on the referencing
Expand Down

0 comments on commit 9346bbd

Please sign in to comment.