diff --git a/source/includes/api-details/dart/manage-files/reduce-file-size-on-launch-description.rst b/source/includes/api-details/dart/manage-files/reduce-file-size-on-launch-description.rst index 7466f15b43..73ed3957ae 100644 --- a/source/includes/api-details/dart/manage-files/reduce-file-size-on-launch-description.rst +++ b/source/includes/api-details/dart/manage-files/reduce-file-size-on-launch-description.rst @@ -13,7 +13,7 @@ another process is not currently accessing the realm file. The most basic usage is to define a file size at which compaction should occur. .. literalinclude:: /examples/generated/flutter/compact_realm_test.snippet.compact-with-callback.dart -:language: dart + :language: dart You can define more complex logic if you need to optimize performance for different use cases. For example, you could set a threshold for compaction diff --git a/source/includes/api-details/swift/manage-files/reduce-file-size-on-launch-description.rst b/source/includes/api-details/swift/manage-files/reduce-file-size-on-launch-description.rst index 6b8c3c5791..d9a54db442 100644 --- a/source/includes/api-details/swift/manage-files/reduce-file-size-on-launch-description.rst +++ b/source/includes/api-details/swift/manage-files/reduce-file-size-on-launch-description.rst @@ -14,7 +14,7 @@ For more information about the conditions to execute in the method, see: regardless of any configuration settings. .. literalinclude:: /examples/generated/code/start/Compacting.snippet.compacting.swift -:language: swift + :language: swift When you use the Swift async/await syntax to open a realm asynchronously, you can also compact a realm in the background. \ No newline at end of file diff --git a/source/includes/sdk-examples/manage-files/reduce-file-size-compact-method.rst b/source/includes/sdk-examples/manage-files/reduce-file-size-compact-method.rst index bd3f6faad8..fb9c6d107a 100644 --- a/source/includes/sdk-examples/manage-files/reduce-file-size-compact-method.rst +++ b/source/includes/sdk-examples/manage-files/reduce-file-size-compact-method.rst @@ -49,8 +49,8 @@ .. literalinclude:: /examples/MissingPlaceholders/api.swift :language: swift - - id: typescript - content: | + - id: typescript + content: | .. literalinclude:: /examples/MissingPlaceholders/example.ts :language: typescript diff --git a/source/includes/sdk-examples/manage-files/reduce-file-size-compacted-copy.rst b/source/includes/sdk-examples/manage-files/reduce-file-size-compacted-copy.rst index 6ee8a7d04f..6c33d8cd80 100644 --- a/source/includes/sdk-examples/manage-files/reduce-file-size-compacted-copy.rst +++ b/source/includes/sdk-examples/manage-files/reduce-file-size-compacted-copy.rst @@ -1,6 +1,6 @@ .. tabs-drivers:: - - tabs: + + tabs: - id: cpp-sdk content: | @@ -34,23 +34,23 @@ - id: kotlin content: | - .. literalinclude:: /examples/generated/kotlin/Compacting.snippet.compactRealm.kt + .. literalinclude:: /examples/MissingPlaceholders/example.kt :language: kotlin - id: objectivec content: | - .. literalinclude:: /examples/MissingPlaceholders/api.m + .. literalinclude:: /examples/MissingPlaceholders/example.m :language: objectivec - id: swift content: | - .. literalinclude:: /examples/MissingPlaceholders/api.swift + .. literalinclude:: /examples/MissingPlaceholders/example.swift :language: swift - - id: typescript - content: | + - id: typescript + content: | .. literalinclude:: /examples/MissingPlaceholders/example.ts :language: typescript diff --git a/source/includes/sdk-examples/manage-files/reduce-file-size-on-launch.rst b/source/includes/sdk-examples/manage-files/reduce-file-size-on-launch.rst index 1f1e0ba427..6b8737cbfe 100644 --- a/source/includes/sdk-examples/manage-files/reduce-file-size-on-launch.rst +++ b/source/includes/sdk-examples/manage-files/reduce-file-size-on-launch.rst @@ -49,8 +49,8 @@ .. literalinclude:: /examples/generated/code/start/Compacting.snippet.async-compact.swift :language: swift - - id: typescript - content: | + - id: typescript + content: | .. literalinclude:: /examples/MissingPlaceholders/example.ts :language: typescript