mik-laj commented on a change in pull request #4894: [AIRFLOW-3996] Add view 
source link to included fragments
URL: https://github.com/apache/airflow/pull/4894#discussion_r265596147
 
 

 ##########
 File path: docs/conf.py
 ##########
 @@ -99,6 +99,8 @@
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 
+sys.path.append(os.path.abspath('exts'))
 
 Review comment:
   This is the recommended way to add extensions. Building documentation always 
depends on the place where it is run. This is the rule of the `sphinx-build` 
application..
   
https://www.sphinx-doc.org/en/master/usage/extensions/index.html?highlight=os.path.abspath#where-to-put-your-own-extensions

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

Reply via email to