Skip to content

Commit be26ab4

Browse files
Add support for help_menu (#221)
Add `help_menu` to template to allow the role to setup custom help menu elements. --------- Co-authored-by: Jeff Ohrstrom <johrstrom@osc.edu>
1 parent 03e7f9c commit be26ab4

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

defaults/main/.ondemand.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,20 @@
5151
# enable_starttls_auto: true
5252
# open_timeout: 15
5353
# read_timeout: 15
54+
55+
# help_menu:
56+
# - group: "Documentation"
57+
# - title: "Jupyter Docs"
58+
# icon: "fas://book"
59+
# url: "https://mydomain.com/path/jupyter"
60+
# - title: "Support Docs"
61+
# icon: "fas://book"
62+
# url: "https://mydomain.com/path/support/docs"
63+
# - group: "Custom Pages"
64+
# - page: "rstudio_guide"
65+
# title: "RStudio Guide"
66+
# icon: "fas://window-restore"
67+
# - group: "Profiles"
68+
# - profile: "team1"
69+
# title: "Team 1"
70+
# icon: "fas://user"

molecule/default/fixtures/ondemand.d/ondemand.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ support_ticket:
3636
from: config@example.com
3737
to: support@example.com
3838

39+

templates/ondemand.yml.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@ dashboard_layout:
2121
support_ticket:
2222
{{ support_ticket | to_nice_yaml(indent=2) | indent(2) }}
2323
{% endif %}
24+
25+
{% if help_menu is defined %}
26+
help_menu:
27+
{{ help_menu | to_nice_yaml(indent=2) | indent(2) }}
28+
{% endif %}

0 commit comments

Comments
 (0)