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

Commit 9c7471c

Browse files
committed
cleanup interlinking
1 parent 96b6815 commit 9c7471c

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

bundles/phpcr_odm/introduction.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ so that you can create migrations.
240240
.. note::
241241

242242
To use the cache, install and configure the
243-
:doc:`DoctrineCacheBundle <../../cookbook/database/doctrine_cache>``_.
243+
:doc:`DoctrineCacheBundle <../../cookbook/database/doctrine_cache>`.
244244
Then uncomment the cache meta and nodes settings.
245245

246246
Doctrine PHPCR-ODM Configuration
@@ -366,9 +366,8 @@ fetch depth reduces the number and duration for queries. Set the option
366366
children or whole subtrees. This can reduce the number of queries needed, but
367367
watch out for longer queries because more data is fetched.
368368

369-
When using Jackalope Doctrine DBAL, it is highly recommended to activate the
370-
caching options. Uncomment the ``session.backend.caches`` as explained in
371-
`PHPCR Session Configuration`_ and activate the DoctrineCacheBundle_.
369+
When using Jackalope Doctrine DBAL, it is highly recommended to
370+
:doc:`activate the caching options <../../cookbook/database/doctrine_cache>`.
372371

373372
Note that you can also set the fetchDepth on the session on the fly for
374373
specific calls, or use the fetchDepth option on children mappings of your
@@ -514,5 +513,4 @@ Read On
514513
.. _`Doctrine data-fixtures`: https://github.com/doctrine/data-fixtures
515514
.. _`documentation of the DoctrineFixturesBundle`: http://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
516515
.. _`SQL2 queries`: http://www.h2database.com/jcr/grammar.html
517-
.. _`DoctrineCacheBundle`: https://github.com/doctrine/DoctrineCacheBundle/
518516
.. _`BurgovKeyValueFormBundle`: https://github.com/Burgov/KeyValueFormBundle

cookbook/database/doctrine_cache.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ a caches section to ``doctrine_phpcr.session.backend``:
5555
<provider name="phpcr_meta" type="file_system"/>
5656
<provider name="phpcr_nodes" type="file_system"/>
5757
</config>
58-
<config xmlns="http://example.org/schema/dic/doctrine_phpcr">
58+
<config xmlns="http://doctrine-project.org/schema/symfony-dic/odm/phpcr">
5959
<session>
6060
<backend>
6161
<!-- ... -->
@@ -94,3 +94,4 @@ a caches section to ``doctrine_phpcr.session.backend``:
9494
),
9595
);
9696
97+
.. _`DoctrineCacheBundle`: https://github.com/doctrine/DoctrineCacheBundle/

cookbook/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The Cookbook
99
database/choosing_storage_layer
1010
database/choosing_phpcr_implementation
1111
database/running_jackrabbit
12+
database/doctrine_cache
1213
editions/cmf_sandbox
1314
editions/cmf_core
1415
creating_cms_using_cmf_and_sonata

cookbook/map.rst.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* :doc:`database/choosing_storage_layer`
44
* :doc:`database/choosing_phpcr_implementation`
55
* :doc:`database/running_jackrabbit`
6+
* :doc:`database/doctrine_cache`
67

78
* **Editions**
89

0 commit comments

Comments
 (0)