Skip to content

Commit 643a481

Browse files
committed
Add new IDs to templates, add new Java Kotlin placeholders
1 parent 39b1564 commit 643a481

File tree

6 files changed

+27
-8
lines changed

6 files changed

+27
-8
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// The Java SDK does not support this API.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// The documentation does not have this code example in Kotlin for the Java SDK.
2+
// Please refer to the other languages or related pages for example code.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
// The documentation does not currently have this code example in Java.
1+
// The documentation does not have this code example in Java.
22
// Please refer to the other languages or related pages for example code.

templates/code-example-include.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. tabs-drivers::
22

33
tabs:
4-
- id: cpp
4+
- id: cpp-sdk
55
content: |
66

77
.. literalinclude:: /examples/generated/cpp/asymmetric-sync.snippet.create-asymmetric-object.cpp
@@ -10,7 +10,7 @@
1010
- id: csharp
1111
content: |
1212

13-
.. literalinclude:: /examples/MissingExamplePlaceholders/missing.cs
13+
.. literalinclude:: /examples/MissingPlaceholders/example.cs
1414
:language: csharp
1515

1616
- id: dart
@@ -22,13 +22,19 @@
2222
- id: java
2323
content: |
2424

25-
.. literalinclude:: /examples/MissingAPIPlaceholders/missing.java
25+
.. literalinclude:: /examples/MissingPlaceholders/api.java
2626
:language: java
2727

28+
- id: java-kotlin
29+
content: |
30+
31+
.. literalinclude:: /examples/MissingPlaceholders/example-java-kotlin.kt
32+
:language: kotlin
33+
2834
- id: javascript
2935
content: |
3036

31-
.. literalinclude:: /examples/MissingExamplePlaceholders/missing.js
37+
.. literalinclude:: /examples/MissingPlaceholders/example.js
3238
:language: javascript
3339

3440
- id: kotlin
@@ -41,7 +47,7 @@
4147
- id: objectivec
4248
content: |
4349

44-
.. literalinclude:: /examples/MissingExamplePlaceholders/missing.m
50+
.. literalinclude:: /examples/MissingPlaceholders/example.m
4551
:language: objectivec
4652

4753
- id: swift

templates/consolidated-page.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Example Page Content
4343
.. tabs-drivers::
4444

4545
.. tab::
46-
:tabid: cpp
46+
:tabid: cpp-sdk
4747

4848
.. include:: /includes/api-details/generic/crud/create-asymmetric-object-description.rst
4949

@@ -62,6 +62,11 @@ Example Page Content
6262

6363
.. include:: /includes/api-details/java/crud/create-asymmetric-object-not-supported.rst
6464

65+
.. tab::
66+
:tabid: java-kotlin
67+
68+
.. include:: /includes/api-details/java/crud/create-asymmetric-object-not-supported.rst
69+
6570
.. tab::
6671
:tabid: javascript
6772

templates/tabs-plus-code-example-include.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. tabs-drivers::
22

33
.. tab::
4-
:tabid: cpp
4+
:tabid: cpp-sdk
55

66
.. include:: /includes/api-details/generic/crud/create-asymmetric-object-description.rst
77

@@ -20,6 +20,11 @@
2020

2121
.. include:: /includes/api-details/java/crud/create-asymmetric-object-not-supported.rst
2222

23+
.. tab::
24+
:tabid: java-kotlin
25+
26+
.. include:: /includes/api-details/java/crud/create-asymmetric-object-not-supported.rst
27+
2328
.. tab::
2429
:tabid: javascript
2530

0 commit comments

Comments
 (0)