diff options
author | holgerd77 <Holger.Drewes@googlemail.com> | 2016-02-19 18:03:30 +0800 |
---|---|---|
committer | holgerd77 <Holger.Drewes@googlemail.com> | 2016-02-19 18:03:30 +0800 |
commit | 6640e9e91897e4b030d1fea1a3c7a227c902bd26 (patch) | |
tree | 0d6f890e27dd588dad1606e81dd34c81353e8371 /docs | |
parent | 2e52170d7a31e846c30770ec0c1383c68d9b71c6 (diff) | |
download | dexon-solidity-6640e9e91897e4b030d1fea1a3c7a227c902bd26.tar.gz dexon-solidity-6640e9e91897e4b030d1fea1a3c7a227c902bd26.tar.zst dexon-solidity-6640e9e91897e4b030d1fea1a3c7a227c902bd26.zip |
Changed reference naming from understore to dash separation for consistency with existing naming
Diffstat (limited to 'docs')
-rw-r--r-- | docs/structure-of-a-contract.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/structure-of-a-contract.rst b/docs/structure-of-a-contract.rst index 1b80b1c2..2916c3f1 100644 --- a/docs/structure-of-a-contract.rst +++ b/docs/structure-of-a-contract.rst @@ -7,11 +7,11 @@ Structure of a Contract *********************** Contracts in Solidity are similar to classes in object-oriented languages. -Each contract can contain declarations of :ref:`state_variables`, :ref:`functions`, -:ref:`function_modifiers`, :ref:`events`, :ref:`structs_types` and :ref:`enum_types`. +Each contract can contain declarations of :ref:`state-variables`, :ref:`functions`, +:ref:`function-modifiers`, :ref:`events`, :ref:`structs-types` and :ref:`enum-types`. Furthermore, contracts can inherit from other contracts. -.. _state_variables: +.. _state-variables: State Variables =============== @@ -40,7 +40,7 @@ Functions are the executable units of code within a contract. } } -.. _function_modifiers: +.. _function-modifiers: Function Modifiers ================== @@ -80,7 +80,7 @@ Events are convenience interfaces with the EVM logging facilities. } } -.. _structs_types: +.. _structs-types: Structs Types ============= @@ -98,7 +98,7 @@ Structs are custom defined types that can group several variables. } } -.. _enum_types: +.. _enum-types: Enum Types ========== |