From 4e4782c598eb4f067bea1351baf836abb0ad3ed2 Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Mon, 11 Apr 2016 23:16:46 +0300 Subject: [PATCH] Add meta description for introduction documents --- docs/introduction/di_in_python.rst | 7 +++++++ docs/introduction/index.rst | 6 ++++++ docs/introduction/key_features.rst | 6 ++++++ docs/introduction/structure.rst | 7 +++++++ docs/introduction/what_is_di.rst | 9 +++++++++ 5 files changed, 35 insertions(+) diff --git a/docs/introduction/di_in_python.rst b/docs/introduction/di_in_python.rst index c9674d50..0e81c1b2 100644 --- a/docs/introduction/di_in_python.rst +++ b/docs/introduction/di_in_python.rst @@ -1,6 +1,13 @@ Dependency injection and inversion of control in Python ------------------------------------------------------- +.. meta:: + :keywords: Python,DI,Dependency injection,IoC,Inversion of Control + :description: This article describes benefits of dependency injection and + inversion of control for Python applications. Also it + contains some Python examples that show how dependency + injection and inversion could be implemented. + History ~~~~~~~ diff --git a/docs/introduction/index.rst b/docs/introduction/index.rst index 334d16c4..3e7ce7cc 100644 --- a/docs/introduction/index.rst +++ b/docs/introduction/index.rst @@ -1,6 +1,12 @@ Introduction ============ +.. meta:: + :keywords: Python,DI,Dependency injection,IoC,Inversion of Control + :description: Current section of documentation is designed to give some + overview about dependency injection pattern, inversion of + control principle and "Dependency Injector" framework. + Current section of documentation is designed to give some overview about dependency injection pattern, inversion of control principle and *Dependency Injector* framework. diff --git a/docs/introduction/key_features.rst b/docs/introduction/key_features.rst index 3da8c0bf..a4f11038 100644 --- a/docs/introduction/key_features.rst +++ b/docs/introduction/key_features.rst @@ -1,6 +1,12 @@ Key features of Dependency Injector ----------------------------------- +.. meta:: + :keywords: Python,DI,Dependency injection,IoC,Inversion of Control + :description: This article describes key features of "Dependency Injector" + framework. It also provides some cases and recommendations + about usage of "Dependency Injector" framework. + *Dependency Injector* is a dependency injection framework for Python projects. It was designed to be unified, developer-friendly tool for managing any kind of Python objects and their dependencies in formal, pretty way. diff --git a/docs/introduction/structure.rst b/docs/introduction/structure.rst index 99fff8fd..3756e352 100644 --- a/docs/introduction/structure.rst +++ b/docs/introduction/structure.rst @@ -1,6 +1,13 @@ Structure of Dependency Injector -------------------------------- +.. meta:: + :keywords: Python,DI,Dependency injection,IoC,Inversion of Control + :description: This article describes "Dependency Injector" framework + components and their interaction between each other. + Catalogs, providers and injections are the former + components of the framework. + Current section describes *Dependency Injector* main entities and their interaction between each other. diff --git a/docs/introduction/what_is_di.rst b/docs/introduction/what_is_di.rst index fbfa0b03..05b9b169 100644 --- a/docs/introduction/what_is_di.rst +++ b/docs/introduction/what_is_di.rst @@ -1,6 +1,15 @@ What is dependency injection and inversion of control? ------------------------------------------------------ +.. meta:: + :keywords: Python,DI,Dependency injection,IoC,Inversion of Control + :description: This article provides definition of dependency injection, + inversion of control and dependency inversion. It contains + example code in Python that is refactored to be following + inversion of control principle and then enhanced by + inversion of control container based on "Dependency Injector" + declarative catalog. + Definition ~~~~~~~~~~