documentation update
This commit is contained in:
parent
d971448d02
commit
1b608202ce
|
@ -8,8 +8,8 @@ The global consistency
|
||||||
Identical option names
|
Identical option names
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
If an `option.Option()` happens to be defined twice in the
|
If an :class:`~option.Option()` happens to be defined twice in the
|
||||||
`glossary#schema` (e.g. the `option.OptionDescription()`),
|
:term:`schema` (e.g. the :class:`~option.OptionDescription()`),
|
||||||
that is the two options actually have the same name, an exception is raised.
|
that is the two options actually have the same name, an exception is raised.
|
||||||
|
|
||||||
The calculation is currently carried out in the samespace, for example
|
The calculation is currently carried out in the samespace, for example
|
||||||
|
|
|
@ -15,7 +15,7 @@ Glossary
|
||||||
schema
|
schema
|
||||||
option description
|
option description
|
||||||
|
|
||||||
see `option.OptionDescription`, see `option#schema`
|
see :class:`tiramisu.option.OptionDescription`
|
||||||
|
|
||||||
The schema of a configuration :
|
The schema of a configuration :
|
||||||
|
|
||||||
|
@ -97,8 +97,7 @@ Glossary
|
||||||
mandatory option
|
mandatory option
|
||||||
|
|
||||||
A mandatory option is a configuration option wich value has to be
|
A mandatory option is a configuration option wich value has to be
|
||||||
set, that is the default value cannot be `None`, see
|
set, that is the default value cannot be `None`.
|
||||||
`optionapi#optioninit`
|
|
||||||
|
|
||||||
.. glossary::
|
.. glossary::
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ method:
|
||||||
possible to modify a disabled option.
|
possible to modify a disabled option.
|
||||||
|
|
||||||
To enable read-write status, call
|
To enable read-write status, call
|
||||||
:class:`config.CommonConfig.read_write()`
|
:class:`~config.CommonConfig.read_write()` on the config.
|
||||||
|
|
||||||
**read only status**
|
**read only status**
|
||||||
|
|
||||||
|
@ -31,7 +31,8 @@ method:
|
||||||
The configuration has not an access to the hidden options
|
The configuration has not an access to the hidden options
|
||||||
but can read the disabled options.
|
but can read the disabled options.
|
||||||
|
|
||||||
To enable read only status, call :class:`config.SubConfig.read_only()`
|
To enable read only status, call :class:`~config.SubConfig.read_only()` on
|
||||||
|
the config.
|
||||||
|
|
||||||
.. csv-table:: **Configuration's statuses summary**
|
.. csv-table:: **Configuration's statuses summary**
|
||||||
:header: " ", "Hidden", "Disabled", "Mandatory"
|
:header: " ", "Hidden", "Disabled", "Mandatory"
|
||||||
|
|
Loading…
Reference in New Issue