From 1a363171876af3e19771cd732f62eb2c8bae85ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Gajda?= Date: Fri, 2 Nov 2012 11:42:06 +0100 Subject: [PATCH 1/2] Links to components on packagist --- components/class_loader.rst | 3 ++- components/config/introduction.rst | 6 ++++-- components/console/introduction.rst | 6 ++++-- components/css_selector.rst | 4 +++- components/dependency_injection/introduction.rst | 3 ++- components/dom_crawler.rst | 5 +++-- components/event_dispatcher/introduction.rst | 3 ++- components/finder.rst | 5 +++-- components/http_foundation/introduction.rst | 4 +++- components/locale.rst | 3 ++- components/process.rst | 4 +++- components/routing.rst | 4 +++- components/serializer.rst | 3 ++- components/templating.rst | 4 +++- components/yaml.rst | 3 ++- 15 files changed, 41 insertions(+), 19 deletions(-) diff --git a/components/class_loader.rst b/components/class_loader.rst index 2a889b37104..30ee0527396 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..ec1859f841b 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..3c39b3623d6 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..5755e41ffe2 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..d35d02b84e9 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..3ad66ac22e5 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..e472a12cdd7 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..bf6d6dabb1d 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..9940545680d 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..5271de02206 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..ce6977243e7 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..f7ae059ab55 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..bfcd301dfd6 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..fedb715e76d 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..554a8968057 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 From 614aae047148827f8c7266881837ec537e72041e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Gajda?= Date: Fri, 2 Nov 2012 16:15:19 +0100 Subject: [PATCH 2/2] Fix: the names of the packages --- components/class_loader.rst | 2 +- components/config/introduction.rst | 2 +- components/console/introduction.rst | 2 +- components/css_selector.rst | 2 +- components/dependency_injection/introduction.rst | 2 +- components/dom_crawler.rst | 2 +- components/event_dispatcher/introduction.rst | 2 +- components/finder.rst | 2 +- components/http_foundation/introduction.rst | 2 +- components/locale.rst | 2 +- components/process.rst | 2 +- components/routing.rst | 2 +- components/serializer.rst | 2 +- components/templating.rst | 2 +- components/yaml.rst | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/components/class_loader.rst b/components/class_loader.rst index 30ee0527396..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 ----- diff --git a/components/config/introduction.rst b/components/config/introduction.rst index ec1859f841b..777f14d6a4c 100644 --- a/components/config/introduction.rst +++ b/components/config/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/Config); -* Install it via Composer (`symfony/config` on `Packagist`_). +* Install it via Composer (``symfony/config`` on `Packagist`_). Sections -------- diff --git a/components/console/introduction.rst b/components/console/introduction.rst index 3c39b3623d6..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 ------------------------ diff --git a/components/css_selector.rst b/components/css_selector.rst index 5755e41ffe2..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 ----- diff --git a/components/dependency_injection/introduction.rst b/components/dependency_injection/introduction.rst index d35d02b84e9..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 ----------- diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 3ad66ac22e5..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 ----- diff --git a/components/event_dispatcher/introduction.rst b/components/event_dispatcher/introduction.rst index e472a12cdd7..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 ----- diff --git a/components/finder.rst b/components/finder.rst index bf6d6dabb1d..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 ----- diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index 9940545680d..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 ------- diff --git a/components/locale.rst b/components/locale.rst index 5271de02206..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 ----- diff --git a/components/process.rst b/components/process.rst index ce6977243e7..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 ----- diff --git a/components/routing.rst b/components/routing.rst index f7ae059ab55..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 ----- diff --git a/components/serializer.rst b/components/serializer.rst index bfcd301dfd6..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 ----- diff --git a/components/templating.rst b/components/templating.rst index fedb715e76d..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 ----- diff --git a/components/yaml.rst b/components/yaml.rst index 554a8968057..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? ----