diff options
author | holgerd77 <Holger.Drewes@googlemail.com> | 2016-02-19 19:05:56 +0800 |
---|---|---|
committer | holgerd77 <Holger.Drewes@googlemail.com> | 2016-02-19 19:05:56 +0800 |
commit | aec2f4879a34fc0242a3352a7e52da564fe49ab4 (patch) | |
tree | a18974b69e907cf514112d473ff0bf74d5fa1bd8 | |
parent | 448d1601ce4c90e33ab43d896d08d34d2b870843 (diff) | |
download | dexon-solidity-aec2f4879a34fc0242a3352a7e52da564fe49ab4.tar.gz dexon-solidity-aec2f4879a34fc0242a3352a7e52da564fe49ab4.tar.zst dexon-solidity-aec2f4879a34fc0242a3352a7e52da564fe49ab4.zip |
Added in-depth links to function modifiers, structs and enums in structure section
-rw-r--r-- | docs/contracts.rst | 2 | ||||
-rw-r--r-- | docs/structure-of-a-contract.rst | 14 | ||||
-rw-r--r-- | docs/types.rst | 4 |
3 files changed, 16 insertions, 4 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst index 45391cd9..691da7fe 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -359,6 +359,8 @@ possible. .. index:: ! event +.. _events: + ****** Events ****** diff --git a/docs/structure-of-a-contract.rst b/docs/structure-of-a-contract.rst index 8691d33a..f00ac968 100644 --- a/docs/structure-of-a-contract.rst +++ b/docs/structure-of-a-contract.rst @@ -53,7 +53,8 @@ towards other contracts. Function Modifiers ================== -Function modifiers can be used to amend the semantics of functions in a declarative way. +Function modifiers can be used to amend the semantics of functions in a declarative way +(see :ref:`modifiers` in contracts section). :: @@ -70,7 +71,7 @@ Function modifiers can be used to amend the semantics of functions in a declarat } } -See :ref:`modifiers` in the section on contracts for a more in-depth explanation. + in the section on contracts for a more in-depth explanation. .. _structure-events: @@ -90,12 +91,16 @@ Events are convenience interfaces with the EVM logging facilities. } } +See :ref:`events` in contracts section for information on how events are declared +and can be used from within a dapp. + .. _structure-structs-types: Structs Types ============= -Structs are custom defined types that can group several variables. +Structs are custom defined types that can group several variables (see +:ref:`structs` in types section). :: @@ -113,7 +118,8 @@ Structs are custom defined types that can group several variables. Enum Types ========== -Enums can be used to create custom types with a finite set of values. +Enums can be used to create custom types with a finite set of values (see +:ref:`enums` in types section). :: diff --git a/docs/types.rst b/docs/types.rst index a9cd9cfd..ad8784b7 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -148,6 +148,8 @@ String Literals are written with double quotes (`"abc"`). As with integer litera .. index:: enum +.. _enums: + Enums ===== @@ -357,6 +359,8 @@ Members .. index:: ! struct, ! type;struct +.. _structs: + Structs ------- |