uranusjr commented on code in PR #60203: URL: https://github.com/apache/airflow/pull/60203#discussion_r2667831645
########## devel-common/src/docs/provider_conf.py: ########## @@ -290,6 +298,19 @@ # your API documentation from. autoapi_dirs = [BASE_PROVIDER_SRC_PATH.as_posix()] +# Include task-sdk source path for proper linking of SDK classes like BaseSensorOperator +TASK_SDK_PATH = AIRFLOW_REPO_ROOT_PATH / "task-sdk" / "src" +if TASK_SDK_PATH.exists(): + autoapi_dirs.append(TASK_SDK_PATH.as_posix()) + +# Also update autoapi_ignore to prevent conflicts between provider and task-sdk docs +# Ensure we don't exclude important SDK files that providers depend on +TASK_SDK_PATH_STR = TASK_SDK_PATH.as_posix() +if TASK_SDK_PATH_STR in autoapi_dirs: + # Adjust autoapi_ignore to make sure we don't exclude important SDK classes + # Remove any conflicting ignore patterns if needed + pass Review Comment: This doesn’t do anything? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
