Skip to content

Commit a315355

Browse files
committed
minor #2027 Fixed doc issues (javiereguiluz)
This PR was merged into the 1.3.x branch. Discussion ---------- Fixed doc issues This PR tries to fix the errors reported by our doc build tool: ``` form_type.rst:8: ERROR: Error in "code-block" directive: 1 argument(s) required, 0 supplied. .. code-block:: class MessageFormType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('recipient', 'fos_user_username'); } } adding_invitation_registration.rst:: WARNING: document isn't included in any toctree canonicalizer.rst:: WARNING: document isn't included in any toctree command_line_tools.rst:: WARNING: document isn't included in any toctree configuration_reference.rst:: WARNING: document isn't included in any toctree custom_storage_layer.rst:: WARNING: document isn't included in any toctree doctrine.rst:: WARNING: document isn't included in any toctree emails.rst:: WARNING: document isn't included in any toctree form_type.rst:: WARNING: document isn't included in any toctree groups.rst:: WARNING: document isn't included in any toctree logging_by_username_or_email.rst:: WARNING: document isn't included in any toctree overriding_controllers.rst:: WARNING: document isn't included in any toctree overriding_forms.rst:: WARNING: document isn't included in any toctree overriding_templates.rst:: WARNING: document isn't included in any toctree overriding_validation.rst:: WARNING: document isn't included in any toctree user_manager.rst:: WARNING: document isn't included in any toctree ``` Commits ------- bb155b1 Fixed doc issues
2 parents 62fc397 + bb155b1 commit a315355

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

Resources/doc/form_type.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ The username Form Type
33

44
FOSUserBundle provides a convenient username form type, named ``fos_user_username``.
55
It appears as a text input, accepts usernames and convert them to a User
6-
instance.
7-
8-
.. code-block::
6+
instance::
97

108
class MessageFormType extends AbstractType
119
{

Resources/doc/index.rst

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -469,21 +469,24 @@ of the bundle.
469469

470470
The following documents are available:
471471

472-
- :doc:`/overriding_templates`
473-
- :doc:`/overriding_controllers`
474-
- :doc:`/overriding_forms`
475-
- :doc:`/user_manager`
476-
- :doc:`/command_line_tools`
477-
- :doc:`/logging_by_username_or_email`
478-
- :doc:`/form_type`
479-
- :doc:`/emails`
480-
- :doc:`/groups`
481-
- :doc:`/doctrine`
482-
- :doc:`/overriding_validation`
483-
- :doc:`/canonicalizer`
484-
- :doc:`/custom_storage_layer`
485-
- :doc:`/configuration_reference`
486-
- :doc:`/adding_invitation_registration`
472+
.. toctree::
473+
:maxdepth: 1
474+
475+
overriding_templates
476+
overriding_controllers
477+
overriding_forms
478+
user_manager
479+
command_line_tools
480+
logging_by_username_or_email
481+
form_type
482+
emails
483+
groups
484+
doctrine
485+
overriding_validation
486+
canonicalizer
487+
custom_storage_layer
488+
configuration_reference
489+
adding_invitation_registration
487490

488491
.. _security component documentation: https://symfony.com/doc/current/book/security.html
489492
.. _Symfony documentation: https://symfony.com/doc/current/book/translation.html

0 commit comments

Comments
 (0)