Skip to content

Commit

Permalink
chore: Upgrade Docusaurus from v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
erictuvesson committed Jan 12, 2024
1 parent d93319c commit 770c6a6
Show file tree
Hide file tree
Showing 148 changed files with 7,070 additions and 12,656 deletions.
6 changes: 3 additions & 3 deletions javascript/reference/object/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The properties of the object will be that of the supplied data. A special case i
the id attribute that will become the id of the object and not part of the object properties.
E.g. the code below will create an object with two properties and the id set to 'A'.

```javascript
```js
Noodl.Object.create({
id: "A",
myProp1: 10,
Expand Down Expand Up @@ -50,7 +50,7 @@ Supported events:

Example usage:

```javascript
```js
myObject.on("change", function (args) {
// property with name args.name was changed
// new value in args.value
Expand Down Expand Up @@ -138,7 +138,7 @@ Noodl.Objects["unique"].fill(5);

Returns the value of the property with the specified name.
As in the set function the dot notation can be used if the object has another object as a property,
if the options {resolve:true} is supplied.
if the options `{resolve:true}` is supplied.

`myObject.get('myProp3.anotherProp',{resolve:true})`

Expand Down
4 changes: 2 additions & 2 deletions library/modules/chartjs/nodes/bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Bar Chart
hide_title: true
---

<##head##>
{/*##head##*/}

# Bar Chart

Expand All @@ -17,7 +17,7 @@ This visual node adds a bar chart to the visual tree.

[Here](../charts/bar) is an example how to use used the node.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/chartjs/nodes/bubble.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Bubble Chart
hide_title: true
---

<##head##>
{/*##head##*/}

# Bubble Chart

Expand All @@ -17,7 +17,7 @@ This visual node adds a bubble chart to the visual tree.

[Here](../charts/bubble) is an example how to use used the node.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/chartjs/nodes/doughnut.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Doughnut Chart
hide_title: true
---

<##head##>
{/*##head##*/}

# Doughnut Chart

Expand All @@ -17,7 +17,7 @@ This visual node adds a doughnut chart to the visual tree.

[Here](../charts/doughnut) is an example how to use used the node.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/chartjs/nodes/line.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Line Chart
hide_title: true
---

<##head##>
{/*##head##*/}

# Line Chart

Expand All @@ -17,7 +17,7 @@ This visual node adds a line chart to the visual tree.

[Here](../charts/line) is an example how to use used the node.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/chartjs/nodes/pie.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Pie Chart
hide_title: true
---

<##head##>
{/*##head##*/}

# Pie Chart

Expand All @@ -17,7 +17,7 @@ This visual node adds a pie chart to the visual tree.

[Here](../charts/pie) is an example how to use used the node.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/chartjs/nodes/polar-area.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Polar Area Chart
hide_title: true
---

<##head##>
{/*##head##*/}

# Polar Area Chart

Expand All @@ -17,7 +17,7 @@ This visual node adds a polar area chart to the visual tree.

[Here](../charts/polar-area) is an example how to use used the node.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/chartjs/nodes/radar.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Radar Chart
hide_title: true
---

<##head##>
{/*##head##*/}

# Radar Chart

Expand All @@ -17,7 +17,7 @@ This visual node adds a radar chart to the visual tree.

[Here](../charts/radar) is an example how to use used the node.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/chartjs/nodes/scatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Scatter Chart
hide_title: true
---

<##head##>
{/*##head##*/}

# Scatter Chart

Expand All @@ -17,7 +17,7 @@ This visual node adds a scatter chart to the visual tree.

[Here](../charts/scatter) is an example how to use used the node.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/custom-html/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Custom HTML
hide_title: true
---

<##head##>
{/*##head##*/}

# Custom HTML

Expand All @@ -27,7 +27,7 @@ You can pass dynamic values to your markup by using template strings. `{{ FillCo

This node also allows you to add script tags to your app. For security reasons all script tags are deactivated, but if you need to run a script (required for some embeds) you can turn off that fail safe. <strong>Please note that passing user input to your template string variables can be a security risk for you and your users, leaving you vulnerable to [XSS Attacks](https://en.wikipedia.org/wiki/Cross-site_scripting).</strong>

<##head##>
{/*##head##*/}

## Inputs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ title: Geospatial Turf API
hide_title: true
---

<##head##>
{/*##head##*/}

# Turf.js API

Returns the Turf.js API object, allowing to use other Turf.js functions that doesn't have nodes yet.

<##head##>
{/*##head##*/}

## Outputs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ title: Geospatial Area
hide_title: true
---

<##head##>
{/*##head##*/}

# Geospatial Area

Takes an array of coordinates and returns their area in different formats.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ title: Geospatial Center Of Mass
hide_title: true
---

<##head##>
{/*##head##*/}

# Geospatial Center Of Mass

Takes an array of coordinates and returns its center of mass using this formula: Centroid of Polygon.

<##head##>
{/*##head##*/}

## Inputs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ title: Geospatial Center
hide_title: true
---

<##head##>
{/*##head##*/}

# Geospatial Center

Takes a GeoJSON feature and returns the absolute center point.

<##head##>
{/*##head##*/}

Here is an example of how to use it.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Google Analytics Root
hide_title: true
---

<##head##>
{/*##head##*/}

# Google Analytics Root

Expand All @@ -17,7 +17,7 @@ This node loads Google Analytics in your Noodl app. It _must_ be placed in your

This node uses [Google Analytics 4](https://developers.google.com/analytics/devguides/collection/ga4) and requires a [Google Analytics Measurement ID](https://support.google.com/analytics/answer/9539598#find-G-ID).

<##head##>
{/*##head##*/}

## Inputs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Send Google Analytics Data
hide_title: true
---

<##head##>
{/*##head##*/}

# Send Google Analytics Data

Expand All @@ -15,7 +15,7 @@ This node is used to send custom data to Google Analytics. It works similarily t

</div>

<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/graphql/graphql-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ title: GraphQL Query
hide_title: true
---

<##head##>
{/*##head##*/}
# GraphQL Query

This node enables you to connect to GraphQL based API:s in a quick and easy way.

![](/library/modules/graphql/graphql-guide-img/graphql-query-node.png)

<##head##>
{/*##head##*/}

## Inputs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Query Sheet Aggregate
hide_title: true
---

<##head##>
{/*##head##*/}

# Query Sheet Aggregate

Expand All @@ -21,7 +21,7 @@ This node is used do aggregate data queries on a column from a public Google She

> Note that the Google Sheet need to be made public for Noodl to be able to access it.
<##head##>
{/*##head##*/}

## Results from the Aggregate Query

Expand Down
4 changes: 2 additions & 2 deletions library/modules/gsheets/node-docs/query-sheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Query Sheet
hide_title: true
---

<##head##>
{/*##head##*/}

# Query Sheet

Expand All @@ -25,7 +25,7 @@ The node works in a similar way as the [Query Records](/nodes/data/cloud-data/qu

> Note that the Google Sheet need to be made public for Noodl to be able to access it.
<##head##>
{/*##head##*/}

## Document Id and Sheet Name

Expand Down
4 changes: 2 additions & 2 deletions library/modules/gsheets/node-docs/sheet-row/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Sheet Row
hide_title: true
---

<##head##>
{/*##head##*/}

# Sheet Row

Expand All @@ -25,7 +25,7 @@ By setting the `Row Id` of the **Sheet Row**, and selecting the **Sheet** (if yo

> Note that the Google Sheet need to be made public for Noodl to be able to access it.
<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/i18next/i18next-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: i18next
hide_title: true
---

<##head##>
{/*##head##*/}
# i18next

This is used to register bundles and to set and get the current language.
<##head##>
{/*##head##*/}

## Inputs

Expand Down
4 changes: 2 additions & 2 deletions library/modules/i18next/language-bundle.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: LanguageBundle
hide_title: true
---

<##head##>
{/*##head##*/}
# LanguageBundle

The language bundle contains the translations for a language. If you have multiple languages you will have one LanguageBundle for each language and they generally should contain the same strings, translated to the respective language.
Expand All @@ -27,7 +27,7 @@ In this example the key `loginpage.confirm_button.hover_text` would identify the
Note that i18next supports various dynamic features in the texts, e.g. plurals, date formats, etc. These are generally supported when used in Noodl.

There are typically two ways to use Language Bundles. For static texts, for example UI texts, you edit the bundle object directly in Noodl (pressing the "Edit" button on the property panel). As you build the UI you add new texts to the bundle. You have one bundle per language. For dynamic texts, for example loaded during execution from a database, you programatically create bundle objects and load them into the **LanguageBundle** when available and using the AddBundleObject input.
<##head##>
{/*##head##*/}

## Inputs

Expand Down
Loading

0 comments on commit 770c6a6

Please sign in to comment.