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

Commit ce633f1

Browse files
committed
Merge pull request #551 from symfony-cmf/revisiting_structure
[WIP] Revisiting structure part 1
2 parents b496e0a + cc69c55 commit ce633f1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+364
-303
lines changed

book/handling_multilang.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ Sonata PHPCR-ODM Admin
152152

153153
Using sonata admin is one way to make your content editable. A book
154154
chapter on sonata admin is planned. Meanwhile, read
155-
:doc:`Sonata Admin <../cookbook/creating_a_cms/sonata-admin>` in the
156-
"Creating a CMS" tutorial.
155+
:doc:`Sonata Admin <../tutorial/sonata-admin>` in the "Creating a CMS"
156+
tutorial.
157157

158158
The first step is to configure sonata admin. You should place the
159159
LuneticsLocaleBundle language switcher in the ``topnav`` bar. To do this,

book/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Adding new pages
215215

216216
Symfony CMF SE does not provide any admin tools to create new pages. If you
217217
are interested in adding an admin UI one solution can be found in
218-
:doc:`../cookbook/creating_a_cms/sonata-admin`. However, if all you want
218+
:doc:`../tutorial/sonata-admin`. However, if all you want
219219
is a simple way to add new pages that you can then edit via the inline
220220
editing, then you can use the SimpleCmsBundle ``page`` migrator. For example,
221221
to add a page called "Testing", creating a file called

book/static_content.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ SonataDoctrinePHPCRAdminBundle_, a back office generation tool.
6060
In ContentBundle, the required administration panels are already declared in
6161
the ``Admin`` folder and configured in ``Resources/config/admin.xml``, and
6262
will automatically be loaded if you install the SonataDoctrinePHPCRAdminBundle
63-
(refer to :doc:`../cookbook/creating_a_cms/sonata-admin` for
63+
(refer to :doc:`../tutorial/sonata-admin` for
6464
instructions on that).
6565

6666
Configuration

book/structuring_content.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ SonataDoctrinePHPCRAdminBundle_.
164164

165165
The included administration panels are automatically available but need to
166166
be explicitly put on the dashboard if you want to use them. See
167-
:doc:`../cookbook/creating_a_cms/sonata-admin` for instructions on how
168-
to install SonataDoctrinePHPCRAdminBundle.
167+
:doc:`../tutorial/sonata-admin` for instructions on how to install
168+
SonataDoctrinePHPCRAdminBundle.
169169

170170
Configuration
171171
~~~~~~~~~~~~~

reference/configuration/block.rst renamed to bundles/block/configuration.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
BlockBundle Configuration
2-
=========================
1+
Configuration Reference
2+
=======================
33

4-
The BlockBundle provides integration with SonataBlockBundle and can be
5-
configured under the ``cmf_block`` key in your application configuration. When
6-
using XML, you can use the ``http://cmf.symfony.com/schema/dic/block``
7-
namespace.
4+
The BlockBundle can be configured under the ``cmf_block`` key in your
5+
application configuration. When using XML, you can use the
6+
``http://cmf.symfony.com/schema/dic/block`` namespace.
87

98
The BlockBundle *automatically* changes some defaults and adds configuration
109
to the SonataBlockBundle to make the integration work seamlessly. See the
@@ -114,7 +113,7 @@ is the following configuration:
114113
enabled
115114
"""""""
116115

117-
.. include:: partials/persistence_phpcr_enabled.rst.inc
116+
.. include:: ../_partials/persistence_phpcr_enabled.rst.inc
118117

119118
block_basepath
120119
""""""""""""""
@@ -123,13 +122,13 @@ block_basepath
123122

124123
The basepath for blocks in the PHPCR tree.
125124

126-
If the :doc:`CoreBundle <../../bundles/core/index>` is registered, this will default to
125+
If the :doc:`CoreBundle <../core/introduction>` is registered, this will default to
127126
the value of ``%cmf_core.persistence.phpcr.basepath%/content``.
128127

129128
manager_name
130129
""""""""""""
131130

132-
.. include:: partials/persistence_phpcr_manager_name.rst.inc
131+
.. include:: ../_partials/persistence_phpcr_manager_name.rst.inc
133132

134133
string_document_class
135134
"""""""""""""""""""""
@@ -192,7 +191,7 @@ use_sonata_admin
192191
If ``true``, the admin classes are activated. If set to ``auto``, they are
193192
activated only if the SonataPhpcrAdminBundle is present.
194193

195-
If the :doc:`CoreBundle <../../bundles/core/index>` is registered, this will default to the value
194+
If the :doc:`CoreBundle <../core/introduction>` is registered, this will default to the value
196195
of ``cmf_core.persistence.phpcr.use_sonata_admin``.
197196

198197
string_admin_class
@@ -417,3 +416,4 @@ token
417416
A unique secret key. A random one is generated by default.
418417

419418
.. _`SonataCacheBundle`: https://github.com/sonata-project/SonataCacheBundle
419+

bundles/block/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ BlockBundle
99
create_your_own_blocks
1010
cache
1111
relation_to_sonata_block_bundle
12+
configuration

bundles/block/introduction.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ Read on
390390
* :doc:`create_your_own_blocks`
391391
* :doc:`cache`
392392
* :doc:`relation_to_sonata_block_bundle`
393+
* :doc:`configuration`
393394

394395
.. _`symfony-cmf/block-bundle`: https://packagist.org/packages/symfony-cmf/block-bundle
395396
.. _`with composer`: http://getcomposer.org

0 commit comments

Comments
 (0)