mik-laj opened a new issue #9414:
URL: https://github.com/apache/airflow/issues/9414


   Hello,
   
   I think it's worth creating a list of environment variables used by Airflow. 
This will allow you to refer to it from other places in the documentation.  We 
should use [envvar 
directive](https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html?highlight=envvar#directive-envvar)
 to do it -
   
   This list can be added to the file:  
[docs/cli-ref.rst](https://github.com/apache/airflow/blob/master/docs/cli-ref.rst)
 [(preview)](https://airflow.readthedocs.io/en/latest/cli-ref.html)
   
   We have the following environment variables
   ```
   .. envvar:: AIRFLOW__{SECTION}__{KEY}
   .. envvar:: AIRFLOW__{SECTION}__{KEY}_CMD
   .. envvar:: AIRFLOW_CONFIG
   .. envvar:: AIRFLOW_CONN_
   .. envvar:: AIRFLOW_HOME
   .. envvar:: AIRFLOW_VAR_
   ```
   
   We can be inspired by the following links
   https://docs.docker.com/compose/reference/envvars/
   
https://raw.githubusercontent.com/python/cpython/7864f11cdf12807555d62c7a132c191eb41ecc02/Doc/using/cmdline.rst
   https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to