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

Commit 6deec2e

Browse files
committed
small cleanups for the content docs
1 parent 930bb37 commit 6deec2e

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

bundles/content.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ContentBundle
33

44
This bundle provides a document for static content and the controller to render it.
55

6-
For an introduction see the :doc:`../getting-started/content` page on the
6+
For an introduction see the :doc:`../getting-started/content` page in the
77
"Getting started" section.
88

99
.. index:: ContentBundle

getting-started/content.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ title, body, publishing information and a parent reference, to accommodate
2323
a tree-like hierarchy. It also includes a Block reference (more on that later).
2424

2525
The two implemented interfaces reveal two of the features included in this
26-
implementation:
26+
implementation:
2727

28-
- ``RouteAwareInterface`` means that the content has associated Routes.
28+
- ``RouteAwareInterface`` means that the content has associated Routes.
2929

3030
- ``PublishWorkflowInterface`` means that the content has publishing and
3131
unpublishing dates, which will be handled by Symfony CMF's core to determine
@@ -45,11 +45,11 @@ It also specifies the translation strategy:
4545
.. configuration-block::
4646

4747
.. code-block:: php
48-
48+
4949
/**
5050
* @PHPCRODM\Document(translator="child", referenceable=true)
5151
*/
52-
52+
5353
For information on the available translation strategies, refer to the Doctrine
5454
page regarding `Multilanguage support in PHPCR-ODM <http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/multilang.html>`_
5555

@@ -62,7 +62,7 @@ workings are pretty straighforward: it accepts a content instance and optionally
6262
a template to render it. If none is provided, it uses a preconfigured default.
6363
It also takes into account the document's publishing status and multilanguage.
6464
Both the content instance and the optional template are provided to the Controller
65-
by the ``RoutingBundle``'s ``DynamicRouter``. More information on this is
65+
by the ``DynamicRouter`` of the ``RoutingExtraBundle``. More information on this is
6666
available on the :ref:`Routing system getting started page <routing-linking-a-route-with-a-model-instance>`
6767
page.
6868

@@ -90,6 +90,7 @@ Final thoughts
9090
--------------
9191

9292
While this small bundle includes some vital components to a fully working
93-
CMS, it doesn't included all that's needed. The main idea behind it is to
94-
provide developers with a small and easy to understand starting point, so
95-
that you can develop your own content types, Controllers and Admin panels.
93+
CMS, it often will not provide all you need. The main idea behind it is to
94+
provide developers with a small and easy to understand starting point you can
95+
extend or use as inspriation to develop your own content types, Controllers and
96+
Admin panels.

0 commit comments

Comments
 (0)