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

14 files changed

+20
-16
lines changed

doctrine/associations.rst

+3-3
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

+1-1
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

+2
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+3-3
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

+1
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

templating.rst

-1
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,6 @@ Learn more
966966
.. _`filters`: http://twig.sensiolabs.org/doc/filters/index.html
967967
.. _`functions`: http://twig.sensiolabs.org/doc/functions/index.html
968968
.. _`add your own extensions`: http://twig.sensiolabs.org/doc/advanced.html#creating-an-extension
969-
.. _`hinclude.js`: http://mnot.github.io/hinclude/
970969
.. _`with_context`: http://twig.sensiolabs.org/doc/functions/include.html
971970
.. _`include() function`: http://twig.sensiolabs.org/doc/functions/include.html
972971
.. _`{% include %} tag`: http://twig.sensiolabs.org/doc/tags/include.html

templating/embedding_controllers.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ Whenever you find that you need a variable or a piece of information that
9696
you don't have access to in a template, consider rendering a controller.
9797
Controllers are fast to execute and promote good code organization and reuse.
9898
Of course, like all controllers, they should ideally be "skinny", meaning
99-
that as much code as possible lives in reusable :doc:`services </book/service_container>`.
99+
that as much code as possible lives in reusable :doc:`services </service_container>`.

templating/hinclude.rst

+2
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,5 @@ Or you can also specify a string to display as the default content:
149149
'default' => 'Loading...',
150150
)
151151
) ?>
152+
153+
.. _`hinclude.js`: http://mnot.github.io/hinclude/

templating/overriding.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ subdirectory.
6464
.. note::
6565

6666
You can also override templates from within a bundle by using bundle
67-
inheritance. For more information, see :doc:`/cookbook/bundles/inheritance`.
67+
inheritance. For more information, see :doc:`/bundles/inheritance`.
6868

6969
.. _templating-overriding-core-templates:
7070

7171
.. index::
72-
single: Template; Overriding exception templates
72+
single: Template; Overriding exception templates
7373

7474
Overriding Core Templates
7575
~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)