Skip to content

Commit 1638e47

Browse files
authored
Fix code block syntax targets (#1347)
1 parent 9dcfa78 commit 1638e47

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/source-1.0/spec/core/behavior-traits.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ provided request token to identify and discard duplicate requests.
3636
Client implementations MAY automatically provide a value for a request token
3737
member if and only if the member is not explicitly provided.
3838

39-
.. code-block::
39+
.. code-block:: smithy
4040
4141
operation AllocateWidget {
4242
input: AllocateWidgetInput

docs/source-2.0/guides/migrating-idl-1-to-2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ can be updated to:
421421

422422
.. code-block:: smithy
423423
424-
$version: "2.0"
424+
$version: "2"
425425
426426
namespace smithy.example
427427
@@ -445,7 +445,7 @@ means they can be individually targeted by traits, without having to have
445445
special handling inside of Smithy itself. Their definitions in the IDL are now
446446
also much more concise and readable. For example, the following model:
447447

448-
.. code-block::
448+
.. code-block:: smithy
449449
450450
$version: "1.0"
451451

docs/source-2.0/spec/aggregate-types.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ trait does not need to be added in its place.
322322
The special ":=" syntax for the operation input property automatically applies
323323
the ``input`` trait:
324324

325-
.. code-block::
325+
.. code-block:: smithy
326326
327327
operation PutTimeSpan {
328328
input := {
@@ -334,7 +334,7 @@ the ``input`` trait:
334334
Because of the ``input`` trait, the operation can be updated to remove the
335335
``required`` trait without breaking things like previously generated clients:
336336

337-
.. code-block::
337+
.. code-block:: smithy
338338
339339
operation PutTimeSpan {
340340
input := {

docs/source-2.0/spec/behavior-traits.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ provided request token to identify and discard duplicate requests.
4747
Client implementations MAY automatically provide a value for a request token
4848
member if and only if the member is not explicitly provided.
4949

50-
.. code-block::
50+
.. code-block:: smithy
5151
5252
operation AllocateWidget {
5353
input: AllocateWidgetInput

0 commit comments

Comments
 (0)