Skip to content

Commit 7f65f1c

Browse files
committed
Fix code-start headers in documentation
1 parent 13d1fc9 commit 7f65f1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/contracts/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ four indexed arguments rather than three.
7373
In particular, it is possible to "fake" the signature of another event
7474
using an anonymous event.
7575

76-
::
76+
.. code-block:: solidity
7777
7878
// SPDX-License-Identifier: GPL-3.0
7979
pragma solidity >=0.4.21 <0.9.0;

docs/natspec-format.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The following example shows a contract and a function using all available tags.
5858

5959
This may change in the future.
6060

61-
.. code:: Solidity
61+
.. code-block:: Solidity
6262
6363
// SPDX-License-Identifier: GPL-3.0
6464
pragma solidity >=0.8.2 < 0.9.0;

0 commit comments

Comments
 (0)