kaxil commented on a change in pull request #3872: [AIRFLOW-3030] Fix doc of command line interface URL: https://github.com/apache/incubator-airflow/pull/3872#discussion_r216169151
########## File path: airflow/bin/cli.py ########## @@ -80,6 +80,11 @@ log = LoggingMixin().log +DAGS_FOLDER = settings.DAGS_FOLDER + +if "BUILDING_AIRFLOW_DOCS" in os.environ: + DAGS_FOLDER = '[AIRFLOW_HOME]/dags' Review comment: That is what is happening before we build the docs, we export `BUILDING_AIRFLOW_DOCS` environment variable, `DAGS_FOLDER = '[AIRFLOW_HOME]/dags'` will be only set when we are building docs ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
