Skip to content

Commit

Permalink
add docs for custom_javascript_files (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Dec 12, 2023
1 parent 94653c1 commit 6e43cfa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions source/reference/files/ondemand-d-ymls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,27 @@ Configuration Properties with profile support
custom_css_files: ["/myfolder/navigation.css", "/myfolder/pinned_apps.css"]
.. describe:: custom_javascript_files (Array<String>, [])

List of relative URLs to custom javascript files to include in all Dashboard pages.
These javascript files can be used to customize the behavior of the Dashboard.

The relative path will be prefixed with the value of the ``public_url`` property.

Default
Empty list, no custom javascript files will be included.

.. code-block:: yaml
custom_javascript_files: []
Example
Add two custom Javascript files: ``/myfolder/navigation.js`` and ``/myfolder/pinned_apps.js`` to the Dashboard.

.. code-block:: yaml
custom_javascript_files: ["/myfolder/navigation.js", "/myfolder/pinned_apps.js"]
.. describe:: dashboard_title (String, 'Open OnDemand')

The text to use as the main navigation logo. If the ``dashboard_header_img_logo`` property is defined,
Expand Down

0 comments on commit 6e43cfa

Please sign in to comment.