Skip to content

Commit

Permalink
Merge pull request #9450 from ballerina-platform/automate-bbes-a13416…
Browse files Browse the repository at this point in the history
…2e89c69a09e421d833b54b9ef7638b6601

[Automated] Update Ballerina By Example(BBEs) pages
  • Loading branch information
sm1990 authored Sep 24, 2024
2 parents a134162 + 7422748 commit cfcc2db
Show file tree
Hide file tree
Showing 552 changed files with 1,364 additions and 2,755 deletions.
63 changes: 36 additions & 27 deletions _data/ballerina-by-example-nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ sublinks:
- title: Boolean
id: 5
url: boolean
- title: Byte type
id: 6
url: byte-type
- title: Strings
id: 4
sublinks:
Expand Down Expand Up @@ -181,8 +184,14 @@ sublinks:
- title: Expression-oriented style
id: 1
url: expression-oriented-style
- title: Lists
- title: Equality
id: 11
sublinks:
- title: Expression equality
id: 1
url: expression-equality
- title: Lists
id: 12
sublinks:
- title: Arrays
id: 1
Expand All @@ -209,7 +218,7 @@ sublinks:
id: 8
url: binary-data
- title: Mappings
id: 12
id: 13
sublinks:
- title: Maps
id: 1
Expand All @@ -221,7 +230,7 @@ sublinks:
id: 3
url: computed-field-key
- title: Records
id: 13
id: 14
sublinks:
- title: Optional fields
id: 1
Expand All @@ -239,13 +248,13 @@ sublinks:
id: 5
url: default-values-for-record-fields
- title: Array/Map symmetry
id: 14
id: 15
sublinks:
- title: Array/Map symmetry
id: 1
url: array-map-symmetry
- title: Objects
id: 15
id: 16
sublinks:
- title: Object
id: 1
Expand Down Expand Up @@ -284,7 +293,7 @@ sublinks:
id: 12
url: start-service-from-service-class-definition
- title: Binding patterns
id: 16
id: 17
sublinks:
- title: Binding patterns
id: 1
Expand Down Expand Up @@ -332,7 +341,7 @@ sublinks:
id: 15
url: error-binding-pattern-in-match-statement
- title: Tables
id: 17
id: 18
sublinks:
- title: Table
id: 1
Expand All @@ -347,7 +356,7 @@ sublinks:
id: 4
url: structured-keys
- title: Query expressions
id: 18
id: 19
sublinks:
- title: Query expressions
id: 1
Expand Down Expand Up @@ -398,13 +407,13 @@ sublinks:
id: 16
url: aggregation
- title: Query actions
id: 19
id: 20
sublinks:
- title: Query actions
id: 1
url: query-actions
- title: JSON
id: 20
id: 21
sublinks:
- title: JSON type
id: 1
Expand Down Expand Up @@ -446,7 +455,7 @@ sublinks:
id: 13
url: jsonpath-expressions
- title: Backtick templates
id: 21
id: 22
sublinks:
- title: Raw templates
id: 1
Expand All @@ -458,7 +467,7 @@ sublinks:
id: 3
url: xml-templates
- title: XML
id: 22
id: 23
sublinks:
- title: XML data model
id: 1
Expand Down Expand Up @@ -497,7 +506,7 @@ sublinks:
id: 12
url: xml-to-record-with-projection
- title: Regular Expressions
id: 23
id: 24
sublinks:
- title: RegExp type
id: 1
Expand All @@ -506,7 +515,7 @@ sublinks:
id: 2
url: regexp-operations
- title: Metadata
id: 24
id: 25
sublinks:
- title: Documentation
id: 1
Expand All @@ -515,7 +524,7 @@ sublinks:
id: 2
url: annotations
- title: Network interaction
id: 25
id: 26
sublinks:
- title: 'Consume services: client objects'
id: 1
Expand All @@ -539,7 +548,7 @@ sublinks:
id: 7
url: resource-path-parameters
- title: Configurability
id: 26
id: 27
sublinks:
- title: Configurable variables
id: 1
Expand All @@ -551,7 +560,7 @@ sublinks:
id: 3
url: configuring-via-cli
- title: Error handling
id: 27
id: 28
sublinks:
- title: Error handling
id: 1
Expand All @@ -575,13 +584,13 @@ sublinks:
id: 7
url: error-cause
- title: Ignore return values and errors
id: 28
id: 29
sublinks:
- title: Ignore return values and errors
id: 1
url: ignoring-return-values-and-errors
- title: Mutability and identity
id: 29
id: 30
sublinks:
- title: Identity
id: 1
Expand All @@ -596,7 +605,7 @@ sublinks:
id: 4
url: immutability
- title: Concurrency
id: 30
id: 31
sublinks:
- title: Asynchronous function calls
id: 1
Expand Down Expand Up @@ -650,7 +659,7 @@ sublinks:
id: 17
url: fork
- title: Transactions
id: 31
id: 32
sublinks:
- title: Transaction statement
id: 1
Expand All @@ -674,7 +683,7 @@ sublinks:
id: 7
url: commit-rollback-handlers
- title: Concurrency safety
id: 32
id: 33
sublinks:
- title: Lock statement
id: 1
Expand Down Expand Up @@ -710,13 +719,13 @@ sublinks:
id: 11
url: run-strands-safely-on-separate-threads
- title: Interface to external code
id: 33
id: 34
sublinks:
- title: Interface to external code
id: 1
url: interface-to-external-code
- title: Testing
id: 34
id: 35
sublinks:
- title: Assertions
id: 1
Expand Down Expand Up @@ -1951,12 +1960,12 @@ sublinks:
- title: Distributed tracing
id: 1
url: tracing
- title: Counter-based metrics
id: 2
url: counter-metrics
- title: Metrics
id: 2
sublinks:
- title: Gauge-based metrics
id: 1
url: gauge-metrics
- title: Counter-based metrics
id: 2
url: counter-metrics
6 changes: 1 addition & 5 deletions swan-lake/by-example/access-json-elements/liquid.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,5 @@
"access"
],
"permalink": "/learn/by-example/access-json-elements",
"active": "access-json-elements",
"redirect_from": [
"/swan-lake/learn/by-example/access-json-elements",
"/swan-lake/learn/by-example/access-json-elements.html"
]
"active": "access-json-elements"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@
"access"
],
"permalink": "/learn/by-example/access-optional-json-elements",
"active": "access-optional-json-elements",
"redirect_from": [
"/swan-lake/learn/by-example/access-optional-json-elements",
"/swan-lake/learn/by-example/access-optional-json-elements.html"
]
"active": "access-optional-json-elements"
}
6 changes: 1 addition & 5 deletions swan-lake/by-example/aggregation/liquid.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,5 @@
"collect"
],
"permalink": "/learn/by-example/aggregation",
"active": "aggregation",
"redirect_from": [
"/swan-lake/learn/by-example/aggregation",
"/swan-lake/learn/by-example/aggregation.html"
]
"active": "aggregation"
}
39 changes: 30 additions & 9 deletions swan-lake/by-example/all-bbes.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@
"verifyBuild": true,
"verifyOutput": true,
"isLearnByExample": true
},
{
"name": "Byte type",
"url": "byte-type",
"verifyBuild": true,
"verifyOutput": true,
"isLearnByExample": true
}
]
},
Expand Down Expand Up @@ -415,6 +422,20 @@
}
]
},
{
"title": "Equality",
"column": 0,
"category": "Language concepts",
"samples": [
{
"name": "Expression equality",
"url": "expression-equality",
"verifyBuild": true,
"verifyOutput": true,
"isLearnByExample": true
}
]
},
{
"title": "Lists",
"column": 0,
Expand Down Expand Up @@ -4917,15 +4938,6 @@
"disableVerificationReason": "Includes ballerinax components",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "Counter-based metrics",
"url": "counter-metrics",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Includes ballerinax components",
"disablePlayground": true,
"isLearnByExample": false
}
]
},
Expand All @@ -4942,6 +4954,15 @@
"disableVerificationReason": "Includes ballerinax components",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "Counter-based metrics",
"url": "counter-metrics",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Includes ballerinax components",
"disablePlayground": true,
"isLearnByExample": false
}
]
}
Expand Down
6 changes: 1 addition & 5 deletions swan-lake/by-example/alternate-wait/liquid.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,5 @@
"alternate wait"
],
"permalink": "/learn/by-example/alternate-wait",
"active": "alternate-wait",
"redirect_from": [
"/swan-lake/learn/by-example/alternate-wait",
"/swan-lake/learn/by-example/alternate-wait.html"
]
"active": "alternate-wait"
}
6 changes: 1 addition & 5 deletions swan-lake/by-example/annotations/liquid.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@
"description": "This BBE demonstrates how to use annotations in Ballerina",
"keywords": ["ballerina", "ballerina by example", "bbe", "annotations"],
"permalink": "/learn/by-example/annotations",
"active": "annotations",
"redirect_from": [
"/swan-lake/learn/by-example/annotations",
"/swan-lake/learn/by-example/annotations.html"
]
"active": "annotations"
}
6 changes: 1 addition & 5 deletions swan-lake/by-example/anonymous-function/liquid.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,5 @@
"function values"
],
"permalink": "/learn/by-example/anonymous-function",
"active": "anonymous-function",
"redirect_from": [
"/swan-lake/learn/by-example/anonymous-function",
"/swan-lake/learn/by-example/anonymous-function.html"
]
"active": "anonymous-function"
}
6 changes: 1 addition & 5 deletions swan-lake/by-example/any-type/liquid.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@
"description": "This BBE demonstrates the any type in Ballerina",
"keywords": ["ballerina", "ballerina by example", "bbe", "any", "any type"],
"permalink": "/learn/by-example/any-type",
"active": "any-type",
"redirect_from": [
"/swan-lake/learn/by-example/any-type",
"/swan-lake/learn/by-example/any-type.html"
]
"active": "any-type"
}
6 changes: 1 addition & 5 deletions swan-lake/by-example/anydata-to-yaml-string/liquid.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@
"record to yaml"
],
"permalink": "/learn/by-example/anydata-to-yaml-string",
"active": "anydata-to-yaml-string",
"redirect_from": [
"/swan-lake/learn/by-example/anydata-to-yaml-string",
"/swan-lake/learn/by-example/anydata-to-yaml-string.html"
]
"active": "anydata-to-yaml-string"
}
Loading

0 comments on commit cfcc2db

Please sign in to comment.