Exporting `AIRFLOW__CORE__DAGS_FOLDER=` would mess up with ReadTheDocs 
environment as it would change the Dags folder and hence can break it when 
parsing some modules that use example dags.

We are already using this for `apply_defaults` decorator: 
https://github.com/apache/incubator-airflow/blob/f7fd78b06b24c15af3773b41ae3ecab7e48bb1ea/airflow/utils/decorators.py#L102-L105

And also in future when we might have more such issues where docs would need to 
be handled differently, I think this would be better than setting environment 
variables for each instance.

[ Full content available at: 
https://github.com/apache/incubator-airflow/pull/3872 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to