Skip to content

Commit

Permalink
Sidebar help: Add script editor docs
Browse files Browse the repository at this point in the history
Depends on openhab/openhab-docs#2231.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 committed Feb 10, 2024
1 parent 22a4b99 commit 8dab642
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -82,6 +82,8 @@
<context v-else-if="($store.state.pagePath).indexOf('/developer/widgets') >= 0" path="/developer/widgets" />
<!-- /about/ docs -->
<context v-else-if="($store.state.pagePath).indexOf('/about/') >= 0" path="/about" />
<!-- script editor docs -->
<context v-else-if="/\/settings\/(scripts\/|rules\/[A-z0-9]+\/script)/.test($store.state.pagePath)" path="/settings/script-editor.html" />
<!-- default docs -->
<context v-else path="/index" />

Expand Down

0 comments on commit 8dab642

Please sign in to comment.