mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2026-03-13 08:10:39 +08:00
* asyncio: fix environment variables not in docs Fix the docstrings in environment_variables.py so they are correctly picked up by Sphinx autodoc for Read the Docs. Previously the docstrings were placed above the variable assignments, which Sphinx cannot parse. Moved them below and added the required '.. envvar::' directives, consistent with how other packages (e.g. opentelemetry-instrumentation) document their environment variables. Fixes #4256 * Fix typo from 'determines' to 'determine' * Apply suggestion from @xrmx * asyncio: move environment_variables docs to __init__ module docstring for sphinx * asyncio: keep envvar docs in environment_variables.py with module-level docstring --------- Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>