diff --git a/components/class_loader.rst b/components/class_loader.rst index 2a889b37104..5c6d74168bd 100644 --- a/components/class_loader.rst +++ b/components/class_loader.rst @@ -28,7 +28,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/ClassLoader); -* Install it via Composer (`symfony/class-loader` on Packagist). +* Install it via Composer (``symfony/class-loader`` on `Packagist`_). Usage ----- @@ -120,3 +120,4 @@ The order of the registrations is significant in this case. .. _standards: http://symfony.com/PSR0 .. _PEAR: http://pear.php.net/manual/en/standards.php +.. _Packagist: https://packagist.org/packages/symfony/class-loader \ No newline at end of file diff --git a/components/config/introduction.rst b/components/config/introduction.rst index d22553c6aa8..777f14d6a4c 100644 --- a/components/config/introduction.rst +++ b/components/config/introduction.rst @@ -18,11 +18,13 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/Config); -* Install it via Composer (`symfony/config` on Packagist). +* Install it via Composer (``symfony/config`` on `Packagist`_). Sections -------- * :doc:`/components/config/resources` * :doc:`/components/config/caching` -* :doc:`/components/config/definition` \ No newline at end of file +* :doc:`/components/config/definition` + +.. _Packagist: https://packagist.org/packages/symfony/config \ No newline at end of file diff --git a/components/console/introduction.rst b/components/console/introduction.rst index b734685bd37..a7412879a60 100755 --- a/components/console/introduction.rst +++ b/components/console/introduction.rst @@ -18,7 +18,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/Console); -* Install it via Composer (`symfony/console` on Packagist). +* Install it via Composer (``symfony/console`` on `Packagist`_). Creating a basic Command ------------------------ @@ -405,4 +405,6 @@ Learn More! ----------- * :doc:`/components/console/usage` -* :doc:`/components/console/single_command_tool` \ No newline at end of file +* :doc:`/components/console/single_command_tool` + +.. _Packagist: https://packagist.org/packages/symfony/console \ No newline at end of file diff --git a/components/css_selector.rst b/components/css_selector.rst index f47165a7c0d..93df6c84471 100644 --- a/components/css_selector.rst +++ b/components/css_selector.rst @@ -13,7 +13,7 @@ Installation You can install the component in several different ways: * Use the official Git repository (https://github.com/symfony/CssSelector); -* Install it via Composer (`symfony/css-selector` on Packagist). +* Install it via Composer (``symfony/css-selector`` on `Packagist`_). Usage ----- @@ -90,3 +90,5 @@ Several pseudo-classes are not yet supported: * ``*:first-of-type``, ``*:last-of-type``, ``*:nth-of-type``, ``*:nth-last-of-type``, ``*:only-of-type``. (These work with an element name (e.g. ``li:first-of-type``) but not with ``*``. + +.. _Packagist: https://packagist.org/packages/symfony/css-selector \ No newline at end of file diff --git a/components/dependency_injection/introduction.rst b/components/dependency_injection/introduction.rst index 67a7d3f4ba0..6b73dfd225c 100644 --- a/components/dependency_injection/introduction.rst +++ b/components/dependency_injection/introduction.rst @@ -17,7 +17,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/DependencyInjection); -* Install it via Composer (`symfony/dependency-injection` on Packagist). +* Install it via Composer (``symfony/dependency-injection`` on `Packagist`_). Basic Usage ----------- @@ -282,3 +282,4 @@ The ``newsletter_manager`` and ``mailer`` services can be set up using config fi $container->register('newsletter_manager', 'NewsletterManager') ->addMethodCall('setMailer', new Reference('mailer'); +.. _Packagist: https://packagist.org/packages/symfony/dependency-injection \ No newline at end of file diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 290fde86071..fac665deacd 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -13,7 +13,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/DomCrawler); -* Install it via Composer (`symfony/dom-crawler` on Packagist). +* Install it via Composer (``symfony/dom-crawler`` on `Packagist`_). Usage ----- @@ -318,4 +318,5 @@ directly:: // submit that form $crawler = $client->submit($form); -.. _`Goutte`: https://github.com/fabpot/goutte +.. _`Goutte`: https://github.com/fabpot/goutte +.. _Packagist: https://packagist.org/packages/symfony/dom-crawler \ No newline at end of file diff --git a/components/event_dispatcher/introduction.rst b/components/event_dispatcher/introduction.rst index 700c02f6b74..71ed26781dc 100644 --- a/components/event_dispatcher/introduction.rst +++ b/components/event_dispatcher/introduction.rst @@ -50,7 +50,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/EventDispatcher); -* Install it via Composer (`symfony/event-dispatcher` on Packagist). +* Install it via Composer (``symfony/event-dispatcher`` on `Packagist`_). Usage ----- @@ -490,3 +490,4 @@ be called. .. _`Symfony2 HttpKernel component`: https://github.com/symfony/HttpKernel .. _Closures: http://php.net/manual/en/functions.anonymous.php .. _PHP callable: http://www.php.net/manual/en/language.pseudo-types.php#language.types.callback +.. _Packagist: https://packagist.org/packages/symfony/event-dispatcher \ No newline at end of file diff --git a/components/finder.rst b/components/finder.rst index d6ebac20a39..e7452b93e4d 100644 --- a/components/finder.rst +++ b/components/finder.rst @@ -14,7 +14,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/Finder); -* Install it via Composer (`symfony/finder` on Packagist). +* Install it via Composer (``symfony/finder`` on `Packagist`_). Usage ----- @@ -219,8 +219,9 @@ it is called with the file as a :class:`Symfony\\Component\\Finder\\SplFileInfo` instance. The file is excluded from the result set if the Closure returns ``false``. -.. _strtotime: http://www.php.net/manual/en/datetime.formats.php +.. _strtotime: http://www.php.net/manual/en/datetime.formats.php .. _Iterator: http://www.php.net/manual/en/spl.iterators.php .. _protocol: http://www.php.net/manual/en/wrappers.php .. _Streams: http://www.php.net/streams .. _IEC standard: http://physics.nist.gov/cuu/Units/binary.html +.. _Packagist: https://packagist.org/packages/symfony/finder \ No newline at end of file diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index 9b76c6b22c6..fac2e3badd8 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -22,7 +22,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/HttpFoundation); -* Install it via Composer (`symfony/http-foundation` on Packagist). +* Install it via Composer (``symfony/http-foundation`` on `Packagist`_). Request ------- @@ -340,3 +340,5 @@ Session TBD -- This part has not been written yet as it will probably be refactored soon in Symfony 2.1. + +.. _Packagist: https://packagist.org/packages/symfony/http-foundation \ No newline at end of file diff --git a/components/locale.rst b/components/locale.rst index 8658cad0110..14217da6a38 100644 --- a/components/locale.rst +++ b/components/locale.rst @@ -28,7 +28,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/Locale); -* Install it via Composer (`symfony/locale` on Packagist). +* Install it via Composer (``symfony/locale`` on `Packagist`_). Usage ----- @@ -67,3 +67,4 @@ When using the ClassLoader component following code is sufficient to supplement $icuVersion = Locale::getIcuVersion(); $icuDataVersion = Locale::getIcuDataVersion(); +.. _Packagist: https://packagist.org/packages/symfony/locale \ No newline at end of file diff --git a/components/process.rst b/components/process.rst index 3793fa58c84..421569edb19 100644 --- a/components/process.rst +++ b/components/process.rst @@ -13,7 +13,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/Process); -* Install it via Composer (`symfony/process` on Packagist). +* Install it via Composer (``symfony/process`` on `Packagist`_). Usage ----- @@ -62,3 +62,5 @@ instead:: EOF ); $process->run(); + +.. _Packagist: https://packagist.org/packages/symfony/process \ No newline at end of file diff --git a/components/routing.rst b/components/routing.rst index 73dd7398a4c..013644718d2 100644 --- a/components/routing.rst +++ b/components/routing.rst @@ -14,7 +14,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/Routing); -* Install it via Composer (`symfony/routing` on Packagist) +* Install it via Composer (``symfony/routing`` on `Packagist`_). Usage ----- @@ -333,3 +333,5 @@ automatically in the background if you want to use it. A basic example of the If you use caching, the Routing component will compile new classes which are saved in the ``cache_dir``. This means your script must have write permissions for that location. + +.. _Packagist: https://packagist.org/packages/symfony/routing \ No newline at end of file diff --git a/components/serializer.rst b/components/serializer.rst index a98c8712f90..eb7f371c115 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -28,7 +28,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/Serializer); -* Install it via Composer (`symfony/serializer` on Packagist). +* Install it via Composer (``symfony/serializer`` on `Packagist`_). Usage ----- @@ -128,3 +128,4 @@ annotations (as well as YML, XML and PHP), integration with the Doctrine ORM, and handling of other complex cases (e.g. circular references). .. _`JMSSerializationBundle`: https://github.com/schmittjoh/JMSSerializerBundle +.. _Packagist: https://packagist.org/packages/symfony/serializer \ No newline at end of file diff --git a/components/templating.rst b/components/templating.rst index 4a5da4c54b9..b621345b7d4 100644 --- a/components/templating.rst +++ b/components/templating.rst @@ -19,7 +19,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/Templating); -* Install it via Composer (`symfony/templating` on Packagist). +* Install it via Composer (``symfony/templating`` on `Packagist`_). Usage ----- @@ -109,3 +109,5 @@ The Asset Helper ---------------- This documentation is still being written. + +.. _Packagist: https://packagist.org/packages/symfony/templating \ No newline at end of file diff --git a/components/yaml.rst b/components/yaml.rst index 6bc85fefa41..365740729f2 100644 --- a/components/yaml.rst +++ b/components/yaml.rst @@ -27,7 +27,7 @@ Installation You can install the component in many different ways: * Use the official Git repository (https://github.com/symfony/Yaml); -* Install it via Composer (`symfony/yaml` on Packagist). +* Install it via Composer (``symfony/yaml`` on `Packagist`_). Why? ---- @@ -472,3 +472,4 @@ Comments can be added in YAML by prefixing them with a hash mark (``#``): indented according to the current level of nesting in a collection. .. _YAML: http://yaml.org/ +.. _Packagist: https://packagist.org/packages/symfony/yaml \ No newline at end of file