From 0c535a97a6151e5fe94efb4a9fc187327f78555e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 30 Aug 2018 18:25:10 +0200 Subject: [PATCH] docs: preparing one page widget reference --- resources/docs/css/extra.css | 4 ++++ resources/mkdocs.yml | 22 ++++++++++----------- src/browser/js/app/widgets/common/widget.js | 2 +- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/resources/docs/css/extra.css b/resources/docs/css/extra.css index 1a1d7dba..1ebc7189 100644 --- a/resources/docs/css/extra.css +++ b/resources/docs/css/extra.css @@ -62,3 +62,7 @@ article img { word-wrap: normal; direction: ltr; } + +table code { + white-space: nowrap; +} diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index 7f822517..b4e6ef23 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -28,17 +28,17 @@ pages: - Getting started: getting-started.md - User interface: interface.md - Editing sessions: editing-sessions.md - - Widgets reference: - - Widget properties: widgets/widgets.md - - Containers: widgets/containers.md - - Sliders: widgets/sliders.md - - Pads: widgets/pads.md - - Buttons: widgets/buttons.md - - Switchers: widgets/switchers.md - - Plots: widgets/plots.md - - Matrices: widgets/matrices.md - - Inputs: widgets/inputs.md - - Maths: widgets/maths.md + - Widgets reference: widgets-reference.md + # - Widget properties: widgets/widgets.md + # - Containers: widgets/containers.md + # - Sliders: widgets/sliders.md + # - Pads: widgets/pads.md + # - Buttons: widgets/buttons.md + # - Switchers: widgets/switchers.md + # - Plots: widgets/plots.md + # - Matrices: widgets/matrices.md + # - Inputs: widgets/inputs.md + # - Maths: widgets/maths.md - Extras: - Advanced property syntax: extras/advanced-property-syntax.md - CSS Tips: extras/css-tips.md diff --git a/src/browser/js/app/widgets/common/widget.js b/src/browser/js/app/widgets/common/widget.js index e4a70c03..ea8a07eb 100644 --- a/src/browser/js/app/widgets/common/widget.js +++ b/src/browser/js/app/widgets/common/widget.js @@ -87,7 +87,7 @@ class Widget extends EventEmitter { '- If midi is enabled, targets can be `midi:device_name`', '- The special item `"self"` can be used to refer to the emitting client directly.', '- If no target is set, messages can still be sent if the server has default targets', - '- The server\'s default targets can be bypassed by setting of the items to `null`' + '- The server\'s default targets can be bypassed by setting one of the items to `null`' ]}, bypass: {type: 'boolean', value: false, help: 'Set to `true` to prevent the widget from sending any osc message'}