Merge pull request #9588 from ethereum/docs-fix-broken-highlighting-in-some-blocks

[docs] Fix solidity code blocks using incorrect highlighter name
This commit is contained in:
chriseth 2020-08-06 15:42:18 +02:00 committed by GitHub
commit ab4aad6dc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ The following example shows a contract and a function using all available tags.
public. You are welcome to use similar comments for your internal and
private functions, but those will not be parsed.
.. code:: solidity
.. code:: Solidity
// SPDX-License-Identifier: GPL-3.0
pragma solidity >0.6.10 <0.8.0;
@ -126,7 +126,7 @@ JSON output, for example the end-user client software, may present this to the e
For example, some client software will render:
.. code:: solidity
.. code:: Solidity
/// @notice This function will multiply `a` by 7

View File

@ -637,7 +637,7 @@ Example
Assume that you have the following contract in ``Source.sol``:
.. code-block:: solidity
.. code-block:: Solidity
pragma solidity >=0.6.0 <0.6.4;
// This will not compile after 0.7.0
@ -691,7 +691,7 @@ It is recommended to explicitly specify the upgrade modules by using ``--modules
The command above applies all changes as shown below. Please review them carefully (the pragmas will
have to be updated manually.)
.. code-block:: solidity
.. code-block:: Solidity
pragma solidity >0.6.99 <0.8.0;
// SPDX-License-Identifier: GPL-3.0