You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2018/09/09 20:06:05 UTC

[GitHub] ashb commented on a change in pull request #3872: [AIRFLOW-3030] Fix doc of command line interface

ashb 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_r216168579
 
 

 ##########
 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:
   Could we get around all of these changes by instead setting `export AIRFLOW_HOME='$AIRFLOW_HOME'` before we build the 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:
users@infra.apache.org


With regards,
Apache Git Services