airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] kaxil commented on a change in pull request #3872: [AIRFLOW-3030] Fix doc of command line interface
Date Sun, 09 Sep 2018 20:29:17 GMT
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_r216169295
 
 

 ##########
 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:
   @ashb 
   
   To answer your question, no setting `AIRFLOW_HOME` variable won't solve it as we take this
value from `airflow.cfg`, but if we change `airflow.cfg` before building docs, this solves
it for self-hosted docs but still fails for ReadTheDocs .

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

Mime
View raw message