Move introduction docs to the top level

This commit is contained in:
Roman Mogilatov 2016-04-04 23:40:28 +03:00
parent a6a67a2b3d
commit 3204582143
7 changed files with 10 additions and 6 deletions

View File

@ -58,7 +58,7 @@ Contents
.. toctree::
:maxdepth: 2
main/introduction/index
introduction/index
main/installation
providers/index
catalogs/index

View File

@ -86,12 +86,12 @@ Example
Let's go through next example:
.. literalinclude:: ../../../examples/ioc_di_demos/car_engine_1.py
.. literalinclude:: ../../examples/ioc_di_demos/car_engine_1.py
:language: python
``Car`` **creates** an ``Engine`` during its creation. Really? Does it make
more sense then creating an ``Engine`` separatelly and then
**put (inject) it into** ``Car`` when ``Car`` is being created?
.. literalinclude:: ../../../examples/ioc_di_demos/car_engine_2.py
.. literalinclude:: ../../examples/ioc_di_demos/car_engine_2.py
:language: python

View File

@ -74,19 +74,19 @@ Example
Let's go through the code of ``example.py``:
.. literalinclude:: ../../../examples/ioc_di_demos/example.py
.. literalinclude:: ../../examples/ioc_di_demos/example.py
:language: python
At some point, things defined above mean, that the code from ``example.py``,
could look different, like in ``ioc_example.py``:
.. literalinclude:: ../../../examples/ioc_di_demos/ioc_example.py
.. literalinclude:: ../../examples/ioc_di_demos/ioc_example.py
:language: python
Also the code from ``ioc_example.py`` could be upgraded with inversion of
control container, like in ``ioc_container_example.py``:
.. literalinclude:: ../../../examples/ioc_di_demos/ioc_container_example.py
.. literalinclude:: ../../examples/ioc_di_demos/ioc_container_example.py
:language: python
.. note::

View File

@ -9,10 +9,14 @@ follows `Semantic versioning`_
Development version
-------------------
1.15.2
------
- [Refactoring] split ``catalogs`` module into smaller modules,
``catalogs`` module become a package.
- [Refactoring] split ``providers`` module into smaller modules,
``providers`` module become a package.
- Update introduction documentation.
1.15.1
------