potiuk commented on a change in pull request #13683:
URL: https://github.com/apache/airflow/pull/13683#discussion_r558160460
##########
File path: docs/apache-airflow/howto/define_extra_link.rst
##########
@@ -54,6 +55,13 @@ The following code shows how to add extra links to an
operator:
def execute(self, context):
self.log.info("Hello World!")
+ # Defining the plugin class
+ class AirflowExtraLinkPlugin(AirflowPlugin):
+ name = "extra_link_plugin"
+ operator_extra_links = [GoogleLink(), ]
+
+.. note:: Operator Extra Links should be registered via Airflow Plugins to
work.
Review comment:
```suggestion
.. note:: Operator Extra Links should be registered via Airflow Plugins or
custom Airflow Provider to work.
```
----------------------------------------------------------------
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]