Skip to content

Commit cd7a37c

Browse files
authored
Merge pull request #67 from sensiolabs/build_errors
Another batch of build error fixes
2 parents 91e1fc7 + 202d66c commit cd7a37c

File tree

14 files changed

+20
-16
lines changed

14 files changed

+20
-16
lines changed

doctrine/associations.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ In other words, the related ``Category`` object will be stored in the
207207
relationship by storing the category's id in the ``category_id`` column
208208
of the ``product`` table.
209209

210-
.. image:: /images/book/doctrine_image_2.png
211-
:align: center
210+
.. image:: /_images/doctrine/mapping_relations.png
211+
:align: center
212212

213213
The metadata above the ``Category`` entity's ``$products`` property is less
214214
complicated. It simply tells Doctrine to look at the ``Product.category``
@@ -289,7 +289,7 @@ Doctrine silently makes a second query to find the ``Category`` that's related
289289
to this ``Product``. It prepares the ``$category`` object and returns it to
290290
you.
291291

292-
.. image:: /images/book/doctrine_image_3.png
292+
.. image:: /_images/doctrine/mapping_relations_proxy.png
293293
:align: center
294294

295295
What's important is the fact that you have easy access to the product's related

form/form_customization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ just one line:
8383
8484
The remainder of this recipe will explain how every part of the form's markup
8585
can be modified at several different levels. For more information about form
86-
rendering in general, see :ref:`/form/rendering`.
86+
rendering in general, see :doc:`/form/rendering`.
8787

8888
.. _cookbook-form-customization-form-themes:
8989

form/form_themes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ In the above example, you used the ``form_theme`` helper (in Twig) to "import"
186186
the custom form fragments into *just* that form. You can also tell Symfony
187187
to import form customizations across your entire project.
188188

189+
.. _forms-theming-twig:
190+
189191
Twig
190192
~~~
191193

forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ That's it! If you re-submit the form with invalid data, you'll see the
400400
corresponding errors printed out with the form.
401401

402402
Validation is a very powerful feature of Symfony and has its own
403-
:doc:`dedicated chapter </book/validation>`.
403+
:doc:`dedicated chapter </validation>`.
404404

405405
.. _book-forms-html5-validation-disable:
406406

index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Getting Started
3434
.. toctree::
3535
:maxdepth: 1
3636

37-
installation
37+
setup
3838
http_fundamentals
3939
routing
4040
controller

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ resources
11571157

11581158
A list of all resources for form theming in PHP. This setting is not required
11591159
if you're using the Twig format for your templates, in that case refer to
1160-
:ref:`the form book chapter <book-forms-theming-twig>`.
1160+
:ref:`the form book chapter <forms-theming-twig>`.
11611161

11621162
Assume you have custom global form themes in
11631163
``src/WebsiteBundle/Resources/views/Form``, you can configure this like:

reference/forms/types/submit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ from the "Registration" are validated.
7373

7474
.. seealso::
7575

76-
You can read more about this in :ref:`the Form chapter </form/data_based_validation>`
76+
You can read more about this in :doc:`the Form chapter </form/data_based_validation>`
7777
of the book.
7878

7979
Form Variables

routing/method_parameters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Symfony provides you with a simple way of working around this limitation. By inc
8080
a ``_method`` parameter in the query string or parameters of an HTTP request, Symfony
8181
will use this as the method when matching routes. Forms automatically include a
8282
hidden field for this parameter if their submission method is not GET or POST.
83-
See :ref:`the related chapter in the forms documentation<book-forms-changing-action-and-method>`
83+
See :doc:`the related chapter in the forms documentation </form/action_method>`
8484
for more information.
8585

8686
.. tip::

security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,10 +1331,10 @@ Other Security Related Topics
13311331
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13321332

13331333
.. toctree::
1334-
:maxdepth:
1334+
:maxdepth: 1
13351335

1336-
password_encoding
1337-
security_checker
1336+
security/password_encoding
1337+
security/security_checker
13381338

13391339
.. _`frameworkextrabundle documentation`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
13401340
.. _`HWIOAuthBundle`: https://github.com/hwi/HWIOAuthBundle

setup.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ Learn More
354354
:glob:
355355

356356
install/*
357+
setup/*
357358

358359
.. _`Composer`: https://getcomposer.org/
359360
.. _`enable ACL support`: https://help.ubuntu.com/community/FilePermissionsACLs

0 commit comments

Comments
 (0)