Skip to content

Commit 30514a7

Browse files
committed
Fixed all syntax errors spotted by @xabbuh
1 parent 6915630 commit 30514a7

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

Resources/doc/1-setting_up_the_bundle.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ Finally, enable the bundle in the kernel:
4444
4545
That was it!
4646

47-
.. _``JMSSerializer``: https://github.com/schmittjoh/serializer
48-
.. _``JMSSerializerBundle``: https://github.com/schmittjoh/JMSSerializerBundle
49-
.. _``Symfony Serializer``: https://github.com/symfony/Serializer
47+
.. _`JMSSerializer`: https://github.com/schmittjoh/serializer
48+
.. _`JMSSerializerBundle`: https://github.com/schmittjoh/JMSSerializerBundle
49+
.. _`Symfony Serializer`: https://github.com/symfony/Serializer

Resources/doc/7-manual-route-definition.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,4 @@ Name Method Scheme Host Path
108108
=================== ====== ====== ==== ====================
109109
get_foo GET ANY ANY /users/foo.{_format}
110110
get_bar GET ANY ANY /users/bar.{_format}
111+
=================== ====== ====== ==== ====================

Resources/doc/annotations-reference.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,5 @@ Example syntax:
106106
* @Route("", condition="context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'")
107107
*/
108108
109-
.. _`@Route Symfony annotation`: http://symfony.com/doc/current/bundles/SensioFra
110-
meworkExtraBundle/annotations/routing.html
109+
.. _`@Route Symfony annotation`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/routing.html
111110
.. _`Routing Conditions`: http://symfony.com/doc/current/book/routing.html#book-routing-conditions

Resources/doc/index.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Installation
66

77
Installation is a quick (I promise!) one-step process:
88

9-
1. :doc:`Setting up the bundle <1-setting_up_the_bundle.md>`
9+
1. :doc:`Setting up the bundle <1-setting_up_the_bundle>`_
1010

1111
Bundle usage
1212
------------
@@ -18,19 +18,19 @@ tool to help you in the job of creating a REST API with Symfony2.
1818

1919
FOSRestBundle provides several tools to assist in building REST applications:
2020

21-
- :doc:`The view layer <2-the-view-layer.md>`
22-
- :doc:`Listener support <3-listener-support.md>`
23-
- :doc:`ExceptionController support <4-exception-controller-support.md>`
24-
- :doc:`Automatic route generation: single RESTful controller <5-automatic-route-generation_single-restful-controller.md>` (for simple resources)
25-
- :doc:`Automatic route generation: multiple RESTful controllers <6-automatic-route-generation_multiple-restful-controllers.md>` (for resources with child/subresources)
26-
- :doc:`Manual definition of routes <7-manual-route-definition.md>`
21+
- :doc:`The view layer <2-the-view-layer>`_
22+
- :doc:`Listener support <3-listener-support>`_
23+
- :doc:`ExceptionController support <4-exception-controller-support>`_
24+
- :doc:`Automatic route generation: single RESTful controller <5-automatic-route-generation_single-restful-controller>`_ (for simple resources)
25+
- :doc:`Automatic route generation: multiple RESTful controllers <6-automatic-route-generation_multiple-restful-controllers>`_ (for resources with child/subresources)
26+
- :doc:`Manual definition of routes <7-manual-route-definition>`_
2727

2828
Config reference
2929
----------------
3030

31-
- :doc:`Configuration reference <configuration-reference.md>` for a reference on
31+
- :doc:`Configuration reference <configuration-reference>`_ for a reference on
3232
the available configuration options
33-
- :doc:`Annotations reference <annotations-reference.md>` for a reference on
33+
- :doc:`Annotations reference <annotations-reference>`_ for a reference on
3434
the available configurations through annotations
3535

3636
Example applications

0 commit comments

Comments
 (0)