XD-DENG commented on a change in pull request #5064: [AIRFLOW-4260] Fix sphinx 
deprecation warning for autodoc_default_flags
URL: https://github.com/apache/airflow/pull/5064#discussion_r273318702
 
 

 ##########
 File path: docs/conf.py
 ##########
 @@ -122,7 +122,10 @@
     'docroles'
 ]
 
-autodoc_default_flags = ['show-inheritance', 'members']
+autodoc_default_options = {
+    'show-inheritance': True,
+    'members': True
+}
 
 viewcode_import = True
 
 Review comment:
   This line is what I was talking about.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to