Commit Graph

163 Commits

Author SHA1 Message Date
Roman Mogylatov
c2426d2a09 Update providers index page 2020-09-02 21:17:25 -04:00
Roman Mogylatov
dd2ded7321 Update documentation and example on creating a custom provider 2020-09-02 21:09:08 -04:00
Roman Mogylatov
aeace8cba5 Update documentation on injecting provided object attributes, items or method calls 2020-09-02 17:59:31 -04:00
Roman Mogylatov
e4ca126188 Update provider doc page headers 2020-09-02 17:33:02 -04:00
Roman Mogylatov
3eb7b9bc69 Add reference to provider overriding page 2020-09-02 17:25:20 -04:00
Roman Mogylatov
f8648adaf7 Update providers overriding documentation and rework examples 2020-09-02 16:59:25 -04:00
Roman Mogylatov
806bd31735 Bump version to 3.35.1 2020-09-01 21:58:13 -04:00
Roman Mogylatov
c4b33749d2
Providers docs update (#289)
* Update callable provider docs

* Update coroutine provider docs

* Edit object docs

* Edit list provider docs

* Edit configuration provider docs

* Edit selector provider docs

* Fix mypy stub of the ``DeclarativeContainer`` to specify the ``__init__`` interface

* Edit Dependency provider docs
2020-09-01 21:39:23 -04:00
Roman Mogylatov
0bb30f91ef
Singleton docs update (#288)
* Update docblocks of factory provider examples

* Edit singleton docs
2020-09-01 16:04:48 -04:00
Roman Mogylatov
1ad852d193
Factory provider docs update (#287)
* Update index page

* Update providers index page

* Make a little wording fix on containers index page

* Refactor factory provider docs header

* Update factory injection docs

* Update factory init injections example and picture

* Start work on underlying providers

* Finish the docs for factory arguments to the underlying providers

* Edit providers delegation section

* Edit section about specialized factory provider

* Edit abstract factory section

* Edit FactoryAggregate docs

* Add meta keywords and description
2020-08-31 21:26:21 -04:00
Roman Mogylatov
f5b97ca92e
Configuration option typed injections (#284)
* Add implementation and tests

* Add docs page and examples

* Revert the api_client miniapp accidental changes
2020-08-24 13:34:47 -04:00
Roman Mogylatov
cf862fe8b5
Provided attributes (#282)
* Add sketch

* Cythonize MethodCaller

* Cythonize ItemGetter, AttributeGetter & ProvidedInstance providers

* Add docblock for .provided attribute

* Refactor repr methods

* Add .provided attribute to the Dependency provider

* Add tests for the .provided attribute to the majority of the providers

* Add docblock for the ProvidedInstance provider

* Add docblocks for the rest of the providers

* Add example of the provided instance usage

* Add tests for provided instance* providers

* Add complex provided instance example

* Update example provided_instance.py

* Add docs
2020-08-20 21:52:12 -04:00
Roman Mogylatov
5358dd85f1
Movie lister example rework (#280)
* Rework movie lister example app

* Code style fix

* Doc block fix

* Update the container

* Make second round of the refactoring

* Rename name to title

* Remove old movie lister docs from the examples

* Add fixtures generator output on success

* Update docblock in the entities module

* Update example readme

* Add CLI app tutorial

* Update some wording in the other tutorials

* Spread link to the tutorial

* Fix code indentation issue
2020-08-12 17:04:46 -04:00
Roman Mogylatov
9b30752da2 Update docs 2020-08-06 16:42:31 -04:00
Roman Mogylatov
1674cecc8d
Flask tutorial (#265)
* Add a piece of the tutorial

* Add "Make it pretty" tutorial step

* Add section about github client setup

* Make minor fixes

* Add search service section + table of contents

* Make various fixes

* Make more fixes

* Update make the search section

* Update ghnav-flask example & README

* Update base.html markup

* Finish section: Make the search work

* Update ghnav-flask screenshot

* Update tutorials

* Add flaks tutorial link to the DI in Python page
2020-07-20 16:58:18 -04:00
Roman Mogylatov
6eff213a68
Migrate to alabaster (#264)
* Add bootstrap and remove created at from ghnav-flask app

* Update readme

* Add logo to the docs

* Update key features description

* Update README

* Change headers of API docs

* Add alabaster theme config

* Update docs index

* Add tutorials section

* Update what is DI page

* Update DI in Python page

* Update tutorials index page

* Update provider docs

* Update container docs

* Update examples docs
2020-07-18 00:40:14 -04:00
Roman Mogylatov
359dce2978 Make cosmetic fixes for `Selector` provider docs 2020-07-13 15:36:07 -04:00
Roman Mogylatov
a0a3da8f72 Improve List and Configuration provider docs 2020-06-29 16:32:48 -04:00
Roman Mogylatov
2513d1f600
Selector provider (#258)
* Add Selector provider

* Add Selector provider example

* Add tests for selector provider

* Update changelog

* Add pydocstyle ignore D101 for examples

* Fix repr() test

* Update changelog

* Add D203,D213 to examples pydocstyle ignore

* Add selector provider docs
2020-06-29 16:32:12 -04:00
Roman Mogylatov
284b258879 Add docs for environment varibles interpolation in the Configuration provider 2020-06-25 23:48:55 -04:00
Roman Mogylatov
62e1995a7d Add configuration provider docs 2020-06-25 17:12:16 -04:00
Roman Mogylatov
2beafb9a51
List provider (#251)
* Add List provider

* Add List provider example

* Add List provider unit tests

* Add docs

* Upstream changes from develop

* Update API docs

* Update unit tests

* Add support of positional context argument injections

* Update changelog
2020-06-14 17:32:12 -04:00
Bruno P. Kinoshita
910dec38a4
Fix a few typos (#250)
* Fix a few typos

* Spell, grammar checkers on docs
2020-06-13 22:24:32 -04:00
Vlad Ghita
5bb49b9af5 Fix typo. (#214) 2019-01-04 08:11:55 -05:00
Roman Mogylatov
9a785de4b5
Coroutine provider (#206)
* Add coroutine provider examples

* Add coroutine provier

* Update changelog

* Update static analysis travis jobs to python 3.7

* Update coroutine provider implementation for python 3.4

* Update static analysis travis jobs to python 3.6

* Make pycode style happy

* Add tests for coroutine providers

* Make coroutine tests python 2 syntax friendly

* Split tests to python2 and python3

* Refactor coroutine provider tests

* Modify pypy tests running command

* Update coroutine provider docs
2018-10-18 19:39:19 +03:00
Roman Mogylatov
de7b38626b
Release/3.11.1 -> Develop (#181)
* Specify sphix version

* Fix small typo in documentation (#180)

* Bump version to 3.11.1

* Complement the list of contributors
2018-01-26 19:34:38 +02:00
Roman Mogylatov
c5d8032e95 Update docs & examples 2017-12-21 22:54:44 +02:00
Roman Mogylatov
73e5112938 Update docs on factory delegation 2017-10-13 10:18:40 -07:00
Roman Mogylatov
3364d6f1b9 Add documentation for FactoryAggregate provider 2017-10-12 21:55:29 -07:00
Roman Mogilatov
d8d910d342 Update example of writing custom providers 2017-05-08 17:36:17 +03:00
Roman Mogilatov
28c73d13ca Add docs for abstract callable and singleton providers 2017-04-07 01:00:52 +03:00
Roman Mogilatov
144665ef3f Add docs about AbstractFactory provider 2017-04-07 00:47:30 +03:00
Roman Mogilatov
1375e42749 Add disqus comments for provider documents 2017-02-28 22:07:12 +02:00
Roman Mogilatov
2730082b91 Fix error in external dependency provider docs 2017-01-29 23:12:57 +02:00
Roman Mogilatov
9f35310cb3 Add point in object provider docs 2017-01-29 23:05:56 +02:00
Roman Mogilatov
bf00e5c0fa Update docs 2016-11-11 17:05:25 +02:00
Roman Mogilatov
6cf8b1c9c6 Add documentation section about singleton providers and multi-threading 2016-08-19 01:00:16 +03:00
Roman Mogilatov
91a8dbfa18 Update provider overriding docs 2016-06-09 19:40:22 +03:00
Roman Mogilatov
486353bbea Update object provider docs 2016-06-09 17:49:09 +03:00
Roman Mogilatov
9969bc4761 Update external dependency provider docs 2016-06-09 17:47:55 +03:00
Roman Mogilatov
b5337fefa6 Update provider docs index page 2016-06-09 01:46:32 +03:00
Roman Mogilatov
c5518e0ec3 Update callable provider docs
+ Add providers class diagram
2016-06-09 01:43:25 +03:00
Roman Mogilatov
7e1ee9b66a Update singleton provider docs 2016-06-08 17:46:40 +03:00
Roman Mogilatov
14ca5651df Update factory provider docs 2016-06-08 16:41:13 +03:00
Roman Mogilatov
9fc1502ae6 Add line numbers for all code samples in the documentation 2016-04-11 10:43:02 +03:00
Roman Mogilatov
319128260a Add DelegatedCallable, DelegatedFactory & DelegatedSingleton providers 2015-12-28 17:25:25 +02:00
Roman Mogilatov
5cc5794f66 Update Factory and Singleton specialization docs 2015-12-15 16:48:13 +02:00
Roman Mogilatov
80a329d480 Add docs about Factory and Singleton provides specialization 2015-12-13 14:22:59 +02:00
Roman Mogilatov
baa1a86cfe Fix module API references in docs 2015-11-29 23:30:48 +02:00
Roman Mogilatov
a68aeddc7e Remove warning about short heading in writing of custom providers docs 2015-11-29 11:53:45 +02:00
Roman Mogilatov
8d0b82cf36 Update providers index docs page 2015-11-23 21:46:21 +02:00
Roman Mogilatov
1fd54927c5 Update writing of custom providers docs 2015-11-23 21:46:21 +02:00
Roman Mogilatov
9b4e325a2d Update provider overriding docs 2015-11-23 21:46:20 +02:00
Roman Mogilatov
91dcfea775 Update external dependency provider docs, including API, and examples 2015-11-23 21:46:20 +02:00
Roman Mogilatov
a65155ed1c Update callable provider docs, including API, and examples 2015-11-23 21:46:20 +02:00
Roman Mogilatov
cea843160c Update static providers docs, including API, and examples 2015-11-23 21:46:20 +02:00
Roman Mogilatov
61e6f2db60 Update singleton provider docs, including API, and examples 2015-11-23 21:46:19 +02:00
Roman Mogilatov
7eed1cf880 Update Factory provider docs and examples 2015-11-23 21:46:19 +02:00
Roman Mogilatov
4683ada2ce Add declarative catalog docs 2015-11-23 21:46:16 +02:00
Roman Mogilatov
dd5cc79dd1 Update docs of Callable provider with description of positional agrument injections and new example 2015-10-22 16:52:48 +03:00
Roman Mogilatov
cc29d68337 Update Factory docs about positional and keyword arguments 2015-10-19 17:29:00 +03:00
Roman Mogilatov
1bfa0be26b 0.9.4 Release
Add minor documentation fixes
2015-09-04 10:17:13 +03:00
Roman Mogilatov
650ee014ec Implement thread-safety 2015-09-04 02:34:24 +03:00
Roman Mogilatov
50a3db6b94 Update Factory provider docs 2015-09-03 00:24:20 +03:00
Roman Mogilatov
2d5ce49254 Update factory attribute injections docs 2015-09-02 23:02:58 +03:00
Roman Mogilatov
479f50fb76 Update Factory method injections docs 2015-09-02 22:59:06 +03:00
Roman Mogilatov
b8a30601df Update Factory providers delegation docs 2015-09-02 22:53:39 +03:00
Roman Mogilatov
f9b4652e74 Update basic factory example and docs 2015-09-02 22:18:13 +03:00
Roman Mogilatov
98c4ec71c1 Update Singleton provider docs 2015-09-02 19:06:09 +03:00
Roman Mogilatov
444af2ab0e Update Callable provider docs 2015-09-02 18:48:11 +03:00
Roman Mogilatov
9326fdace4 Update ExternalDependency provider docs 2015-09-02 18:36:43 +03:00
Roman Mogilatov
a9eedc6760 Update static providers docs 2015-09-02 18:16:25 +03:00
Roman Mogilatov
a7ca196ee0 Update providers overriding docs 2015-09-02 18:14:13 +03:00
Roman Mogilatov
54da9913eb Update docs about writing custom providers 2015-09-02 17:20:19 +03:00
Roman Mogilatov
6d0f892f8a Rename Objects to Dependency Injector 2015-08-31 16:31:38 +03:00
Roman Mogilatov
223e494d56 Replacing static provider documentation examples with literalincludes 2015-08-03 15:57:06 +03:00
Roman Mogilatov
139cdd2d2e Replacing singleton provider documentation examples with literalincludes 2015-08-03 15:56:40 +03:00
Roman Mogilatov
abcd8f5369 Replacing providers overriding documentation examples with literalincludes 2015-08-03 15:52:23 +03:00
Roman Mogilatov
cbe7069227 Replacing callable provider documentation examples with literalincludes 2015-08-03 15:49:55 +03:00
Roman Mogilatov
a822f9e6d2 Replacing custom providers documentation example with literalinclude 2015-08-03 15:47:42 +03:00
Roman Mogilatov
051ed8cb7b Replacing ExternalDependeny provider examples in documentation with literalinclude 2015-08-03 15:45:58 +03:00
Roman Mogilatov
6d77bd18aa Replacing factory examples in docs with literalincludes 2015-08-03 15:42:44 +03:00
Roman Mogilatov
6d3f212531 Increasing image size in factory init injections documentation 2015-07-28 01:38:14 +03:00
Roman Mogilatov
20fc743a22 Updating index page of providers documentation 2015-07-28 01:31:19 +03:00
Roman Mogilatov
5d4969ac78 Removing docs about providers extending 2015-07-28 01:30:34 +03:00
Roman Mogilatov
6d2f10fb7c Updating factory first example image 2015-07-28 01:30:05 +03:00
Roman Mogilatov
bc39251426 Adding docs about writing custom providers 2015-07-28 01:29:31 +03:00
Roman Mogilatov
0364128ba5 Minor changes for factory delegation docs 2015-07-25 05:33:35 +03:00
Roman Mogilatov
024b148c54 Adding docs for overriding of providers 2015-07-25 04:57:38 +03:00
Roman Mogilatov
244e2bcfb9 Moving images from provider docs to providers/ subdir 2015-07-25 00:51:14 +03:00
Roman Mogilatov
947a0667a6 Changing comments in factory examples 2015-07-25 00:14:45 +03:00
Roman Mogilatov
fd8be77635 Provider overriding first pages 2015-07-21 09:57:13 +03:00
Roman Mogilatov
0efebb337f Adding explanation for Singleton and Callable providers delegation 2015-07-20 19:31:31 +03:00
Roman Mogilatov
996fc4ecbf Updating singleton examples 2015-07-20 18:58:39 +03:00
Roman Mogilatov
2690d9b9d4 Adding docs for factories delegation 2015-07-20 18:46:45 +03:00
Roman Mogilatov
3b9d36f2d2 Adding fixes for ExternalDependecy provider docs 2015-07-17 10:01:27 +03:00
Roman Mogilatov
839888f445 Adding some minor updates for providers delegation example 2015-07-16 02:50:55 +03:00
Roman Mogilatov
ec808b1361 Updating callable docs 2015-07-16 02:39:21 +03:00
Roman Mogilatov
54eb60698b Reverting removing of Callable docs 2015-07-16 00:48:30 +03:00
Roman Mogilatov
295c6b56eb Removing of Callable provider docs 2015-07-15 16:15:45 +03:00