Skip to content

Commit

Permalink
Add support for help_menu (#221)
Browse files Browse the repository at this point in the history
Add `help_menu` to template to allow the role to setup custom help menu elements.

---------

Co-authored-by: Jeff Ohrstrom <[email protected]>
  • Loading branch information
seniormuffinman and johrstrom authored Jan 10, 2024
1 parent 03e7f9c commit be26ab4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions defaults/main/.ondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,20 @@
# enable_starttls_auto: true
# open_timeout: 15
# read_timeout: 15

# help_menu:
# - group: "Documentation"
# - title: "Jupyter Docs"
# icon: "fas://book"
# url: "https://mydomain.com/path/jupyter"
# - title: "Support Docs"
# icon: "fas://book"
# url: "https://mydomain.com/path/support/docs"
# - group: "Custom Pages"
# - page: "rstudio_guide"
# title: "RStudio Guide"
# icon: "fas://window-restore"
# - group: "Profiles"
# - profile: "team1"
# title: "Team 1"
# icon: "fas://user"
1 change: 1 addition & 0 deletions molecule/default/fixtures/ondemand.d/ondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ support_ticket:
from: [email protected]
to: [email protected]


5 changes: 5 additions & 0 deletions templates/ondemand.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ dashboard_layout:
support_ticket:
{{ support_ticket | to_nice_yaml(indent=2) | indent(2) }}
{% endif %}

{% if help_menu is defined %}
help_menu:
{{ help_menu | to_nice_yaml(indent=2) | indent(2) }}
{% endif %}

0 comments on commit be26ab4

Please sign in to comment.