ashb commented on a change in pull request #4788: [AIRFLOW-3811][3/3] Add automatic generation of API Reference URL: https://github.com/apache/airflow/pull/4788#discussion_r267725389
########## File path: docs/conf.py ########## @@ -160,7 +161,39 @@ # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ['_build'] +exclude_patterns = [ + '_build', + 'autoapi_templates', + '_autoapi/airflow/_vendor', + '_autoapi/airflow/api', + '_autoapi/airflow/bin', + '_autoapi/airflow/config_templates', + '_autoapi/airflow/configuration', + '_autoapi/airflow/contrib/auth', + '_autoapi/airflow/contrib/example_dags', + '_autoapi/airflow/contrib/utils', + '_autoapi/airflow/contrib/kubernetes', + '_autoapi/airflow/contrib/task_runner', + '_autoapi/airflow/contrib/index.rst', Review comment: Should we set `autoapi_ignore` instead to not generate these files in the first place? ---------------------------------------------------------------- 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] With regards, Apache Git Services
