diff --git a/docusaurus.config.js b/docusaurus.config.js index 4711d47..a8815c6 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -40,6 +40,9 @@ const config = { organizationName: 'Noodl', // Usually your GitHub org/user name. projectName: 'Noodl', // Usually your repo name. + // This depends on the hosting provider + // trailingSlash: true, + presets: [ [ 'classic', @@ -49,7 +52,6 @@ const config = { sidebarPath: require.resolve('./sidebars.js'), breadcrumbs: false, }, - theme: { customCss: [ require.resolve('./src/css/custom.css'), @@ -150,7 +152,10 @@ const config = { [ require('./plugins/copy-node-markdowns'), { - paths: ['nodes/', 'library/modules/'], + paths: [ + { path: 'nodes/', folderName: true }, + { path: 'library/modules/' } + ], }, ], diff --git a/library/prefabs/media-query/README.md b/library/prefabs/media-query/README.md index 7d994db..e029f2a 100644 --- a/library/prefabs/media-query/README.md +++ b/library/prefabs/media-query/README.md @@ -15,13 +15,13 @@ This prefab gives you a couple of components that allow you to easily work with ## Included components -- **[Media Query Setup](components/media-query-setup)**: Sets up the global breakpoints. Needs to be placed in your projects home component. +- **[Media Query Setup](./components/media-query-setup/README.md)**: Sets up the global breakpoints. Needs to be placed in your projects home component. -- **[Match Media Query](components/match-media-query/)**: Checks all global media queries and outputs a boolean based on the current active breakpoint. +- **[Match Media Query](./components/match-media-query/README.md)**: Checks all global media queries and outputs a boolean based on the current active breakpoint. -- **[Match Custom Media Query](components/match-custom-media-query/)**: Checks for a custom one-off media query. Only used for edge-cases outside of the breapoints in **Match Media Query** +- **[Match Custom Media Query](./components/match-custom-media-query/README.md)**: Checks for a custom one-off media query. Only used for edge-cases outside of the breapoints in **Match Media Query** -- **[Media Query Debugger](components/media-query-debugger/)**: A visual component that renders the name of the currently active breakpoint. +- **[Media Query Debugger](./components/media-query-debugger/README.md)**: A visual component that renders the name of the currently active breakpoint. ## Quickstart diff --git a/library/prefabs/supabase/README.md b/library/prefabs/supabase/README.md index a64d61c..e4cd094 100644 --- a/library/prefabs/supabase/README.md +++ b/library/prefabs/supabase/README.md @@ -19,21 +19,21 @@ This prefab gives you a few components that allows you to connect to Supabase an ### Base Components -- **[Supabase - Setup Client](components/setup-client)**: Sets up the Supabse SDK client to access your supabase instance. Must be placed in your projects home component. -- **[Supabase - Example Request](components/supabase-request-example)**: An example on how to fetch data from a table in Supabase. +- **[Supabase - Setup Client](./components/setup-client/README.md)**: Sets up the Supabse SDK client to access your supabase instance. Must be placed in your projects home component. +- **[Supabase - Example Request](./components/supabase-request-example/README.md)**: An example on how to fetch data from a table in Supabase. ### User Components -- **[Supabase – Sign Up](components/supabase-sign-up)**: Signs up a new user. -- **[Supabase – Log In](components/supabase-log-in)**: Logs in a user. -- **[Supabase – Log Out](components/supabase-log-out)**: Logs out a user. -- **[Supabase – Send Password Reset](components/supabase-send-password-reset)**: Sends a link to reset user password. -- **[Supabase – Send Magic Link](components/supabase-send-magic-link)**: Sends a login link without password. -- **[Supabase – Resend Confirmation](components/supabase-resend-confirmation)**: Resend a signup confirmation email when validating sign up by email -- **[Supabase – Fetch Current User Auth](components/supabase-fetch-current-user-auth)**: Retrieves the auth data of the currently logged in user and saves it to a global `currentUser` object. -- **[Supabase – Fetch Current User Profile Data](components/supabase-fetch-current-user-profile-data)**: Retrieves the non-auth user data of the currently logged in user and saves it to a global `currentUser` object. -- **[Supabase – Update Current User Auth](components/supabase-update-current-user-auth)**: Updates auth data for the currently logged in user, both in Supabase and the `currentUser` object. -- **[Supabase – Update Current User Profile Data](components/supabase-update-current-user-profile-data)**: Updates user data for the currently logged in user, both in Supabase and the `currentUser` object. +- **[Supabase – Sign Up](./components/supabase-sign-up/README.md)**: Signs up a new user. +- **[Supabase – Log In](./components/supabase-log-in/README.md)**: Logs in a user. +- **[Supabase – Log Out](./components/supabase-log-out/README.md)**: Logs out a user. +- **[Supabase – Send Password Reset](./components/supabase-send-password-reset/README.md)**: Sends a link to reset user password. +- **[Supabase – Send Magic Link](./components/supabase-send-magic-link/README.md)**: Sends a login link without password. +- **[Supabase – Resend Confirmation](./components/supabase-resend-confirmation/README.md)**: Resend a signup confirmation email when validating sign up by email +- **[Supabase – Fetch Current User Auth](./components/supabase-fetch-current-user-auth/README.md)**: Retrieves the auth data of the currently logged in user and saves it to a global `currentUser` object. +- **[Supabase – Fetch Current User Profile Data](./components/supabase-fetch-current-user-profile-data/README.md)**: Retrieves the non-auth user data of the currently logged in user and saves it to a global `currentUser` object. +- **[Supabase – Update Current User Auth](./components/supabase-update-current-user-auth/README.md)**: Updates auth data for the currently logged in user, both in Supabase and the `currentUser` object. +- **[Supabase – Update Current User Profile Data](./components/supabase-update-current-user-profile-data/README.md)**: Updates user data for the currently logged in user, both in Supabase and the `currentUser` object. ### Pages @@ -64,6 +64,6 @@ This will set everything up and allow you to use all of the other Supabase compo You can use an **[Object](/nodes/data/object/object-node)** node set to the id `currentUser` to get all the user data (if a user is logged in). -You can use the **[Supabase – Fetch Current User Auth](components/supabase-update-current-user-auth)** component to check if the user is logged in. If the user is already authenticated from a previous session, this session is retrieved, the user is considered logged in, and the component outputs `true` on its `Logged In` output and in the `currentUser` Noodl object. +You can use the **[Supabase – Fetch Current User Auth](./components/supabase-update-current-user-auth/README.md)** component to check if the user is logged in. If the user is already authenticated from a previous session, this session is retrieved, the user is considered logged in, and the component outputs `true` on its `Logged In` output and in the `currentUser` Noodl object. -Use the **[Supabase - Fetch Current User Profile Data](components/supabase-update-current-user-profile-data)** to trigger a data fetch and refresh the non-auth data in the `currentUser` object. +Use the **[Supabase - Fetch Current User Profile Data](./components/supabase-update-current-user-profile-data/README.md)** to trigger a data fetch and refresh the non-auth data in the `currentUser` object. diff --git a/library/prefabs/xano/README.md b/library/prefabs/xano/README.md index 6055dff..29dbbc9 100644 --- a/library/prefabs/xano/README.md +++ b/library/prefabs/xano/README.md @@ -19,17 +19,17 @@ This prefab gives you a few components that allows you to connect to Xano and ma ### Base Components -- **[Xano - Setup XanoClient](components/setup-xanoclient)**: Sets up the Xano SDK client to access your instance and workspace. Must be placed in your projects home component. -- **[Xano - Request](components/xano-request)**: Does an API Call to a Xano Endpoint and returns the result. +- **[Xano - Setup XanoClient](./components/setup-xanoclient/README.md)**: Sets up the Xano SDK client to access your instance and workspace. Must be placed in your projects home component. +- **[Xano - Request](./components/xano-request/README.md)**: Does an API Call to a Xano Endpoint and returns the result. ### User Components -- **[Xano – Sign Up](components/xano-sign-up)**: Signs up a new user. -- **[Xano – Log In](components/xano-log-in)**: Logs in a user. -- **[Xano – Log Out](components/xano-log-out)**: Logs out a user. -- **[Xano – Current User](components/xano-current-user)**: Gets the user data of the currently logged in user and saves it to a global `currentUser` object. -- **[Xano – Update Current User](components/xano-update-current-user)**: Updates user data for the currently logged in user, both in Xano and the `currentUser` object. -- **[Xano – authToken – Refresh](components/xano-authtoken-refresh)**: Triggers a refresh of the auth token. Mostly for internal use inside of the Xano prefab, but exposed for advanced users. +- **[Xano – Sign Up](./components/xano-sign-up/README.md)**: Signs up a new user. +- **[Xano – Log In](./components/xano-log-in/README.md)**: Logs in a user. +- **[Xano – Log Out](./components/xano-log-out/README.md)**: Logs out a user. +- **[Xano – Current User](./components/xano-current-user/README.md)**: Gets the user data of the currently logged in user and saves it to a global `currentUser` object. +- **[Xano – Update Current User](./components/xano-update-current-user/README.md)**: Updates user data for the currently logged in user, both in Xano and the `currentUser` object. +- **[Xano – authToken – Refresh](./components/xano-authtoken-refresh/README.md)**: Triggers a refresh of the auth token. Mostly for internal use inside of the Xano prefab, but exposed for advanced users. ## Quickstart diff --git a/nodes/_overview.tsx b/nodes/_overview.tsx index 63fe8bb..80805ac 100644 --- a/nodes/_overview.tsx +++ b/nodes/_overview.tsx @@ -34,7 +34,7 @@ export function NodeReferenceListing() { export function NodeColorGuide({ text }) { return ( -
+
{text} diff --git a/nodes/basic-elements/circle.md b/nodes/basic-elements/circle/README.md similarity index 96% rename from nodes/basic-elements/circle.md rename to nodes/basic-elements/circle/README.md index 306bd5f..1fab677 100644 --- a/nodes/basic-elements/circle.md +++ b/nodes/basic-elements/circle/README.md @@ -57,8 +57,8 @@ This node supports the following properties:
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/basic-elements/columns.md b/nodes/basic-elements/columns/README.md similarity index 100% rename from nodes/basic-elements/columns.md rename to nodes/basic-elements/columns/README.md diff --git a/nodes/basic-elements/group.md b/nodes/basic-elements/group.md deleted file mode 100644 index 36e6cb7..0000000 --- a/nodes/basic-elements/group.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -hide_title: true -hide_table_of_contents: true -title: Group ---- - -<##head##> - -# Group - -This node is a styleable container. It can have other visual nodes nested inside of it. - -
- -![](/nodes/basic-elements/group/group_visual.png) - -
- -The Group is the most essential node when it comes to creating layouts and arranging visual elements. - -
- -![](/nodes/basic-elements/group/group_node.png) - -
- -<##head##> - -**Group** nodes are typically used to layout children by stacking (the default), but can also be used to simply provide margins and padding to a group of visual nodes. To learn more about **Group** nodes check out the [Layouting guide](/docs/guides/user-interfaces/layout). - -## Inputs - -Many of the UI nodes share the same inputs. Please refer to the [Visual Input Properties](/nodes/shared-props/inputs/visual-input-properties) documentation. - -This node supports the following properties: - -- [Margin](/nodes/shared-props/inputs/visual-input-properties#margin) -- [Padding](/nodes/shared-props/inputs/visual-input-properties#padding) -- [Alignment](/nodes/shared-props/inputs/visual-input-properties#alignment) -- [Dimensions](/nodes/shared-props/inputs/visual-input-properties#dimensions) -- [Layout](/nodes/shared-props/inputs/visual-input-properties#layout) -- [Align and justify content](/nodes/shared-props/inputs/visual-input-properties#align-and-justify-content) -- [Scroll](/nodes/shared-props/inputs/visual-input-properties#scroll) -- [Style](/nodes/shared-props/inputs/visual-input-properties#style) -- [Border Style](/nodes/shared-props/inputs/visual-input-properties#border-style) -- [Corner Radius](/nodes/shared-props/inputs/visual-input-properties#corner-radius) -- [Box Shadow](/nodes/shared-props/inputs/visual-input-properties#box-shadow) -- [Placement](/nodes/shared-props/inputs/visual-input-properties#placement) -- [Dimension Constraints](/nodes/shared-props/inputs/visual-input-properties#dimension-constraints) -- [Focus](/nodes/shared-props/inputs/visual-input-properties#focus) -- [Other](/nodes/shared-props/inputs/visual-input-properties#other) -- [Advanced HTML](/nodes/shared-props/inputs/visual-input-properties#advanced-html) - -## Outputs - -Many of the UI nodes share the same outputs. Please refer to the [Visual Output Properties](/nodes/shared-props/outputs/visual-output-properties) documentation. - -This node supports the following properties: - -- [Scrolling](/nodes/shared-props/outputs/visual-output-properties#scrolling) -- [Bounding Box](/nodes/shared-props/outputs/visual-output-properties#bounding-box) -- [Mounted](/nodes/shared-props/outputs/visual-output-properties#mounted) -- [Pointer Events](/nodes/shared-props/outputs/visual-output-properties#pointer-events) -- [Hover Events](/nodes/shared-props/outputs/visual-output-properties#hover-events) -- [Focus](/nodes/shared-props/outputs/visual-output-properties#focus) -- [Other](/nodes/shared-props/outputs/visual-output-properties#other) - -
- -@include "../shared-props/inputs/_visual-input-properties.md" - -@include "../shared-props/outputs/_visual-output-properties.md" - -
diff --git a/nodes/basic-elements/group/README.md b/nodes/basic-elements/group/README.md new file mode 100644 index 0000000..c88fed0 --- /dev/null +++ b/nodes/basic-elements/group/README.md @@ -0,0 +1,74 @@ +--- +hide_title: true +hide_table_of_contents: true +title: Group +--- + +<##head##> + +# Group + +This node is a styleable container. It can have other visual nodes nested inside of it. + +
+ +![](/nodes/basic-elements/group/group_visual.png) + +
+ +The Group is the most essential node when it comes to creating layouts and arranging visual elements. + +
+ +![](/nodes/basic-elements/group/group_node.png) + +
+ +<##head##> + +**Group** nodes are typically used to layout children by stacking (the default), but can also be used to simply provide margins and padding to a group of visual nodes. To learn more about **Group** nodes check out the [Layouting guide](/docs/guides/user-interfaces/layout). + +## Inputs + +Many of the UI nodes share the same inputs. Please refer to the [Visual Input Properties](/nodes/shared-props/inputs/visual-input-properties) documentation. + +This node supports the following properties: + +- [Margin](/nodes/shared-props/inputs/visual-input-properties#margin) +- [Padding](/nodes/shared-props/inputs/visual-input-properties#padding) +- [Alignment](/nodes/shared-props/inputs/visual-input-properties#alignment) +- [Dimensions](/nodes/shared-props/inputs/visual-input-properties#dimensions) +- [Layout](/nodes/shared-props/inputs/visual-input-properties#layout) +- [Align and justify content](/nodes/shared-props/inputs/visual-input-properties#align-and-justify-content) +- [Scroll](/nodes/shared-props/inputs/visual-input-properties#scroll) +- [Style](/nodes/shared-props/inputs/visual-input-properties#style) +- [Border Style](/nodes/shared-props/inputs/visual-input-properties#border-style) +- [Corner Radius](/nodes/shared-props/inputs/visual-input-properties#corner-radius) +- [Box Shadow](/nodes/shared-props/inputs/visual-input-properties#box-shadow) +- [Placement](/nodes/shared-props/inputs/visual-input-properties#placement) +- [Dimension Constraints](/nodes/shared-props/inputs/visual-input-properties#dimension-constraints) +- [Focus](/nodes/shared-props/inputs/visual-input-properties#focus) +- [Other](/nodes/shared-props/inputs/visual-input-properties#other) +- [Advanced HTML](/nodes/shared-props/inputs/visual-input-properties#advanced-html) + +## Outputs + +Many of the UI nodes share the same outputs. Please refer to the [Visual Output Properties](/nodes/shared-props/outputs/visual-output-properties) documentation. + +This node supports the following properties: + +- [Scrolling](/nodes/shared-props/outputs/visual-output-properties#scrolling) +- [Bounding Box](/nodes/shared-props/outputs/visual-output-properties#bounding-box) +- [Mounted](/nodes/shared-props/outputs/visual-output-properties#mounted) +- [Pointer Events](/nodes/shared-props/outputs/visual-output-properties#pointer-events) +- [Hover Events](/nodes/shared-props/outputs/visual-output-properties#hover-events) +- [Focus](/nodes/shared-props/outputs/visual-output-properties#focus) +- [Other](/nodes/shared-props/outputs/visual-output-properties#other) + +
+ +@include "../../shared-props/inputs/_visual-input-properties.md" + +@include "../../shared-props/outputs/_visual-output-properties.md" + +
diff --git a/nodes/basic-elements/icon.md b/nodes/basic-elements/icon/README.md similarity index 95% rename from nodes/basic-elements/icon.md rename to nodes/basic-elements/icon/README.md index 6ee6697..91ee13d 100644 --- a/nodes/basic-elements/icon.md +++ b/nodes/basic-elements/icon/README.md @@ -65,8 +65,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/basic-elements/image.md b/nodes/basic-elements/image/README.md similarity index 96% rename from nodes/basic-elements/image.md rename to nodes/basic-elements/image/README.md index 12603c7..05c2fa0 100644 --- a/nodes/basic-elements/image.md +++ b/nodes/basic-elements/image/README.md @@ -52,8 +52,8 @@ This node supports the following properties:
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/basic-elements/text.md b/nodes/basic-elements/text/README.md similarity index 96% rename from nodes/basic-elements/text.md rename to nodes/basic-elements/text/README.md index acce458..8aa35ae 100644 --- a/nodes/basic-elements/text.md +++ b/nodes/basic-elements/text/README.md @@ -62,8 +62,8 @@ This node supports the following outputs:
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/basic-elements/video.md b/nodes/basic-elements/video/README.md similarity index 98% rename from nodes/basic-elements/video.md rename to nodes/basic-elements/video/README.md index 9febb37..8951bb2 100644 --- a/nodes/basic-elements/video.md +++ b/nodes/basic-elements/video/README.md @@ -91,7 +91,7 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/cloud-functions/cloud-data/aggregate-records.md b/nodes/cloud-functions/cloud-data/aggregate-records/README.md similarity index 100% rename from nodes/cloud-functions/cloud-data/aggregate-records.md rename to nodes/cloud-functions/cloud-data/aggregate-records/README.md diff --git a/nodes/cloud-functions/request.md b/nodes/cloud-functions/request/README.md similarity index 100% rename from nodes/cloud-functions/request.md rename to nodes/cloud-functions/request/README.md diff --git a/nodes/cloud-functions/response.md b/nodes/cloud-functions/response/README.md similarity index 100% rename from nodes/cloud-functions/response.md rename to nodes/cloud-functions/response/README.md diff --git a/nodes/component-stack/component-stack-node.md b/nodes/component-stack/component-stack-node/README.md similarity index 97% rename from nodes/component-stack/component-stack-node.md rename to nodes/component-stack/component-stack-node/README.md index 1609603..d5c3e11 100644 --- a/nodes/component-stack/component-stack-node.md +++ b/nodes/component-stack/component-stack-node/README.md @@ -30,7 +30,7 @@ A Component Stack should have a number of _component entries_ that it can push o With the **clip** property set to false, the **Component Stack** will automatically take up as much space as available and expand beyond that if its component currently showing is larger. If the **clip** property is set to true it fill up any available space in its parent container and clip its components if they are larger than that. -If you want to control the size of the **Component Stack** beyond that, you should put it as a child in a [Group](/nodes/basic-elements/group) node. +If you want to control the size of the **Component Stack** beyond that, you should put it as a child in a [Group](/nodes/basic-elements/group/README.md) node. <##head##> @@ -75,8 +75,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/component-stack/pop-component.md b/nodes/component-stack/pop-component/README.md similarity index 100% rename from nodes/component-stack/pop-component.md rename to nodes/component-stack/pop-component/README.md diff --git a/nodes/component-stack/push-component.md b/nodes/component-stack/push-component/README.md similarity index 100% rename from nodes/component-stack/push-component.md rename to nodes/component-stack/push-component/README.md diff --git a/nodes/component-utilities/component-children.md b/nodes/component-utilities/component-children/README.md similarity index 100% rename from nodes/component-utilities/component-children.md rename to nodes/component-utilities/component-children/README.md diff --git a/nodes/component-utilities/component-inputs.md b/nodes/component-utilities/component-inputs/README.md similarity index 100% rename from nodes/component-utilities/component-inputs.md rename to nodes/component-utilities/component-inputs/README.md diff --git a/nodes/component-utilities/component-object.md b/nodes/component-utilities/component-object/README.md similarity index 100% rename from nodes/component-utilities/component-object.md rename to nodes/component-utilities/component-object/README.md diff --git a/nodes/component-utilities/component-outputs.md b/nodes/component-utilities/component-outputs/README.md similarity index 100% rename from nodes/component-utilities/component-outputs.md rename to nodes/component-utilities/component-outputs/README.md diff --git a/nodes/component-utilities/parent-component-object.md b/nodes/component-utilities/parent-component-object/README.md similarity index 100% rename from nodes/component-utilities/parent-component-object.md rename to nodes/component-utilities/parent-component-object/README.md diff --git a/nodes/component-utilities/set-component-object-properties.md b/nodes/component-utilities/set-component-object-properties/README.md similarity index 100% rename from nodes/component-utilities/set-component-object-properties.md rename to nodes/component-utilities/set-component-object-properties/README.md diff --git a/nodes/component-utilities/set-parent-component-object-properties.md b/nodes/component-utilities/set-parent-component-object-properties/README.md similarity index 100% rename from nodes/component-utilities/set-parent-component-object-properties.md rename to nodes/component-utilities/set-parent-component-object-properties/README.md diff --git a/nodes/data/array/array-filter.md b/nodes/data/array/array-filter/README.md similarity index 100% rename from nodes/data/array/array-filter.md rename to nodes/data/array/array-filter/README.md diff --git a/nodes/data/array/array-map.md b/nodes/data/array/array-map/README.md similarity index 100% rename from nodes/data/array/array-map.md rename to nodes/data/array/array-map/README.md diff --git a/nodes/data/array/array-node.md b/nodes/data/array/array-node/README.md similarity index 100% rename from nodes/data/array/array-node.md rename to nodes/data/array/array-node/README.md diff --git a/nodes/data/array/clear-array.md b/nodes/data/array/clear-array/README.md similarity index 100% rename from nodes/data/array/clear-array.md rename to nodes/data/array/clear-array/README.md diff --git a/nodes/data/array/create-new-array.md b/nodes/data/array/create-new-array/README.md similarity index 100% rename from nodes/data/array/create-new-array.md rename to nodes/data/array/create-new-array/README.md diff --git a/nodes/data/array/insert-into-array.md b/nodes/data/array/insert-into-array/README.md similarity index 100% rename from nodes/data/array/insert-into-array.md rename to nodes/data/array/insert-into-array/README.md diff --git a/nodes/data/array/remove-from-array.md b/nodes/data/array/remove-from-array/README.md similarity index 100% rename from nodes/data/array/remove-from-array.md rename to nodes/data/array/remove-from-array/README.md diff --git a/nodes/data/array/static-array.md b/nodes/data/array/static-array/README.md similarity index 100% rename from nodes/data/array/static-array.md rename to nodes/data/array/static-array/README.md diff --git a/nodes/data/boolean.md b/nodes/data/boolean/README.md similarity index 100% rename from nodes/data/boolean.md rename to nodes/data/boolean/README.md diff --git a/nodes/data/cloud-data/id-source.md b/nodes/data/cloud-data/_id-source.md similarity index 100% rename from nodes/data/cloud-data/id-source.md rename to nodes/data/cloud-data/_id-source.md diff --git a/nodes/data/cloud-data/add-record-relation.md b/nodes/data/cloud-data/add-record-relation/README.md similarity index 99% rename from nodes/data/cloud-data/add-record-relation.md rename to nodes/data/cloud-data/add-record-relation/README.md index b77786a..f84629a 100644 --- a/nodes/data/cloud-data/add-record-relation.md +++ b/nodes/data/cloud-data/add-record-relation/README.md @@ -33,7 +33,7 @@ Finally, send a signal to Relation | You need to choose the **Relation** property of the owning class to use when creating the relation. | | Target Record Id | <##input:target record id##>This input should be connected to the **Id** of the target record of the new relation.<##input##> | -@include "./id-source.md" +@include "../_id-source.md" | Signal | Description | | -------------------------------------- | ------------------------------------------------------------------------------------------------------------- | diff --git a/nodes/data/cloud-data/cloud-file.md b/nodes/data/cloud-data/cloud-file/README.md similarity index 100% rename from nodes/data/cloud-data/cloud-file.md rename to nodes/data/cloud-data/cloud-file/README.md diff --git a/nodes/data/cloud-data/cloud-function.md b/nodes/data/cloud-data/cloud-function/README.md similarity index 100% rename from nodes/data/cloud-data/cloud-function.md rename to nodes/data/cloud-data/cloud-function/README.md diff --git a/nodes/data/cloud-data/config.md b/nodes/data/cloud-data/config/README.md similarity index 100% rename from nodes/data/cloud-data/config.md rename to nodes/data/cloud-data/config/README.md diff --git a/nodes/data/cloud-data/create-new-record.md b/nodes/data/cloud-data/create-new-record/README.md similarity index 99% rename from nodes/data/cloud-data/create-new-record.md rename to nodes/data/cloud-data/create-new-record/README.md index cc110c7..ec177f7 100644 --- a/nodes/data/cloud-data/create-new-record.md +++ b/nodes/data/cloud-data/create-new-record/README.md @@ -32,7 +32,7 @@ You can also provide values for the properties of the record either via connecti | -------------------------------------- | ---------------------------------------------------------------------------- | | Do | <##input:do##>Send a signal on this input to create a new record.<##input##> | -@include "./_acl.md" +@include "../_acl.md" ## Outputs diff --git a/nodes/data/cloud-data/delete-record.md b/nodes/data/cloud-data/delete-record/README.md similarity index 99% rename from nodes/data/cloud-data/delete-record.md rename to nodes/data/cloud-data/delete-record/README.md index 26571f7..cbaf1c8 100644 --- a/nodes/data/cloud-data/delete-record.md +++ b/nodes/data/cloud-data/delete-record/README.md @@ -29,7 +29,7 @@ Then send a signal on the **Do** input to perform the action. | Class | You need to select the **Class** of records that this node will act on. | | Id | <##input:id##>Specify the **Id** of the record that you want to delete.<##input##> This input is only valid if **Id Source** is set to **Specify explicitly**. | -@include "./id-source.md" +@include "../_id-source.md" | Signal | Description | | -------------------------------------- | ----------------------------------------------------------------------------------------------------------- | diff --git a/nodes/data/cloud-data/filter-records.md b/nodes/data/cloud-data/filter-records/README.md similarity index 100% rename from nodes/data/cloud-data/filter-records.md rename to nodes/data/cloud-data/filter-records/README.md diff --git a/nodes/data/cloud-data/query-records.md b/nodes/data/cloud-data/query-records/README.md similarity index 100% rename from nodes/data/cloud-data/query-records.md rename to nodes/data/cloud-data/query-records/README.md diff --git a/nodes/data/cloud-data/record.md b/nodes/data/cloud-data/record/README.md similarity index 99% rename from nodes/data/cloud-data/record.md rename to nodes/data/cloud-data/record/README.md index be7acd5..6ec8048 100644 --- a/nodes/data/cloud-data/record.md +++ b/nodes/data/cloud-data/record/README.md @@ -28,7 +28,7 @@ Then you can access the properties of the specific **Record** through the proper | Class | Select the **Class** for this Records that this node will get data from. Choosing the **Class** will make the node get all properties of the class as outputs. | | Id | <##input:id##>The Id of the **Record** that this node should read data from.<##input##> | -@include "./id-source.md" +@include "../_id-source.md" | Signal | Description | | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/nodes/data/cloud-data/remove-record-relation.md b/nodes/data/cloud-data/remove-record-relation/README.md similarity index 99% rename from nodes/data/cloud-data/remove-record-relation.md rename to nodes/data/cloud-data/remove-record-relation/README.md index 371d3a9..87b3d69 100644 --- a/nodes/data/cloud-data/remove-record-relation.md +++ b/nodes/data/cloud-data/remove-record-relation/README.md @@ -33,7 +33,7 @@ Finally, send a signal to Relation | You need to choose the **Relation** property of the owning class to use when removing the relation. | | Target Record Id | <##input:target record id##>This input should be connected to the **Id** of the target record that have an existing relation to the owning record via the **Relation** property that should be removed.<##input##> | -@include "./id-source.md" +@include "../_id-source.md" | Signal | Description | | -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | diff --git a/nodes/data/cloud-data/set-record-properties.md b/nodes/data/cloud-data/set-record-properties/README.md similarity index 99% rename from nodes/data/cloud-data/set-record-properties.md rename to nodes/data/cloud-data/set-record-properties/README.md index 2cf5ee9..af015c6 100644 --- a/nodes/data/cloud-data/set-record-properties.md +++ b/nodes/data/cloud-data/set-record-properties/README.md @@ -31,13 +31,13 @@ Send a signal to Id | <##input:id##>Specify the **Id** of the record that you want to set the properties on.<##input##> This input is only valid if **Id Source** is set to **Specify explicitly**. | | Property Inputs | <##input:prop-\*##>The value to set this property to when the action is triggered.<##input##> For each property in the specified class there will be an input of the correct type. You can provide the values for the inputs either through connections or by specifying them in the property panel. | -@include "./id-source.md" +@include "../_id-source.md" | Signal | Description | | -------------------------------------- | ---------------------------------------------------------------------------------------------------------- | | Do | <##input:do##>When a signal is received on this input the properties will be set on the record.<##input##> | -@include "./_acl.md" +@include "../_acl.md" ## Outputs diff --git a/nodes/data/cloud-data/upload-file.md b/nodes/data/cloud-data/upload-file/README.md similarity index 100% rename from nodes/data/cloud-data/upload-file.md rename to nodes/data/cloud-data/upload-file/README.md diff --git a/nodes/data/color.md b/nodes/data/color/README.md similarity index 100% rename from nodes/data/color.md rename to nodes/data/color/README.md diff --git a/nodes/data/number.md b/nodes/data/number/README.md similarity index 100% rename from nodes/data/number.md rename to nodes/data/number/README.md diff --git a/nodes/data/object/create-new-object.md b/nodes/data/object/create-new-object/README.md similarity index 98% rename from nodes/data/object/create-new-object.md rename to nodes/data/object/create-new-object/README.md index 1e904d8..f6381b5 100644 --- a/nodes/data/object/create-new-object.md +++ b/nodes/data/object/create-new-object/README.md @@ -22,7 +22,7 @@ You can provide any number of properties with values for your new Object. When t ## Inputs -@include "./_properties.md" +@include "../_properties.md" | Signal | Description | | -------------------------------------- | ----------------------------------------------------------------------------------------------------------- | diff --git a/nodes/data/object/object-node.md b/nodes/data/object/object-node/README.md similarity index 100% rename from nodes/data/object/object-node.md rename to nodes/data/object/object-node/README.md diff --git a/nodes/data/object/set-object-properties.md b/nodes/data/object/set-object-properties/README.md similarity index 99% rename from nodes/data/object/set-object-properties.md rename to nodes/data/object/set-object-properties/README.md index 7d4dc7e..92cca94 100644 --- a/nodes/data/object/set-object-properties.md +++ b/nodes/data/object/set-object-properties/README.md @@ -30,7 +30,7 @@ Finally, send a signal to **Do** to perform the action. ## Inputs -@include "./_properties.md" +@include "../_properties.md" | Data | Description | | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | diff --git a/nodes/data/rest.md b/nodes/data/rest/README.md similarity index 100% rename from nodes/data/rest.md rename to nodes/data/rest/README.md diff --git a/nodes/data/run-tasks.md b/nodes/data/run-tasks/README.md similarity index 100% rename from nodes/data/run-tasks.md rename to nodes/data/run-tasks/README.md diff --git a/nodes/data/string.md b/nodes/data/string/README.md similarity index 100% rename from nodes/data/string.md rename to nodes/data/string/README.md diff --git a/nodes/data/user/log-in.md b/nodes/data/user/log-in/README.md similarity index 100% rename from nodes/data/user/log-in.md rename to nodes/data/user/log-in/README.md diff --git a/nodes/data/user/log-out.md b/nodes/data/user/log-out/README.md similarity index 100% rename from nodes/data/user/log-out.md rename to nodes/data/user/log-out/README.md diff --git a/nodes/data/user/set-user-properties.md b/nodes/data/user/set-user-properties/README.md similarity index 100% rename from nodes/data/user/set-user-properties.md rename to nodes/data/user/set-user-properties/README.md diff --git a/nodes/data/user/sign-up.md b/nodes/data/user/sign-up/README.md similarity index 100% rename from nodes/data/user/sign-up.md rename to nodes/data/user/sign-up/README.md diff --git a/nodes/data/user/user-node.md b/nodes/data/user/user-node/README.md similarity index 100% rename from nodes/data/user/user-node.md rename to nodes/data/user/user-node/README.md diff --git a/nodes/data/variable/set-variable.md b/nodes/data/variable/set-variable/README.md similarity index 100% rename from nodes/data/variable/set-variable.md rename to nodes/data/variable/set-variable/README.md diff --git a/nodes/data/variable/variable-node.md b/nodes/data/variable/variable-node/README.md similarity index 100% rename from nodes/data/variable/variable-node.md rename to nodes/data/variable/variable-node/README.md diff --git a/nodes/events/receive-event.md b/nodes/events/receive-event/README.md similarity index 100% rename from nodes/events/receive-event.md rename to nodes/events/receive-event/README.md diff --git a/nodes/events/send-event.md b/nodes/events/send-event/README.md similarity index 100% rename from nodes/events/send-event.md rename to nodes/events/send-event/README.md diff --git a/nodes/javascript/function.md b/nodes/javascript/function/README.md similarity index 100% rename from nodes/javascript/function.md rename to nodes/javascript/function/README.md diff --git a/nodes/javascript/script.md b/nodes/javascript/script/README.md similarity index 100% rename from nodes/javascript/script.md rename to nodes/javascript/script/README.md diff --git a/nodes/logic/and.md b/nodes/logic/and/README.md similarity index 100% rename from nodes/logic/and.md rename to nodes/logic/and/README.md diff --git a/nodes/logic/animate-to-value.md b/nodes/logic/animate-to-value/README.md similarity index 100% rename from nodes/logic/animate-to-value.md rename to nodes/logic/animate-to-value/README.md diff --git a/nodes/logic/inverter.md b/nodes/logic/inverter/README.md similarity index 100% rename from nodes/logic/inverter.md rename to nodes/logic/inverter/README.md diff --git a/nodes/logic/or.md b/nodes/logic/or/README.md similarity index 100% rename from nodes/logic/or.md rename to nodes/logic/or/README.md diff --git a/nodes/logic/switch.md b/nodes/logic/switch/README.md similarity index 100% rename from nodes/logic/switch.md rename to nodes/logic/switch/README.md diff --git a/nodes/logic/value-changed.md b/nodes/logic/value-changed/README.md similarity index 100% rename from nodes/logic/value-changed.md rename to nodes/logic/value-changed/README.md diff --git a/nodes/math/counter.md b/nodes/math/counter/README.md similarity index 100% rename from nodes/math/counter.md rename to nodes/math/counter/README.md diff --git a/nodes/math/expression.md b/nodes/math/expression/README.md similarity index 100% rename from nodes/math/expression.md rename to nodes/math/expression/README.md diff --git a/nodes/math/number-remapper.md b/nodes/math/number-remapper/README.md similarity index 100% rename from nodes/math/number-remapper.md rename to nodes/math/number-remapper/README.md diff --git a/nodes/navigation/common-navigation.md b/nodes/navigation/_common-navigation.md similarity index 100% rename from nodes/navigation/common-navigation.md rename to nodes/navigation/_common-navigation.md diff --git a/nodes/navigation/external-link.md b/nodes/navigation/external-link/README.md similarity index 100% rename from nodes/navigation/external-link.md rename to nodes/navigation/external-link/README.md diff --git a/nodes/navigation/navigate-to-path.md b/nodes/navigation/navigate-to-path/README.md similarity index 100% rename from nodes/navigation/navigate-to-path.md rename to nodes/navigation/navigate-to-path/README.md diff --git a/nodes/navigation/navigate.md b/nodes/navigation/navigate/README.md similarity index 100% rename from nodes/navigation/navigate.md rename to nodes/navigation/navigate/README.md diff --git a/nodes/navigation/page-inputs.md b/nodes/navigation/page-inputs/README.md similarity index 94% rename from nodes/navigation/page-inputs.md rename to nodes/navigation/page-inputs/README.md index 9617291..1337f70 100644 --- a/nodes/navigation/page-inputs.md +++ b/nodes/navigation/page-inputs/README.md @@ -20,6 +20,6 @@ One common use for this is when you want certain input parameters to be availabl <##head##> -@include "./common-navigation.md" +@include "../_common-navigation.md" <##output:pm-\*##>A page parameter that will be available as an input on any **Navigate** node that navigates to its associated **Page**.<##output##> diff --git a/nodes/navigation/page-router.md b/nodes/navigation/page-router/README.md similarity index 98% rename from nodes/navigation/page-router.md rename to nodes/navigation/page-router/README.md index bd6cfbf..3da1815 100644 --- a/nodes/navigation/page-router.md +++ b/nodes/navigation/page-router/README.md @@ -76,7 +76,7 @@ If needed, you can use multiple **Page Routers** at the same time. This could fo ![](/nodes/navigation/page-router/multi-router.png) -@include "./common-navigation.md" +@include "../_common-navigation.md" ## Visual Appearance @@ -116,8 +116,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/navigation/page.md b/nodes/navigation/page/README.md similarity index 95% rename from nodes/navigation/page.md rename to nodes/navigation/page/README.md index fe7624a..40478dd 100644 --- a/nodes/navigation/page.md +++ b/nodes/navigation/page/README.md @@ -50,8 +50,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/popups/close-popup.md b/nodes/popups/close-popup/README.md similarity index 100% rename from nodes/popups/close-popup.md rename to nodes/popups/close-popup/README.md diff --git a/nodes/popups/show-popup.md b/nodes/popups/show-popup/README.md similarity index 100% rename from nodes/popups/show-popup.md rename to nodes/popups/show-popup/README.md diff --git a/nodes/string-manipulation/string-format.md b/nodes/string-manipulation/string-format/README.md similarity index 100% rename from nodes/string-manipulation/string-format.md rename to nodes/string-manipulation/string-format/README.md diff --git a/nodes/string-manipulation/string-mapper.md b/nodes/string-manipulation/string-mapper/README.md similarity index 100% rename from nodes/string-manipulation/string-mapper.md rename to nodes/string-manipulation/string-mapper/README.md diff --git a/nodes/string-manipulation/substring.md b/nodes/string-manipulation/substring/README.md similarity index 100% rename from nodes/string-manipulation/substring.md rename to nodes/string-manipulation/substring/README.md diff --git a/nodes/ui-controls/button.md b/nodes/ui-controls/button/README.md similarity index 94% rename from nodes/ui-controls/button.md rename to nodes/ui-controls/button/README.md index 0826916..edf1229 100644 --- a/nodes/ui-controls/button.md +++ b/nodes/ui-controls/button/README.md @@ -32,7 +32,7 @@ Use variations to create different types of buttons The Button can be enabled and disabled using the Enabled input: -@include "../shared-props/inputs/_enabled.md" +@include "../../shared-props/inputs/_enabled.md" The Button node has a set of label properties that can be set: @@ -83,13 +83,13 @@ The main output for the button is the Click signal< It also features a set of more in depth signals: -@include "../shared-props/outputs/_control-events.md" +@include "../../shared-props/outputs/_control-events.md" ### States Apart from triggering signals the Button node also notifies of its state through data outputs: -@include "../shared-props/outputs/_control-states.md" +@include "../../shared-props/outputs/_control-states.md" ### Visual @@ -101,8 +101,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/ui-controls/checkbox.md b/nodes/ui-controls/checkbox/README.md similarity index 96% rename from nodes/ui-controls/checkbox.md rename to nodes/ui-controls/checkbox/README.md index 7634975..4e1279d 100644 --- a/nodes/ui-controls/checkbox.md +++ b/nodes/ui-controls/checkbox/README.md @@ -51,7 +51,7 @@ It can be enabled and disabled using the Enabled -@include "../shared-props/inputs/_enabled.md" +@include "../../shared-props/inputs/_enabled.md" @@ -124,7 +124,7 @@ It also features a set of signals:
-@include "../shared-props/outputs/_control-events.md" +@include "../../shared-props/outputs/_control-events.md"
@@ -134,7 +134,7 @@ Apart from triggering signals the Checkbox n
-@include "../shared-props/outputs/_control-states.md" +@include "../../shared-props/outputs/_control-states.md"
@@ -148,8 +148,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/ui-controls/dropdown.md b/nodes/ui-controls/dropdown/README.md similarity index 95% rename from nodes/ui-controls/dropdown.md rename to nodes/ui-controls/dropdown/README.md index c026513..a67adea 100644 --- a/nodes/ui-controls/dropdown.md +++ b/nodes/ui-controls/dropdown/README.md @@ -64,7 +64,7 @@ The mapping can be achieved through `Value: function (object) { return object.id User interaction can be enabled and disabled: -@include "../shared-props/inputs/_enabled.md" +@include "../../shared-props/inputs/_enabled.md" ### Visual @@ -97,13 +97,13 @@ The main output is the following: It also features a set of more in depth signals: -@include "../shared-props/outputs/_control-events.md" +@include "../../shared-props/outputs/_control-events.md" ### States Apart from triggering signals the Dropdown node also notifies of its state through data outputs: -@include "../shared-props/outputs/_control-states.md" +@include "../../shared-props/outputs/_control-states.md" ### Visual @@ -115,8 +115,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/ui-controls/radio-button-group.md b/nodes/ui-controls/radio-button-group/README.md similarity index 95% rename from nodes/ui-controls/radio-button-group.md rename to nodes/ui-controls/radio-button-group/README.md index 3e2509c..a1b5555 100644 --- a/nodes/ui-controls/radio-button-group.md +++ b/nodes/ui-controls/radio-button-group/README.md @@ -34,7 +34,7 @@ The output of the Radio Button Group node is t It can be enabled and disabled using the Enabled input: -@include "../shared-props/inputs/_enabled.md" +@include "../../shared-props/inputs/_enabled.md" ### Visual @@ -71,8 +71,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/ui-controls/radio-button.md b/nodes/ui-controls/radio-button/README.md similarity index 96% rename from nodes/ui-controls/radio-button.md rename to nodes/ui-controls/radio-button/README.md index 29d1bdb..978b743 100644 --- a/nodes/ui-controls/radio-button.md +++ b/nodes/ui-controls/radio-button/README.md @@ -45,7 +45,7 @@ The main input of the Radio Button node is the Value< It can be enabled and disabled using the Enabled input: -@include "../shared-props/inputs/_enabled.md" +@include "../../shared-props/inputs/_enabled.md" The Checkbox node has a set of label properties that can be set: @@ -94,13 +94,13 @@ The main output of the Radio Button node is the Check It also features a set of signals: -@include "../shared-props/outputs/_control-events.md" +@include "../../shared-props/outputs/_control-events.md" ### States Apart from triggering signals the Checkbox node also notifies of its state through data outputs: -@include "../shared-props/outputs/_control-states.md" +@include "../../shared-props/outputs/_control-states.md" This node supports the following [Visual Output Properties](/nodes/shared-props/outputs/visual-output-properties/): @@ -110,8 +110,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/ui-controls/repeater-item.md b/nodes/ui-controls/repeater-item/README.md similarity index 100% rename from nodes/ui-controls/repeater-item.md rename to nodes/ui-controls/repeater-item/README.md diff --git a/nodes/ui-controls/repeater.md b/nodes/ui-controls/repeater/README.md similarity index 100% rename from nodes/ui-controls/repeater.md rename to nodes/ui-controls/repeater/README.md diff --git a/nodes/ui-controls/slider.md b/nodes/ui-controls/slider/README.md similarity index 93% rename from nodes/ui-controls/slider.md rename to nodes/ui-controls/slider/README.md index a66f359..9967e57 100644 --- a/nodes/ui-controls/slider.md +++ b/nodes/ui-controls/slider/README.md @@ -37,7 +37,7 @@ The Slider node allows you to set a Enabled input: -@include "../shared-props/inputs/_enabled.md" +@include "../../shared-props/inputs/_enabled.md" ### Thumb and track @@ -64,13 +64,13 @@ This node supports the following [Visual Input Properties](/nodes/shared-props/i | Value | The current selected numeric value of the range control. | | Value Percent | The current selected numeric value of the range control adjusted to be between `0` and `100`, so the value of the range control in `%`. | -@include "../shared-props/outputs/_control-events.md" +@include "../../shared-props/outputs/_control-events.md" ### States The Slider -@include "../shared-props/outputs/_control-states.md" +@include "../../shared-props/outputs/_control-states.md" ### Visual @@ -82,8 +82,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/ui-controls/text-input.md b/nodes/ui-controls/text-input/README.md similarity index 96% rename from nodes/ui-controls/text-input.md rename to nodes/ui-controls/text-input/README.md index 1d11844..dded4ad 100644 --- a/nodes/ui-controls/text-input.md +++ b/nodes/ui-controls/text-input/README.md @@ -81,13 +81,13 @@ This node supports the following [Visual Input Properties](/nodes/shared-props/i It also features the standard set of UI control signals: -@include "../shared-props/outputs/_control-events.md" +@include "../../shared-props/outputs/_control-events.md" ### States Apart from triggering signals the Checkbox node also notifies of its state through data outputs: -@include "../shared-props/outputs/_control-states.md" +@include "../../shared-props/outputs/_control-states.md" ### Visual @@ -99,8 +99,8 @@ This node supports the following [Visual Output Properties](/nodes/shared-props/
-@include "../shared-props/inputs/_visual-input-properties.md" +@include "../../shared-props/inputs/_visual-input-properties.md" -@include "../shared-props/outputs/_visual-output-properties.md" +@include "../../shared-props/outputs/_visual-output-properties.md"
diff --git a/nodes/utilities/boolean-to-string.md b/nodes/utilities/boolean-to-string/README.md similarity index 100% rename from nodes/utilities/boolean-to-string.md rename to nodes/utilities/boolean-to-string/README.md diff --git a/nodes/utilities/color-blend.md b/nodes/utilities/color-blend/README.md similarity index 100% rename from nodes/utilities/color-blend.md rename to nodes/utilities/color-blend/README.md diff --git a/nodes/utilities/css-definition.md b/nodes/utilities/css-definition/README.md similarity index 100% rename from nodes/utilities/css-definition.md rename to nodes/utilities/css-definition/README.md diff --git a/nodes/utilities/date-to-string.md b/nodes/utilities/date-to-string/README.md similarity index 100% rename from nodes/utilities/date-to-string.md rename to nodes/utilities/date-to-string/README.md diff --git a/nodes/utilities/delay.md b/nodes/utilities/delay/README.md similarity index 100% rename from nodes/utilities/delay.md rename to nodes/utilities/delay/README.md diff --git a/nodes/utilities/drag.md b/nodes/utilities/drag/README.md similarity index 100% rename from nodes/utilities/drag.md rename to nodes/utilities/drag/README.md diff --git a/nodes/utilities/logic/condition.md b/nodes/utilities/logic/condition/README.md similarity index 100% rename from nodes/utilities/logic/condition.md rename to nodes/utilities/logic/condition/README.md diff --git a/nodes/utilities/logic/states.md b/nodes/utilities/logic/states/README.md similarity index 100% rename from nodes/utilities/logic/states.md rename to nodes/utilities/logic/states/README.md diff --git a/nodes/utilities/open-file-picker.md b/nodes/utilities/open-file-picker/README.md similarity index 100% rename from nodes/utilities/open-file-picker.md rename to nodes/utilities/open-file-picker/README.md diff --git a/nodes/utilities/screen-resolution.md b/nodes/utilities/screen-resolution/README.md similarity index 100% rename from nodes/utilities/screen-resolution.md rename to nodes/utilities/screen-resolution/README.md diff --git a/nodes/utilities/unique-id.md b/nodes/utilities/unique-id/README.md similarity index 100% rename from nodes/utilities/unique-id.md rename to nodes/utilities/unique-id/README.md diff --git a/plugins/copy-node-markdowns.js b/plugins/copy-node-markdowns.js index d8db451..622d94f 100644 --- a/plugins/copy-node-markdowns.js +++ b/plugins/copy-node-markdowns.js @@ -1,58 +1,64 @@ const fs = require('fs') const path = require('path') -function resolveImports(content,dir) { +function resolveImports(content, dir) { const includeMatch = content.matchAll(/@include\s\"(.*)\"/g) - for(const _s of includeMatch) { + for (const _s of includeMatch) { const includePath = _s[1]; - const absPath = path.join(dir,includePath) + const absPath = path.join(dir, includePath) const include = fs.readFileSync(absPath) - content = content.replace(_s[0],include) + content = content.replace(_s[0], include) } return content } -function copyNodeMarkdowns(dir) { - fs.readdirSync(dir).forEach(file => { - if( fs.lstatSync(dir + '/' + file).isDirectory() ) { - copyNodeMarkdowns(dir + '/' + file) - } - else if(file.endsWith('.md')) { - const content = fs.readFileSync(dir + '/' + file) - const resolved = resolveImports(content.toString(),dir) - const filePath = 'build/' + dir + '/' + file; - if (!fs.existsSync('build/' + dir)){ +function copyNodeMarkdowns(dir, asFolderName) { + fs.readdirSync(dir).forEach(function (file) { + if (fs.lstatSync(dir + '/' + file).isDirectory()) { + copyNodeMarkdowns(dir + '/' + file, asFolderName) + } else if (file.endsWith('.md')) { + const filePath = path.join(dir, file); + const content = fs.readFileSync(filePath) + const resolved = resolveImports(content.toString(), dir) + + let outputFilePath = 'build/' + filePath; + if (asFolderName) { + // HACK: Resolve the new nodes folder structure + outputFilePath = 'build/' + filePath.split("\\").slice(0, -1).join("/") + '.md' + } + + if (!fs.existsSync('build/' + dir)) { fs.mkdirSync('build/' + dir); } - fs.writeFileSync(filePath, resolved) + fs.writeFileSync(outputFilePath, resolved) } }) } -module.exports = function(context, options) { +module.exports = function (context, options) { return { - name: 'docusaurus-copy-node-markdowns-plugin', - configureWebpack(config, isServer, utils) { - const {getJSLoader} = utils; - return isServer?{ - plugins: [ - { + name: 'docusaurus-copy-node-markdowns-plugin', + configureWebpack(config, isServer, utils) { + const { + getJSLoader + } = utils; + return isServer ? { + plugins: [{ apply: (compiler) => { compiler.hooks.afterEmit.tap('AfterEmitPlugin', (compilation) => { console.log('Copying node markdown files') options.paths.forEach(path => { - console.log(' - Processing path: ' + path) - copyNodeMarkdowns(path) + console.log(' - Processing path: ' + path.path) + copyNodeMarkdowns(path.path, !!path.folderName) }) - + }) } - } - ] - }:{} - }, + }] + } : {} + }, }; - }; \ No newline at end of file +}; \ No newline at end of file diff --git a/src/pages/markdown-page.md b/src/pages/markdown-page.md deleted file mode 100644 index 9756c5b..0000000 --- a/src/pages/markdown-page.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Markdown page example ---- - -# Markdown page example - -You don't need React to write simple standalone pages. diff --git a/static/data/nodeData.js b/static/data/nodeData.js index 5bc94d1..130c786 100644 --- a/static/data/nodeData.js +++ b/static/data/nodeData.js @@ -1,5 +1,3 @@ -const { recursiveBuildSidebarData } = require('./dataHelpers'); - const NodeType = { Visual: 'is-visual', Data: 'is-data', @@ -658,7 +656,7 @@ function recursiveBuildNodeOverviewData(item) { } else { return { label: item.label, - docUrl: item.id, + docUrl: '/nodes/' + item.id, nodeType: item.nodeType, key: item.label, }; @@ -679,6 +677,23 @@ exports.getNodePageData = function () { }); }; +function recursiveBuildSidebarData(item) { + if ('items' in item) { + // is a category + return { + type: 'category', + label: item.label, + items: item.items.map(recursiveBuildSidebarData), + } + } else { + return { + type: 'doc', + label: item.label, + id: item.id + "/README", + } + } +} + exports.getNodeSidebarData = function () { return nodeData.map(recursiveBuildSidebarData); };