zaz/doc/source/main/config.rst

64 lines
798 B
ReStructuredText
Raw Normal View History

2021-02-05 22:38:46 -06:00
Configuration
=============
* Create new extension:
``./zaz.py -new -t ~/projects -n MyGreatExtension``
* Move to new folder:
``cd ~/projects/MyGreatExtension``
* Edit file ``conf.py``
``vim conf.py``
Parameters
----------
**Configure correctly this options, before you start code your extension.**
Only modify this options.
2021-02-05 22:46:31 -06:00
Type extension
^^^^^^^^^^^^^^
**TYPE_EXTENSION**
2021-02-05 22:52:33 -06:00
The type extension that you want develop.
2021-02-05 22:46:31 -06:00
* Integer
* 1 = Normal extension
* 2 = New components
* 3 = Calc addin
Example:
.. code-block:: python
TYPE_EXTENSION = 1
2021-02-05 22:52:33 -06:00
Current version
^^^^^^^^^^^^^^^
**VERSION**
* String
* The version of extension, look: `Semantic Versioning`_
Example:
.. code-block:: python
VERSION = '0.1.0'
.. _Semantic Versioning: https://semver.org/