jhtimmins commented on a change in pull request #14197:
URL: https://github.com/apache/airflow/pull/14197#discussion_r579522200
##########
File path: airflow/www/extensions/init_appbuilder_links.py
##########
@@ -21,10 +21,19 @@
def init_appbuilder_links(app):
"""Add links to Docs menu in navbar"""
appbuilder = app.appbuilder
- appbuilder.add_link("Documentation", href=get_docs_url(), category="Docs")
- appbuilder.add_link("Airflow Website", href='https://airflow.apache.org',
category="Docs")
- appbuilder.add_link("GitHub Repo",
href='https://github.com/apache/airflow', category="Docs")
+ appbuilder.add_link(name="docs_links", label="Documentation",
href=get_docs_url(), category="Docs")
appbuilder.add_link(
- "REST API Reference (Swagger UI)",
href='/api/v1./api/v1_swagger_ui_index', category="Docs"
+ name="docs_links", label="Airflow Website",
href='https://airflow.apache.org', category="Docs"
+ )
+ appbuilder.add_link(
+ name="docs_links", label="GitHub Repo",
href='https://github.com/apache/airflow', category="Docs"
Review comment:
@kaxil I mean, that's basically what this is. There isn't really another
way to group these together.
----------------------------------------------------------------
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]