Skip to content

Commit

Permalink
Oops, missed a whole lot of geospatial code snippets!
Browse files Browse the repository at this point in the history
  • Loading branch information
dacharyc committed Aug 12, 2024
1 parent e368f5d commit e83ab6f
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,46 @@
- id: cpp-sdk
content: |

.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
:language: cpp
:copyable: false

- id: csharp
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.cs
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geobox.cs
:language: csharp
:copyable: false

- id: dart
content: |

.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
.. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geobox.dart
:language: dart

- id: java
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.java
.. literalinclude:: /examples/MissingPlaceholders/api.java
:language: java
:copyable: false

- id: java-kotlin
content: |

.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
:language: kotlin
:copyable: false

- id: javascript
content: |

.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox.js
:language: javascript

- id: kotlin
content: |

.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
.. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.geobox.kt
:language: kotlin

- id: objectivec
Expand All @@ -62,6 +62,5 @@
- id: typescript
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.ts
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox.ts
:language: typescript
:copyable: false
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,46 @@
- id: cpp-sdk
content: |

.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
:language: cpp
:copyable: false

- id: csharp
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.cs
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geocircle.cs
:language: csharp
:copyable: false

- id: dart
content: |

.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
.. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geocircle.dart
:language: dart

- id: java
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.java
.. literalinclude:: /examples/MissingPlaceholders/api.java
:language: java
:copyable: false

- id: java-kotlin
content: |

.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
:language: kotlin
:copyable: false

- id: javascript
content: |

.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle.js
:language: javascript

- id: kotlin
content: |

.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
.. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.geocircle.kt
:language: kotlin

- id: objectivec
Expand All @@ -62,6 +62,5 @@
- id: typescript
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.ts
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle.ts
:language: typescript
:copyable: false
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,47 @@
- id: cpp-sdk
content: |

.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
:language: cpp
:copyable: false

- id: csharp
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.cs
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geopolygon.cs
:language: csharp
:copyable: false

- id: dart
content: |

.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
.. literalinclude:: /examples/MissingPlaceholders/example.dart
:language: dart
:copyable: false

- id: java
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.java
.. literalinclude:: /examples/MissingPlaceholders/api.java
:language: java
:copyable: false

- id: java-kotlin
content: |

.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
:language: kotlin
:copyable: false

- id: javascript
content: |

.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geopolygon.js
:language: javascript

- id: kotlin
content: |

.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
.. literalinclude:: /examples/generated/kotlin/Geospatial.snippet.geopolygon.kt
:language: kotlin

- id: objectivec
Expand All @@ -62,6 +63,5 @@
- id: typescript
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.ts
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geopolygon.ts
:language: typescript
:copyable: false
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,54 @@
- id: cpp-sdk
content: |

.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
:language: cpp
:copyable: false

- id: csharp
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.cs
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geobox-query.cs
:language: csharp
:copyable: false

- id: dart
content: |

.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
.. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geobox-query.dart
:language: dart

- id: java
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.java
.. literalinclude:: /examples/MissingPlaceholders/api.java
:language: java
:copyable: false

- id: java-kotlin
content: |

.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
:language: kotlin
:copyable: false

- id: javascript
content: |

.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox-query.js
:language: javascript

- id: kotlin
content: |

.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
:language: kotlin
.. io-code-block::

.. input:: /examples/generated/kotlin/Geospatial.snippet.geobox-query.kt
:language: kotlin

.. output::

Companies in large box: 1
Companies in small box: 2

- id: objectivec
content: |
Expand All @@ -62,6 +69,5 @@
- id: typescript
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.ts
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geobox-query.ts
:language: typescript
:copyable: false
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,54 @@
- id: cpp-sdk
content: |

.. literalinclude:: /examples/generated/cpp/crud.snippet.read-map-value.cpp
.. literalinclude:: /examples/MissingPlaceholders/api.cpp
:language: cpp
:copyable: false

- id: csharp
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.cs
.. literalinclude:: /examples/generated/dotnet/Geospatial.snippet.geocircle-query.cs
:language: csharp
:copyable: false

- id: dart
content: |

.. literalinclude:: /examples/generated/flutter/data_types_test.snippet.map-work-with.dart
.. literalinclude:: /examples/generated/flutter/geospatial_data_test.snippet.geocircle-query.dart
:language: dart

- id: java
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.java
.. literalinclude:: /examples/MissingPlaceholders/api.java
:language: java
:copyable: false

- id: java-kotlin
content: |

.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
.. literalinclude:: /examples/MissingPlaceholders/api-java-kotlin.kt
:language: kotlin
:copyable: false

- id: javascript
content: |

.. literalinclude:: /examples/generated/node/data-types.snippet.query-a-dictionary.js
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle-query.js
:language: javascript

- id: kotlin
content: |

.. literalinclude:: /examples/generated/kotlin/ReadTest.snippet.read-realm-dictionary.kt
:language: kotlin
.. io-code-block::

.. input:: /examples/generated/kotlin/Geospatial.snippet.geocircle-query.kt
:language: kotlin

.. output::

Companies in large circle: 1
Companies in small circle: 0

- id: objectivec
content: |
Expand All @@ -62,6 +69,5 @@
- id: typescript
content: |

.. literalinclude:: /examples/MissingPlaceholders/example.ts
.. literalinclude:: /examples/generated/node/v12/geospatial.test.snippet.geocircle-query.ts
:language: typescript
:copyable: false
Loading

0 comments on commit e83ab6f

Please sign in to comment.