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

Commit b22a31b

Browse files
committed
Merge pull request #342 from WouterJ/fix_index
[RFC] Refactored Index page
2 parents a931d18 + 3d8881e commit b22a31b

File tree

4 files changed

+56
-76
lines changed

4 files changed

+56
-76
lines changed

bundles/map.rst.inc

Lines changed: 36 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Key Bundles
2+
~~~~~~~~~~~
3+
4+
Most of the Symfony CMF bundles provide some functionality, they integrate a
5+
library or they introduce a complete new concept.
6+
17
* :doc:`block/index`
28

39
* :doc:`block/introduction`
@@ -6,14 +12,6 @@
612
* :doc:`block/cache`
713
* :doc:`block/relation_to_sonata_block_bundle`
814

9-
* **BlogBundle**
10-
11-
* :doc:`blog`
12-
13-
* :doc:`content/index`
14-
15-
* :doc:`content/introduction`
16-
1715
* :doc:`core/index`
1816

1917
* :doc:`core/introduction`
@@ -28,10 +26,6 @@
2826
* :doc:`create/other-editors`
2927
* :doc:`create/developing-hallo`
3028

31-
* **DoctrinePHPCRBundle**
32-
33-
* :doc:`phpcr_odm`
34-
3529
* :doc:`media/index`
3630

3731
* :doc:`media/introduction`
@@ -56,17 +50,43 @@
5650

5751
* :doc:`search/introduction`
5852

53+
* :doc:`tree_browser/index`
54+
55+
* :doc:`tree_browser/introduction`
56+
57+
Showcase Bundles
58+
~~~~~~~~~~~~~~~~
59+
60+
Other bundles provide an example on how to use these key bundles. They all
61+
show a different way of implementing a concept. You can use these bundles in
62+
your project, but you can also get ideas from these bundles to create your own
63+
bundle based on the key bundles.
64+
65+
* **BlogBundle**
66+
67+
* :doc:`blog`
68+
69+
* :doc:`content/index`
70+
71+
* :doc:`content/introduction`
72+
5973
* :doc:`simple_cms/index`
6074

6175
* :doc:`simple_cms/introduction`
6276
* :doc:`simple_cms/multilang`
6377
* :doc:`simple_cms/rendering`
6478
* :doc:`simple_cms/extending_page_class`
6579

66-
* **SonataDoctrinePhpcrAdminBundle**
80+
Contributed Bundles
81+
~~~~~~~~~~~~~~~~~~~
6782

68-
* :doc:`doctrine_phpcr_admin`
83+
Besides that, the Symfony CMF team also maintains some 3th party bundles which
84+
help with integrating PHPCR concepts into the Symfony Framework.
6985

70-
* :doc:`tree_browser/index`
86+
* **DoctrinePHPCRBundle**
7187

72-
* :doc:`tree_browser/introduction`
88+
* :doc:`phpcr_odm`
89+
90+
* **SonataDoctrinePhpcrAdminBundle**
91+
92+
* :doc:`doctrine_phpcr_admin`

components/map.rst.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@
99
* **Testing**
1010

1111
* :doc:`testing`
12+
13+
.. note::
14+
15+
The Testing component is a bit strange, as it can only be used with the
16+
symfony framework. There are plans to change this in the feature.

contributing/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Contributing
66

77
code
88
bundles
9+
releases
910
license
1011

1112
.. include:: map.rst.inc

index.rst

Lines changed: 14 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ will typically want to keep this close at hand.
5959

6060
.. toctree::
6161
:maxdepth: 1
62+
:numbered:
6263

6364
book/installation
6465
book/simplecms
@@ -70,38 +71,20 @@ will typically want to keep this close at hand.
7071
Bundles
7172
-------
7273

73-
Looking for some in depth information about a CMF Bundle? Want a list of all the
74-
configuration options of a bundle? Want to know if you can use a bundle independently and how
75-
to do it? In this case the reference is the right place for you.
74+
Looking for some in depth information about a CMF Bundle? Want to know if you
75+
can use a bundle independently and how to do it? In this case the bundles
76+
section is the right place for you!
7677

77-
.. toctree::
78-
:maxdepth: 1
79-
80-
bundles/block/index
81-
bundles/blog
82-
bundles/content/index
83-
bundles/core/index
84-
bundles/create/index
85-
bundles/phpcr_odm
86-
bundles/media/index
87-
bundles/menu/index
88-
bundles/routing/index
89-
bundles/routing_auto
90-
bundles/search/index
91-
bundles/simple_cms/index
92-
bundles/doctrine_phpcr_admin
93-
bundles/tree_browser/index
78+
:doc:`Browse the bundles <bundles/index>`
9479

9580
Components
9681
----------
9782

98-
Looking for some information about the low level components of the CMF?
99-
100-
.. toctree::
101-
:maxdepth: 1
83+
The Symfony CMF believes in a concept where bundles integrate library
84+
(components) into the framework. The components can be used in any PHP
85+
project, even when they are not using Symfony.
10286

103-
components/routing/introduction
104-
components/testing
87+
:doc:`Browse the components <components/index>`
10588

10689
Reference
10790
---------
@@ -110,50 +93,21 @@ Ever wondered what configuration options you have available to you in files
11093
such as ``app/config/config.yml``? In this section, all available
11194
configuration is broken down per bundle.
11295

113-
.. toctree::
114-
:maxdepth: 1
115-
116-
reference/configuration/block
117-
reference/configuration/content
118-
reference/configuration/core
119-
reference/configuration/create
120-
reference/configuration/media
121-
reference/configuration/menu
122-
reference/configuration/routing
123-
reference/configuration/search
124-
reference/configuration/simple_cms
125-
reference/configuration/tree_browser
96+
:doc:`Browse the reference <reference/index>`
12697

12798
Cookbook
12899
--------
129100

130-
Special solutions for specific use cases that go beyond standard usage.
131-
132-
Want to know more about the CMF and how each part can be configured? There's a tutorial for each one.
101+
The cookbook consist of articles about advanced concepts of the Symfony CMF.
133102

134-
.. toctree::
135-
:maxdepth: 1
136-
137-
cookbook/create_new_project_phpcr_odm
138-
cookbook/create_basic_cms_auto_routing
139-
cookbook/creating_cms_using_cmf_and_sonata
140-
cookbook/database/choosing_storage_layer
141-
cookbook/editions/cmf_core
142-
cookbook/editions/cmf_sandbox
143-
cookbook/handling_multilang_documents
144-
cookbook/installing_configuring_doctrine_phpcr_odm
145-
cookbook/using_blockbundle_and_contentbundle
103+
:doc:`Browse the cookbook <cookbook/index>`
146104

147105
Contributing
148106
------------
149107

150-
.. toctree::
151-
:maxdepth: 1
108+
Do you want to contribute to the Symfony CMF? Start reading these articles!
152109

153-
contributing/code
154-
contributing/bundles
155-
contributing/releases
156-
contributing/license
110+
:doc:`Browse the contributing guide <cookbook/index>`
157111

158112
.. _`decoupled CMS`: http://decoupledcms.org
159113
.. _`Symfony2`: http://symfony.com

0 commit comments

Comments
 (0)