Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code block syntax targets #1347

Merged
merged 1 commit into from
Aug 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source-1.0/spec/core/behavior-traits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ provided request token to identify and discard duplicate requests.
Client implementations MAY automatically provide a value for a request token
member if and only if the member is not explicitly provided.

.. code-block::
.. code-block:: smithy
operation AllocateWidget {
input: AllocateWidgetInput
Expand Down
4 changes: 2 additions & 2 deletions docs/source-2.0/guides/migrating-idl-1-to-2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ can be updated to:

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

.. code-block::
.. code-block:: smithy
$version: "1.0"
Expand Down
4 changes: 2 additions & 2 deletions docs/source-2.0/spec/aggregate-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ trait does not need to be added in its place.
The special ":=" syntax for the operation input property automatically applies
the ``input`` trait:

.. code-block::
.. code-block:: smithy
operation PutTimeSpan {
input := {
Expand All @@ -334,7 +334,7 @@ the ``input`` trait:
Because of the ``input`` trait, the operation can be updated to remove the
``required`` trait without breaking things like previously generated clients:

.. code-block::
.. code-block:: smithy
operation PutTimeSpan {
input := {
Expand Down
2 changes: 1 addition & 1 deletion docs/source-2.0/spec/behavior-traits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ provided request token to identify and discard duplicate requests.
Client implementations MAY automatically provide a value for a request token
member if and only if the member is not explicitly provided.

.. code-block::
.. code-block:: smithy
operation AllocateWidget {
input: AllocateWidgetInput
Expand Down