From 91418eda3b47504c930d8f46a5f96309a7e6909f Mon Sep 17 00:00:00 2001 From: "V.Kuznetsov" Date: Fri, 7 Jul 2017 13:08:12 +0300 Subject: [PATCH] docs for ini option cache_dir --- doc/en/cache.rst | 2 ++ doc/en/customize.rst | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/doc/en/cache.rst b/doc/en/cache.rst index 688b6dd04..e4071a8f8 100644 --- a/doc/en/cache.rst +++ b/doc/en/cache.rst @@ -1,3 +1,5 @@ +.. _`cache_provider`: + Cache: working with cross-testrun state ======================================= diff --git a/doc/en/customize.rst b/doc/en/customize.rst index ce0a36c11..b0c48f0e3 100644 --- a/doc/en/customize.rst +++ b/doc/en/customize.rst @@ -262,3 +262,14 @@ Builtin configuration file options This tells pytest to ignore deprecation warnings and turn all other warnings into errors. For more information please refer to :ref:`warnings`. + +.. confval:: cache_dir + + .. versionadded:: 3.2 + + Sets a directory where stores content of cache plugin. Default directory is + ``.cache`` which is created in :ref:`rootdir `. Directory may be + relative or absolute path. If setting relative path, then directory is created + relative to :ref:`rootdir `. Additionally path may contain environment + variables, that will be expanded. For more information about cache plugin + please refer to :ref:`cache_provider`.