diff --git a/resources/docs/docs/getting-started/server-setup.md b/resources/docs/docs/getting-started/server-setup.md index 386de6a5..efe07168 100644 --- a/resources/docs/docs/getting-started/server-setup.md +++ b/resources/docs/docs/getting-started/server-setup.md @@ -1,5 +1,3 @@ -Below are the available command-line options. Note that when running without any command-line switch (ie from a file browser), a launcher window will spawn to help setting them. -
| Option | Description | |---|---| diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 1e900639..06504b0a 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -65,6 +65,7 @@ This syntax allows writing formulas in pure javascript. The code will be compile - `console`: javascript console - `locals`: object for storing/reading arbitrary values. Changing its properties *does not* trigger any synchronisation even if the value is used somewhere else. - `globals`: same as `locals` but shared between all widgets, contains a few useful variables: + - `screen`: `{width, height}` - `env`: client options (ie: url query options), - `url`: server url, @@ -74,6 +75,6 @@ In this context, `@{} / OSC{}` are also seen as variables (named `VAR_XXX`), not Parsing errors can be read in the DevTool console (F12). -## Javascript shorthand: `#{ }`
+## Javascript: `#{ }`
This is a shorthand for the `JS{{}}` syntax, the only difference being that `` is automatically prepended with a `return` statement.
diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml
index 1455bc57..37bd2367 100644
--- a/resources/mkdocs.yml
+++ b/resources/mkdocs.yml
@@ -26,6 +26,7 @@ nav:
- download.md
- Documentation:
- Getting started:
+ - docs/getting-started/introduction.md
- docs/getting-started/server-setup.md
- docs/getting-started/supported-platforms.md
- docs/getting-started/running-from-sources.md