diff --git a/superset/config.py b/superset/config.py index 96ccb09d0..b402fec9a 100644 --- a/superset/config.py +++ b/superset/config.py @@ -592,6 +592,8 @@ WEBDRIVER_BASEURL = 'http://0.0.0.0:8080/' # Send user to a link where they can report bugs BUG_REPORT_URL = None +# Send user to a link where they can read more about Superset +DOCUMENTATION_URL = None # What is the Last N days relative in the time selector to: # 'today' means it is midnight (00:00:00) of today in the local timezone diff --git a/superset/templates/appbuilder/navbar_right.html b/superset/templates/appbuilder/navbar_right.html index 878e93764..73c545e39 100644 --- a/superset/templates/appbuilder/navbar_right.html +++ b/superset/templates/appbuilder/navbar_right.html @@ -18,6 +18,7 @@ #} {% set bug_report_url = appbuilder.app.config.get('BUG_REPORT_URL') %} +{% set documentation_url = appbuilder.app.config.get('DOCUMENTATION_URL') %} {% set locale = session['locale'] %} {% if not locale %} {% set locale = 'en' %} @@ -35,6 +36,17 @@ {% endif %} +{% if documentation_url %} +
  • + +   + +
  • +{% endif %} {% if bug_report_url %}