Skip to content

Commit

Permalink
doc: remove blocks manual; move site anatomy to manuals.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Scherpenisse committed Oct 31, 2012
1 parent 4b421f0 commit 9703dcf
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
15 changes: 15 additions & 0 deletions doc/manuals/datamodel/resources.rst
Expand Up @@ -77,6 +77,21 @@ files that are no longer referenced by any media.
.. seealso:: :ref:`model-media`


Blocks
......

Blocks are a specific feature in a resource. The ``blocks`` property
of a resource is a list of blocks which can be dynamically added and
removed from the resource in the admin edit page. Each module can
define their own blocks, which consist of an edit template and a view
template.

The survey module uses the blocks feature to allow you to dynamically
create a list of questions which a user has to answer.

.. todo:: Fix blocks documentation


Pivot columns
.............

Expand Down
6 changes: 3 additions & 3 deletions doc/manuals/in-depth.rst
Expand Up @@ -3,17 +3,17 @@ In-depth manuals

.. toctree::

dispatch
site-anatomy
modules/index
services
dispatch
auth
notification
datamodel/index
blocks
i18n
media-files
templates/index
lib-files
controllers
email
services
cookbook/index
2 changes: 1 addition & 1 deletion doc/manuals/site-anatomy.rst
@@ -1,4 +1,4 @@
.. _tutorial-site-anatomy:
.. _manual-site-anatomy:

Anatomy of a site
=================
Expand Down
1 change: 0 additions & 1 deletion doc/tutorials/index.rst
Expand Up @@ -9,7 +9,6 @@ Topics:
preinstall
install
install-addsite
site-anatomy
zotonic_status
install-troubleshooting

4 changes: 2 additions & 2 deletions doc/tutorials/install-addsite.rst
Expand Up @@ -49,5 +49,5 @@ called ``yoursite``.
8. Congratulations! You got your first site running.

To learn more about how sites work and what consists of a
:term:`Zotonic site`, please see the next chapter,
:ref:`tutorial-site-anatomy`.
:term:`Zotonic site`, please see the in-depth manual,
:ref:`manual-site-anatomy`.

0 comments on commit 9703dcf

Please sign in to comment.