chore: Upgrade Docusaurus from v2 to v3 (#52)

* chore: Upgrade Docusaurus from v2 to v3

* chore: Update "Test build" GH workflow

* fix: build

All markdown is processed as MDX

* fix: Broken links
This commit is contained in:
Eric Tuvesson
2024-01-12 16:53:22 +01:00
committed by GitHub
parent 65b0cf0417
commit 656e5fc8d2
156 changed files with 4854 additions and 10445 deletions

View File

@@ -4,7 +4,7 @@ hide_table_of_contents: true
title: Switch node
---
<##head##>
{/*##head##*/}
# Switch
@@ -16,7 +16,7 @@ This node holds a <span className="ndl-data">boolean</span> state. It is either
</div>
<##head##>
{/*##head##*/}
## Inputs
@@ -24,9 +24,9 @@ This node holds a <span className="ndl-data">boolean</span> state. It is either
| Signal | Description |
| ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <span className="ndl-signal">On</span> | <##input:on##>Sending a signal to this input sets the state of the **Switch** to _On_.<##input##> |
| <span className="ndl-signal">Off</span> | <##input:on##>Sending a signal to this input sets the state of the **Switch** to _Off_.<##input##> |
| <span className="ndl-signal">Flip</span> | <##input:flip##>Sending a signal to this input sets the **Switch** to the opposite of its current state. If it is _On_ flip will set it to _Off_ and vice versa.<##input##> |
| <span className="ndl-signal">On</span> | {/*##input:on##*/}Sending a signal to this input sets the state of the **Switch** to _On_.{/*##input##*/} |
| <span className="ndl-signal">Off</span> | {/*##input:on##*/}Sending a signal to this input sets the state of the **Switch** to _Off_.{/*##input##*/} |
| <span className="ndl-signal">Flip</span> | {/*##input:flip##*/}Sending a signal to this input sets the **Switch** to the opposite of its current state. If it is _On_ flip will set it to _Off_ and vice versa.{/*##input##*/} |
| Data | Description |
| --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -36,9 +36,9 @@ This node holds a <span className="ndl-data">boolean</span> state. It is either
| Data | Description |
| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| <span className="ndl-data">Current State</span> | <##output:state##>This output is either _True_ or _False_ depending on if the **Switch** is _On_ or _Off_.<##output##> |
| <span className="ndl-data">Current State</span> | {/*##output:state##*/}This output is either _True_ or _False_ depending on if the **Switch** is _On_ or _Off_.{/*##output##*/} |
| Signal | Description |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| <span className="ndl-signal">Switched To On</span> | <##output:switchedToOn##>This signal is sent when the **Switch** goes from _Off_ to _On_.<##output##> |
| <span className="ndl-signal">Switched To Off</span> | <##output:switchedToOff##>This signal is sent when the **Switch** goes from _On_ to _Off_.<##output##> |
| <span className="ndl-signal">Switched To On</span> | {/*##output:switchedToOn##*/}This signal is sent when the **Switch** goes from _Off_ to _On_.{/*##output##*/} |
| <span className="ndl-signal">Switched To Off</span> | {/*##output:switchedToOff##*/}This signal is sent when the **Switch** goes from _On_ to _Off_.{/*##output##*/} |