Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit f8febdb

Browse files
committed
update links, fix wording from Symfony2 to Symfony
1 parent 8e4cbdf commit f8febdb

36 files changed

+110
-137
lines changed

CONTRIBUTING.md

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
Contributing
22
------------
33

4-
Symfony2 CMF is an open source, community-driven project. We follow the same
5-
guidelines as core Symfony2. If you'd like to contribute, please read the
4+
Symfony CMF is an open source, community-driven project. We follow the same
5+
guidelines as core Symfony. If you'd like to contribute, please read the
66
[Contributing Documentation][1] part of the documentation. If you're submitting a pull
7-
request, please make yourself comfortable with [the format][2], follow the
8-
guidelines in the [Creating a Pull Request][3] section and use the [Pull Request
9-
Format][4].
10-
11-
> :warning: **NOTE**
12-
> If you are documenting new features you should base your PR on the
13-
> **dev branch**, *not* the master branch.
7+
request, please make yourself comfortable with [the documentation format][2].
8+
The [Symfony documentation guide][3] can be helpful for you - just replace the
9+
repository names in the examples.
1410

1511
[1]: https://symfony.com/doc/current/contributing/documentation/index.html
1612
[2]: https://symfony.com/doc/current/contributing/documentation/format.html
17-
[3]: https://symfony.com/doc/current/contributing/documentation/overview.html#creating-a-pull-request
18-
[4]: https://symfony.com/doc/current/contributing/documentation/overview.html#pull-request-format
13+
[3]: https://symfony.com/doc/current/contributing/documentation/overview.html

bundles/block/cache.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ When using the Esi, Ssi or Js cache adapters, the settings passed here are remem
257257
.. code-block:: jinja
258258
259259
{{ sonata_block_render({ 'name': 'rssBlock' }, {
260-
'title': 'Symfony2 CMF news',
260+
'title': 'Symfony CMF news',
261261
'url': 'http://cmf.symfony.com/news.rss',
262262
'maxItems': 2
263263
}) }}
@@ -267,7 +267,7 @@ When using the Esi, Ssi or Js cache adapters, the settings passed here are remem
267267
<?php echo $view['blocks']->render(array(
268268
'name' => 'rssBlock',
269269
), array(
270-
'title' => 'Symfony2 CMF news',
270+
'title' => 'Symfony CMF news',
271271
'url' => 'http://cmf.symfony.com/news.rss',
272272
'maxItems' => 2,
273273
)) ?>

bundles/block/create_your_own_blocks.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,14 @@ Example of how settings can be overwritten through a template helper:
236236
.. code-block:: jinja
237237
238238
{{ sonata_block_render({'name': 'rssBlock'}, {
239-
'title': 'Symfony2 CMF news',
239+
'title': 'Symfony CMF news',
240240
'url': 'http://cmf.symfony.com/news.rss'
241241
}) }}
242242
243243
.. code-block:: html+php
244244

245245
<?php $view['blocks']->render(array('name' => 'rssBlock'), array(
246-
'title' => 'Symfony2 CMF news',
246+
'title' => 'Symfony CMF news',
247247
'url' => 'http://cmf.symfony.com/news.rss',
248248
)) ?>
249249

bundles/block/types.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Create a document::
123123
$myRssBlock = new RssBlock();
124124
$myRssBlock->setParentDocument($parentPage);
125125
$myRssBlock->setName('rssBlock');
126-
$myRssBlock->setSetting('title', 'Symfony2 CMF news');
126+
$myRssBlock->setSetting('title', 'Symfony CMF news');
127127
$myRssBlock->setSetting('url', 'http://cmf.symfony.com/news.rss');
128128
$myRssBlock->setSetting('maxItems', 3);
129129

bundles/content/exposing_content_via_rest.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ for details.
146146

147147
.. _`FOSRestBundle`: https://github.com/FriendsOfSymfony/FOSRestBundle
148148
.. _`JMSSerializerBundle`: https://github.com/schmittjoh/JMSSerializerBundle
149-
.. _`FOSRestBundle view layer`: https://symfony.com/doc/master/bundles/FOSRestBundle/2-the-view-layer.html
149+
.. _`FOSRestBundle view layer`: https://symfony.com/doc/current/bundles/FOSRestBundle/2-the-view-layer.html
150150
.. _Composer: https://getcomposer.org/
151151
.. _`documentation of the JMS serializer`: http://jmsyst.com/libs/#serializer
152152
.. _`default response format changed between 1.0 and 1.1 of the ContentBundle`: https://github.com/symfony-cmf/content-bundle/pull/91

bundles/core/publish_workflow.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Publish Workflow
55
----------------
66

77
The publish workflow system allows to control what content is available on the
8-
site. This is similar to the `Symfony2 Security component`_. But contrary to the
8+
site. This is similar to the `Symfony Security component`_. But contrary to the
99
security context, the publish check can be executed even when no firewall is in
10-
place and the security context thus has no token (see `Symfony2 Authorization`_).
10+
place and the security context thus has no token (see `Symfony Authorization`_).
1111

1212
The publish workflow is also tied into the security workflow: The CoreBundle
1313
registers a security voter that forwards security checks to the publish
@@ -371,6 +371,6 @@ There is a :doc:`Sonata admin extension <../sonata_phpcr_admin_integration/core>
371371
available to edit workflow information on any document implementing the
372372
interface.
373373

374-
.. _`Symfony2 security component`: http://symfony.com/doc/current/components/security.html
375-
.. _`Symfony2 Authorization`: http://symfony.com/doc/current/components/security/authorization.html
374+
.. _`Symfony security component`: http://symfony.com/doc/current/components/security.html
375+
.. _`Symfony Authorization`: http://symfony.com/doc/current/components/security/authorization.html
376376
.. _`ACL checks`: http://symfony.com/doc/current/security/acl.html

bundles/create/introduction.rst

+4-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CreateBundle
77

88
The CreateBundle provides modern front-end in-place editing for web
99
applications. It integrates create.js and the CreatePHP library into
10-
Symfony2.
10+
Symfony.
1111

1212
.. include:: ../_partials/unmaintained.rst.inc
1313

@@ -307,7 +307,7 @@ JavaScript loader check if the current user is granted the configured
307307
.. tip::
308308

309309
In order to have security in place, you need to configure a
310-
"Symfony2 firewall". Read more in the `Symfony2 security chapter`_.
310+
"Symfony firewall". Read more in the `Symfony security chapter`_.
311311
If you do not do that, create.js will not be loaded and editing
312312
will be disabled.
313313

@@ -363,8 +363,7 @@ after those to be able to customize as needed) with:
363363
Make sure Assetic is rewriting the paths in your CSS files properly or you
364364
might not see icon images.
365365

366-
In your page bottom area, load the JavaScript files. If you are using Symfony 2.2 or
367-
higher, the method reads:
366+
In your page bottom area, load the JavaScript files:
368367

369368
.. configuration-block::
370369

@@ -666,4 +665,4 @@ Read On
666665
.. _`symfony-cmf/create-bundle`: https://packagist.org/packages/symfony-cmf/create-bundle
667666
.. _`RDF`: https://en.wikipedia.org/wiki/Resource_Description_Framework
668667
.. _`RDFa`: https://en.wikipedia.org/wiki/RDFa
669-
.. _`Symfony2 security chapter`: https://symfony.com/doc/current/book/security.html
668+
.. _`Symfony security chapter`: https://symfony.com/doc/current/security.html

bundles/menu/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,5 @@ Read On
180180
.. _`KnpMenu`: https://github.com/knplabs/KnpMenu
181181
.. _`KnpMenuBundle`: https://github.com/knplabs/KnpMenuBundle
182182
.. _`with composer`: https://getcomposer.org
183-
.. _`rendering menus`: https://symfony.com/doc/master/bundles/KnpMenuBundle/index.html#rendering-menus
183+
.. _`rendering menus`: https://symfony.com/doc/current/bundles/KnpMenuBundle/index.html#rendering-menus
184184
.. _`symfony-cmf/menu-bundle`: https://packagist.org/packages/symfony-cmf/menu-bundle

bundles/menu/menu_documents.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ The standard menu node implements ``PublishTimePeriodInterface`` and
123123
The ``MenuContentVoter`` decides that a menu node is not published if the
124124
content it is pointing to is not published.
125125

126-
.. _`Creating Menus: The Basics`: https://github.com/KnpLabs/KnpMenu/blob/1.1.x/doc/01-Basic-Menus.markdown
126+
.. _`Creating Menus: The Basics`: https://github.com/KnpLabs/KnpMenu/blob/master/doc/01-Basic-Menus.markdown

bundles/menu/menu_provider.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ are not located under the menu basepath.
3333
You can also write your completely custom provider and register it with the
3434
KnpMenu as explained in the `KnpMenuBundle custom provider documentation`_.
3535

36-
.. _`KnpMenuBundle custom provider documentation`: https://symfony.com/doc/master/bundles/KnpMenuBundle/custom_provider.html
36+
.. _`KnpMenuBundle custom provider documentation`: https://symfony.com/doc/current/bundles/KnpMenuBundle/custom_provider.html

bundles/phpcr_odm/configuration.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ supported by Doctrine.
353353

354354
Specify the Doctrine DBAL connection name to use if you don't want to use the
355355
default connection. The name must be one of the names of the ``doctrine.dbal``
356-
section of your Doctrine configuration, see the `Symfony2 Doctrine documentation`_.
356+
section of your Doctrine configuration, see the `Symfony Doctrine documentation`_.
357357

358358
``jackalope.disable_transactions``
359359
""""""""""""""""""""""""""""""""""
@@ -372,7 +372,7 @@ Logging and Profiling
372372
~~~~~~~~~~~~~~~~~~~~~
373373

374374
When using any of the Jackalope PHPCR implementations, you can activate logging
375-
to log to the symfony log, or profiling to show information in the Symfony2
375+
to log to the symfony log, or profiling to show information in the Symfony
376376
debug toolbar:
377377

378378
.. configuration-block::
@@ -659,7 +659,7 @@ Absolute path to the jackrabbit jar file. If this is set, you can use the
659659

660660
For tuning the output of the ``doctrine:phpcr:dump`` command.
661661

662-
.. _`Symfony2 Doctrine documentation`: https://symfony.com/doc/current/book/doctrine.html
662+
.. _`Symfony Doctrine documentation`: https://symfony.com/doc/current/doctrine.html
663663
.. _`last modified listener cookbook entry`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/cookbook/last-modified.html
664664
.. _`Doctrine ORM`: https://symfony.com/doc/current/reference/configuration/doctrine.html#caching-drivers
665665
.. _`curl-setopt`: http://php.net/manual/de/function.curl-setopt.php

bundles/phpcr_odm/events.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ You can find more information and examples of the doctrine event system
9696
in "`How to Register Event Listeners and Subscribers`_" of the core documentation.
9797

9898
.. _`Doctrine PHPCR-ODM event system documentation`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/events.html
99-
.. _`Symfony event subscriber`: https://symfony.com/doc/master/components/event_dispatcher/introduction.html#using-event-subscribers
100-
.. _`Doctrine ORM events`: https://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html
101-
.. _`How to Register Event Listeners and Subscribers`: https://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html
99+
.. _`Symfony event subscriber`: https://symfony.com/doc/current/components/event_dispatcher/introduction.html#using-event-subscribers
100+
.. _`Doctrine ORM events`: https://symfony.com/doc/current/doctrine/event_listeners_subscribers.html
101+
.. _`How to Register Event Listeners and Subscribers`: https://symfony.com/doc/current/doctrine/event_listeners_subscribers.html

bundles/phpcr_odm/fixtures_initializers.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Fixture Loading
283283

284284
To use the ``doctrine:phpcr:fixtures:load`` command, you additionally need to
285285
install the `DoctrineFixturesBundle`_ which brings the
286-
`Doctrine data-fixtures`_ into Symfony2.
286+
`Doctrine data-fixtures`_ into Symfony.
287287

288288
Fixtures work the same way they work for Doctrine ORM. You write fixture
289289
classes implementing ``Doctrine\Common\DataFixtures\FixtureInterface``. If you

bundles/phpcr_odm/forms.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ The minimal code required to use this type looks as follows::
101101

102102
When building an admin interface with the SonataDoctrinePHPCRAdminBundle_
103103
there is also the ``sonata_type_model``, which is more powerful, allowing to
104-
add to the referenced documents on the fly. Unfortunately it is
105-
`currently broken`_.
104+
add to the referenced documents on the fly.
106105

107106
phpcr_reference
108107
~~~~~~~~~~~~~~~
@@ -186,4 +185,3 @@ correct.
186185
.. _BurgovKeyValueFormBundle: https://github.com/Burgov/KeyValueFormBundle
187186
.. _`Symfony documentation on the entity form type`: https://symfony.com/doc/current/reference/forms/types/entity.html
188187
.. _SonataDoctrinePHPCRAdminBundle: https://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/index.html
189-
.. _`currently broken`: https://github.com/sonata-project/SonataDoctrineORMAdminBundle/issues/145

bundles/phpcr_odm/introduction.rst

+4-15
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Out of the box, this bundle supports the following PHPCR implementations:
2424

2525
.. tip::
2626

27-
This reference only explains the Symfony2 integration of PHPCR and
27+
This reference only explains the Symfony integration of PHPCR and
2828
PHPCR-ODM. To learn how to use PHPCR, refer to `the PHPCR website`_ and
2929
for Doctrine PHPCR-ODM to the `PHPCR-ODM documentation`_.
3030

@@ -96,7 +96,7 @@ DBAL. The full documentation is in the :doc:`configuration reference <configurat
9696

9797
To use Jackalope Doctrine DBAL, you need to configure a database connection
9898
with the DoctrineBundle. For detailed information, see the
99-
`Symfony2 Doctrine documentation`_. A simple example is:
99+
`Symfony Doctrine documentation`_. A simple example is:
100100

101101
.. code-block:: yaml
102102
@@ -346,7 +346,7 @@ Profiling and Performance of Jackalope
346346
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347347

348348
When using any of the Jackalope PHPCR implementations, you can activate logging
349-
to log to the symfony log, or profiling to show information in the Symfony2
349+
to log to the symfony log, or profiling to show information in the Symfony
350350
debug toolbar:
351351

352352
.. configuration-block::
@@ -526,25 +526,14 @@ Read On
526526

527527
.. _`Doctrine PHPCR-ODM`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/index.html
528528
.. _`DoctrinePHPCRBundle`: https://github.com/doctrine/DoctrinePHPCRBundle
529-
.. _`Symfony2 Doctrine documentation`: https://symfony.com/doc/current/book/doctrine.html
529+
.. _`Symfony Doctrine documentation`: https://symfony.com/doc/current/doctrine.html
530530
.. _`Jackalope`: http://jackalope.github.io/
531531
.. _`the PHPCR website`: http://phpcr.github.io/
532532
.. _`PHPCR-ODM documentation`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/
533533
.. _`bug in libxml`: https://bugs.php.net/bug.php?id=36501
534534
.. _`with composer`: https://getcomposer.org
535535
.. _`doctrine/phpcr-bundle`: https://packagist.org/packages/doctrine/phpcr-bundle
536-
.. _`metadata caching`: https://symfony.com/doc/master/reference/configuration/doctrine.html
537-
.. _`PHPCR-ODM documentation on Multilanguage`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/multilang.html
538536
.. _`custom node type`: https://github.com/doctrine/phpcr-odm/wiki/Custom-node-type-phpcr%3Amanaged
539-
.. _`the PHPCR-ODM documentation`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/events.html
540-
.. _`Symfony event subscriber`: https://symfony.com/doc/master/components/event_dispatcher/introduction.html#using-event-subscribers
541-
.. _`Symfony cookbook entry`: https://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html
542-
.. _`Symfony documentation on the entity form type`: https://symfony.com/doc/current/reference/forms/types/entity.html
543-
.. _SonataDoctrinePHPCRAdminBundle: https://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/index.html
544-
.. _`currently broken`: https://github.com/sonata-project/SonataDoctrineORMAdminBundle/issues/145
545537
.. _`DoctrineMigrationsBundle`: https://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html
546538
.. _`DoctrineFixturesBundle`: https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
547-
.. _`Doctrine data-fixtures`: https://github.com/doctrine/data-fixtures
548-
.. _`documentation of the DoctrineFixturesBundle`: https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
549539
.. _`SQL2 queries`: http://www.h2database.com/jcr/grammar.html
550-
.. _`BurgovKeyValueFormBundle`: https://github.com/Burgov/KeyValueFormBundle

bundles/phpcr_odm/models.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ objects go through their persistence lifecycle.
350350

351351
.. _`PHP Content Repository`: http://phpcr.github.io/
352352
.. _`JSR-283 specification`: https://jcp.org/en/jsr/detail?id=283
353-
.. _`Doctrine ORM`: https://symfony.com/doc/current/book/doctrine.html
353+
.. _`Doctrine ORM`: https://symfony.com/doc/current/doctrine.html
354354
.. _`doctrine documentation`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/basic-mapping.html#basicmapping-identifier-generation-strategies
355355
.. _`Basic Mapping Documentation`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/basic-mapping.html
356356
.. _`the QueryBuilder documentation`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/query-builder.html
357357
.. _`create complex queries`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/query-builder.html
358-
.. _`Custom Repository Classes`: https://symfony.com/doc/current/book/doctrine.html#custom-repository-classes
358+
.. _`Custom Repository Classes`: https://symfony.com/doc/current/doctrine/repository.html

bundles/routing/dynamic.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -667,5 +667,5 @@ Read on in the chapter :doc:`customizing the dynamic router <dynamic_customize>`
667667
.. _`CMF Routing component`: https://github.com/symfony-cmf/Routing
668668
.. _`Doctrine ORM`: http://www.doctrine-project.org/projects/orm.html
669669
.. _`PHPCR-ODM`: http://www.doctrine-project.org/projects/phpcr-odm.html
670-
.. _`URL generating capabilities of Symfony`: https://symfony.com/doc/current/book/routing.html#generating-urls
670+
.. _`URL generating capabilities of Symfony`: https://symfony.com/doc/current/routing.html#generating-urls
671671
.. _`FOSJsRoutingBundle`: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle

bundles/routing/dynamic_customize.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,5 +264,5 @@ will check that they exist.
264264
You can override the validator by setting the
265265
``cmf_routing.validator.route_defaults.class`` parameter.
266266

267-
.. _`Creating and configuring services in the container`: https://symfony.com/doc/current/book/service_container.html#creating-configuring-services-in-the-container
267+
.. _`Creating and configuring services in the container`: https://symfony.com/doc/current/service_container.html#creating-configuring-services-in-the-container
268268
.. _`PHPCR-ODM`: http://www.doctrine-project.org/projects/phpcr-odm.html

bundles/routing/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ For more information on Routing in the Symfony CMF, please refer to:
108108
.. _`symfony-cmf/routing-bundle`: https://packagist.org/packages/symfony-cmf/routing-bundle
109109
.. _`RoutingBundle`: https://github.com/symfony-cmf/routing-bundle#readme
110110
.. _`PHPCR-ODM`: http://www.doctrine-project.org/projects/phpcr-odm.html
111-
.. _`documentation for DependencyInjection tags`: https://symfony.com/doc/2.1/reference/dic_tags.html
111+
.. _`documentation for DependencyInjection tags`: https://symfony.com/doc/current/reference/dic_tags.html
112112
.. _`Routing`: https://symfony.com/doc/current/components/routing/introduction.html

bundles/search/configuration.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ template.
146146
),
147147
));
148148
149-
.. _`LiipSearchBundle`: https://github.com/liip/LiipSearchBundle
150-
151149
``max_results``
152150
"""""""""""""""
153151

154152
**type**: ``integer`` **default**: ``null``
155153

156154
Defines a limit for number of results returned.
155+
156+
.. _`LiipSearchBundle`: https://github.com/liip/LiipSearchBundle

bundles/seo/error_pages.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,4 @@ Now, register this new class as a service and tag it as
184184
185185
The tag allows a ``group`` attribute, in order to group suggested links.
186186

187-
.. _Symfony Documentation: https://symfony.com/doc/current/cookbook/controller/error_pages.html#overriding-the-default-exceptioncontroller
187+
.. _Symfony Documentation: https://symfony.com/doc/current/controller/error_pages.html#overriding-the-default-exceptioncontroller

bundles/simple_cms/extending_page_class.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ For example::
6666

6767
// set extras
6868
$extras = array(
69-
'subtext' => 'Add CMS functionality to applications built with the Symfony2 PHP framework.',
69+
'subtext' => 'Add CMS functionality to applications built with the Symfony PHP framework.',
7070
'headline-icon' => 'exclamation.png',
7171
);
7272

0 commit comments

Comments
 (0)