diff --git a/reference/conanfile/attributes.rst b/reference/conanfile/attributes.rst index b115017116b..8176c922343 100644 --- a/reference/conanfile/attributes.rst +++ b/reference/conanfile/attributes.rst @@ -87,6 +87,10 @@ The profile entries have priority. The ``conf`` attribute is a **read-only** attribute. It can only be defined in profiles and command lines, but it should never be set by recipes. Recipes can only read its value via ``self.conf.get()`` method. +.. note:: + + Accessing the ``conf`` attribute is allowed during the ``generate()``, ``build()`` and ``package()`` methods only. + Output ------