Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Revert "Assets management documentation" (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh authored Jun 18, 2016
1 parent 745ae4f commit 1146cdb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 51 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# It's auto-generated by sonata-project/dev-kit package.

.PHONY: test docs assets
.PHONY: test docs

all:
@echo "Please choose a task."
Expand All @@ -20,7 +20,3 @@ test:

docs:
cd Resources/doc && sphinx-build -W -b html -d _build/doctrees . _build/html

assets:
cd Resources/assets_src && npm install
cd Resources/assets_src && gulp
1 change: 0 additions & 1 deletion Resources/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ Reference Guide

reference/introduction
reference/installation
reference/assets
23 changes: 0 additions & 23 deletions Resources/doc/reference/assets.rst

This file was deleted.

22 changes: 0 additions & 22 deletions Resources/doc/reference/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,6 @@ This small introduction will try to explain the basics concepts behind the
A Dashboard
-----------

A ``Dashboard`` is a collection of blocks, actually of block containers, containing the
blocks required to manage its content.

A Block
-------

The ``SonataDashboardBundle`` does not know how to manage content, actually there is
no content management. This part is delegated to services. The bundle only
manages references to the service required by a dashboard. Reference information is
stored in a ``Block``.

A block is a small unit, it contains the following information:

- service id
- position
- settings used by the service

Each block service must implement the ``Sonata\PageBundle\Block\BlockServiceInterface``
which defines a set of functions to create so the service can be integrated
nicely with editing workflow. The important information is that a block service
must always return a ``Response`` object.

By default the ``SonataDashboardBundle`` is shipped with a core block service:

- sonata.dashboard.block.container : Block container

0 comments on commit 1146cdb

Please sign in to comment.