From 7f65f1cc02861077f84465d92b561dd1c0f1f758 Mon Sep 17 00:00:00 2001 From: Marenz Date: Thu, 1 Jul 2021 15:17:42 +0200 Subject: [PATCH] Fix code-start headers in documentation --- docs/contracts/events.rst | 2 +- docs/natspec-format.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contracts/events.rst b/docs/contracts/events.rst index aae16fb8b..d282499dc 100644 --- a/docs/contracts/events.rst +++ b/docs/contracts/events.rst @@ -73,7 +73,7 @@ four indexed arguments rather than three. In particular, it is possible to "fake" the signature of another event using an anonymous event. -:: +.. code-block:: solidity // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.4.21 <0.9.0; diff --git a/docs/natspec-format.rst b/docs/natspec-format.rst index 7007fe4a1..a49ddd895 100644 --- a/docs/natspec-format.rst +++ b/docs/natspec-format.rst @@ -58,7 +58,7 @@ The following example shows a contract and a function using all available tags. This may change in the future. -.. code:: Solidity +.. code-block:: Solidity // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.8.2 < 0.9.0;