doc update

This commit is contained in:
gwen 2012-05-22 11:42:57 +02:00
parent 19db2feb35
commit 269e5d5b35
3 changed files with 17 additions and 7 deletions

View file

@ -69,7 +69,15 @@ This type of validation is very open. Let's take a use case : an option
has a certain value, and the value of this option can change the owner
of another option or option group... Everything is possible.
FIXME : put an example here
For example, the configuration paths have to be unique in the
:ref:`glossary#schema`, the validation is carried out at the
:api:`config.Config._cfgimpl_build()` time in the
:api:`config.Config._validate_duplicates()` method.
Other hook are availables to validate upon a whole configuration at any
time.
.. FIXME : get the validates hooks from the original config pypy's code
Identical option names
----------------------

View file

@ -67,15 +67,18 @@ glossary
**disabled option**
FIXME
a disabled option has a different behaviour on regards to the access
of the value in the configuration, see :doc:`status` for more details.
**fill option**
FIXME
a fill option is like an automatic option except that it is
calculated only if a value hasn't been set.
**auto option**
FIXME
an automatic option is an option thas is carried out by an external
calculation
.. _mandatory:

View file

@ -28,7 +28,7 @@ mettre une contrainte de temps dans le cache
globalement dans toute la config
- mettre une contrainte de temps donnée
time = 1000
expires = timestamp + deltatime
:date: 17 avril
@ -97,7 +97,6 @@ type option (dérivé de ChoiceOPtion) dans lequel il y a des nouvelles valeurs
possibles (pas de validations) ou plutôt une StringOption qui propose un choix
de valeurs par défault de type liste.
:date: 24 mars
- hide pour les sous-sous config (récursivement) et pas seulement une