8000 drop old versionadded notes to clean up the doc · torreytsui/symfony-cmf-docs@7bd5264 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7bd5264

Browse files
committed
drop old versionadded notes to clean up the doc
1 parent 491fed6 commit 7bd5264

26 files changed

+6
-178
lines changed

bundles/_partials/ivory_ckeditor.rst.inc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
``ivory_ckeditor``
22
~~~~~~~~~~~~~~~~~~
33

4-
.. versionadded:: 1.3
5-
IvoryCKEditorBundle integration was introduced in version 1.3.
6-
74
This configures integration of the IvoryCKEditorBundle_, so an admin can edit
85
content using CKeditor.
96

bundles/content/exposing_content_via_rest.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ However it might be necessary to add additional mapping to more tightly
139139
control what gets exposed. See the `documentation of the JMS serializer`_
140140
for details.
141141

142-
.. versionadded:: 1.1
143-
The `default response format changed between 1.0 and 1.1 of the ContentBundle`_.
144-
In 1.0 the response is wrapped inside an array/tag. This is no longer the
145-
case in 1.1
146-
147142
.. _`FOSRestBundle`: https://github.com/FriendsOfSymfony/FOSRestBundle
148143
.. _`JMSSerializerBundle`: https://github.com/schmittjoh/JMSSerializerBundle
149144
.. _`FOSRestBundle view layer`: https://symfony.com/doc/current/bundles/FOSRestBundle/2-the-view-layer.html

bundles/core/templating.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ Basic repository operations
3939
* **cmf_path|getPath($document)**: Get the path of the provided document.
4040
* **cmf_parent_path|getParentPath($document)**: Get the path of the parent of the provided document.
4141

42-
.. versionadded:: 1.3.1
43-
The cmf_find_translation twig function has been added in version 1.3.1 of the CMF CoreBundle.
44-
4542
Walking the PHPCR tree
4643
......................
4744

bundles/create/introduction.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,6 @@ overwrite them) are:
129129
}
130130
}
131131
132-
.. versionadded:: 1.2
133-
The Symfony CMF bundles updated to PSR-4 autoloading with Symfony CMF
134-
1.2. Before, the target directories were located in the
135-
``vendor/symfony-cmf/create-bundle/Symfony/Cmf/Bundle/CreateBundle/Resources/public/vendor``
136-
directory.
137-
138132
Add this bundle (and its dependencies, if they are not already added) to your
139133
application's kernel::
140134

@@ -546,10 +540,6 @@ Mapping Requests to Domain Objects
546540
One last piece is the mapping between CreatePHP data and the application
547541
domain objects. Data needs to be stored back into the database.
548542

549-
.. versionadded:: 1.3
550-
The chain mapper and ORM configuration was introduced in CreateBundle
551-
1.3. Prior, only the PHPCR-ODM mapper was available.
552-
553543
Adding Custom Mappers to the Chain
554544
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
555545

@@ -593,9 +583,6 @@ your own 4270 mapper in place of the chain mapper.
593583
Workflows
594584
---------
595585

596-
.. versionadded:: 1.1
597-
Support for workflows was introduced in CreateBundle 1.1.
598-
599586
CreateJS uses a REST api for creating, loading and changing content. To delete content
600587
the HTTP method DELETE is used. Since deleting might be a more complex operation
601588
than just removing the content form the storage (e.g. getting approval by another

bundles/media/adapters/elfinder.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ Installation
8484
),
8585
));
8686
87-
.. versionadded:: 2.0
88-
The above configuration is intended for the FMElfinderBundle version 2.0
89-
and above. Version 1 used a different format without the possibility to
90-
configure more than one editor.
91-
9287
.. note::
9388

9489
The driver service depends on your storage layer. For now, the MediaBundle

bundles/media/form_types.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ To delete an image, you need to delete the document containing the image.
153153
cmf_media_file
154154
~~~~~~~~~~~~~~
155155

156-
.. versionadded: 1.3
157-
The ``cmf_media_file`` form type was introduced in MediaBundle 1.3.
158-
159156
The ``cmf_media_file`` form maps to an object that implements the
160157
``Symfony\Cmf\Bundle\MediaBundle\FileInterface``.
161158
It renders as a file upload button with a link for downloading the existing

bundles/media/introduction.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,6 @@ The media bundle contains a Twig extension, it contains the following functions:
229229
}
230230
}) }}" title="Download">Download</a>
231231

232-
.. versionadded:: 1.3
233-
Option `imagine_runtime_config` was introduced in MediaBundle 1.3
234-
235232
SonataMediaBundle Integration
236233
-----------------------------
237234

bundles/menu/configuration.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ know which subtree to show when selecting content for menu nodes.
102102
If the :doc:`CoreBundle <../core/introduction>` is registered, this will default to
103103
the value of ``%cmf_core.persistence.phpcr.basepath%/content``
104104

105-
.. versionadded:: 1.1
106-
107-
The pre-fetch functionality was added in MenuBundle 1.1.
108-
109105
``prefetch``
110106
""""""""""""
111107

@@ -146,10 +142,6 @@ This setting is used by the admin class.
146142
content_url_generator
147143
~~~~~~~~~~~~~~~~~~~~~
148144

149-
.. versionadded:: 1.2
150-
This option was introduced in version 1.2.0. Prior to 1.2, this option is
151-
not available and the default service ``router`` is hardcoded.
152-
153145
**type**: ``string`` **default**: ``router``
154146

155147
With this option, you can change what router should be used for generating
@@ -240,9 +232,6 @@ Enable the :ref:`bundles_menu_voters_uri_prefix_voter`.
240232
``publish_workflow``
241233
~~~~~~~~~~~~~~~~~~~~
242234

243-
.. versionadded:: 1.1
244-
The ``publish_workflow`` option was introduced in CmfMenuBundle 1.1.
245-
246235
This configures if the menu content voter for the publish workflow should be
247236
disabled, by default it is enabled if the :doc:`CoreBundle <../core/introduction>`
248237
is registered, and the ``cmf_core.publish_workflow`` is enabled.

bundles/menu/menu_documents.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ The standard menu node implements ``PublishTimePeriodInterface`` and
117117
``PublishableInterface``. Please refer to the
118118
:doc:`publish workflow documentation <../core/publish_workflow>`.
119119

120-
.. versionadded:: 1.1
121-
The ``MenuContentVoter`` was added in CmfMenuBundle 1.1.
122-
123120
The ``MenuContentVoter`` decides that a menu node is not published if the
124121
content it is pointing to is not published.
125122

bundles/menu/menu_factory.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ extensions for additional functionality.
1515
URL Generation
1616
--------------
1717

18-
.. versionadded:: 2.0
19-
Adding content support to the ``knp_menu.factory`` service was introduced
20-
in CmfMenuBundle 2.0. Prior to 2.0, you had to use the
21-
``ContentAwareFactory`` class and ``cmf_menu.factory`` service.
22-
2318
Most menu items will need a URL. By default, KnpMenu allows generating this URL
2419
by specifying a URI or a Symfony route name.
2520

@@ -38,9 +33,6 @@ content URL generator can work with. When using the :ref:`dynamic router
3833
generator by implementing ``UrlGeneratorInterface`` and configure it using
3934
the ``content_url_generator`` option in ``config.yml``.
4035

41-
.. versionadded:: 1.2
42-
The ``content_url_generator`` option was introduced in CmfMenuBundle 1.2.
43-
4436
How to handle Items without an URL
4537
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4638

0 commit comments

Comments
 (0)
0