Commit Graph

189 Commits

Author SHA1 Message Date
Alexander Arlt
af8bb5fb60 Allow natspec comments on state variables. 2020-05-19 11:01:52 -05:00
chriseth
d33b67b3c2 Add license tags to documentation snippets. 2020-05-13 22:16:34 +02:00
Erik Kundt
50c22f0800 Adds script which compiles docs example with minimum compiler version. 2020-03-18 19:27:38 +01:00
chriseth
cdfb872389 [DOCS] Fix pre-computation of salted address. 2020-03-08 19:15:21 +01:00
Chris Chinchilla
9641d93167 Clarify array copying semantics 2020-02-18 16:50:34 +02:00
chriseth
a3b7c73e3f Some clarification about try-catch. 2020-02-03 14:21:37 +01:00
chriseth
981ed5f773 Documentation for function call options. 2020-01-23 21:20:01 +01:00
Chris Chinchilla
f46218cad9 Update pragma versions for 0.6.0 2019-12-16 17:36:44 +01:00
chriseth
670b719773 Updates to control structures (2).
Co-Authored-By: Bhargava Shastry <bhargava.shastry@ethereum.org>
2019-12-12 17:01:57 +01:00
chriseth
4c1cbb2265 Updates to control structures (1). 2019-12-12 14:23:19 +01:00
chriseth
f7fc42d8c3
Merge pull request #7826 from ethereum/develop
Merge develop into develop_060
2019-11-28 13:37:19 +01:00
chriseth
3b2d1eb981 Remove unrelated link. 2019-11-27 23:14:03 +01:00
Erik Kundt
a69a344d70 Adjusts documentation to read-only array length. 2019-11-19 21:11:14 +01:00
chriseth
a54d9d622f Grammar and Documentation. 2019-09-23 17:22:42 +02:00
Chris Chinchilla
168412dd8d
Fix style issues in control structures 2019-06-26 17:09:50 +02:00
Chris Chinchilla
30e843a217 State what default value of enum in example is
Fix formatting issue and add mention of the enum default type

Other files
2019-06-24 14:32:53 +02:00
Chris Ward
df31461c5b Start to clarify revert vs require usage
Start rewrite of require vs revert clarification

Small clarification
2019-06-17 16:47:13 +01:00
Vignesh Karthikeyan
3d40152102 Brought warning to high priority
Update functions.rst

Update for warning over note priority

Updated units-and-global-variables.rst

Updated file for warning over note priority

Updated control-structures.rst

Updated priority of warning over note

Updated assembly.rst

Updated priority of warning over code

Updated introduction-to-smart-contracts.rst

Updated priority of warning over note

Update installing-solidity.rst

Corrected control-structures.rst

Corrected white space error

Corrected whitespace

Corrected whitespace introduction to smart contract
2019-06-04 14:46:26 +05:30
Chris Ward
bebc479fb5 Update code examples to match style guide
Remove visibility
2019-05-29 16:21:18 +02:00
Chris Ward
dfeb1dec9e Add rounding warning
Move warning
2019-04-04 16:41:07 +02:00
chriseth
8d401ba936 Update pragmas. 2019-03-05 18:10:09 +01:00
Mathias Baumann
8d3f0a16a3 Enhance documentation about usage of value and gas
People might look for information in the members section of the function types chapter.
2019-02-13 11:56:17 +01:00
Chris Ward
9a8882c9fc Move string manipulation FAQ items to type docs
Update docs/types/value-types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Update docs/types/value-types.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Fixed formatting

Re-add example

Clarify text

Rearrange string manipulation
2019-01-22 13:57:54 +02:00
Chris Ward
f39993ced6 Readd example 2019-01-21 12:33:11 +02:00
Chris Ward
cefc6c433e Update non-existant pragma 0.4.99 to 0.5.0
Use correct syntax for pragma

Change pragma syntax

One more change to pragma syntax
2019-01-07 14:20:10 +01:00
Chris Ward
12daec3535 Move function related content to contracts doc 2018-11-26 19:46:31 +01:00
Chris Ward
58181e8df9 Move FAQ point to input and output parameters and polish surrounding text
Update docs/control-structures.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Remove line with no further details.

Fix tabs

Remove FAQ item
2018-11-26 11:04:36 +01:00
Chris Ward
eef6697355 Change terminology used for input output parameters
Change from review

Changes from review

Changes fro review

Changes from review
2018-11-14 14:46:37 +01:00
Chris Ward
6319a3fd06 Move control structure related FAQ points
Updates from reviews

clarify returning structs, and move returning arrays and strings from separate section

Further clarifications

Updates from review

Final updates
2018-11-12 14:34:09 +01:00
Chris Ward
0d4bdfbbb0 Move FAQ item regarding contract to contract calls and resulting transaction 2018-10-23 13:30:58 +02:00
Jeffrey Anthony
ab940f201a
minor spelling correction
whas => was
2018-10-16 15:13:58 -04:00
chriseth
0712da6421 Fix version pragma in documentation. 2018-10-09 03:15:53 +02:00
Alex Beregszaszi
e3e9ce53d7 Set 0.5.x specific example code to be compilable with >0.4.99 <0.6.0 (e.g. 0.5.x only) 2018-09-25 19:04:34 +01:00
Alex Beregszaszi
3ca00c73f9 Update version pragma in all documentation examples 2018-09-25 19:03:25 +01:00
chriseth
516267a9a4
Merge pull request #5039 from ethereum/controlStructures2
[DOCS] Update control structures (2).
2018-09-24 16:16:04 +02:00
chriseth
cecc4f6643 [DOCS] Update control structures (2). 2018-09-24 16:15:45 +02:00
chriseth
917cf4ad8e [DOCS] Control structures 1. 2018-09-24 14:03:37 +02:00
chriseth
fc5cad9b7f [DOCS] Update units and globals. 2018-09-20 15:10:14 +02:00
Daniel Kirchner
12aaca1645 Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
Chris Ward
7fc496b6ab Remove unneeded paragraph 2018-09-05 15:48:19 +02:00
Chris Ward
1475cde288 Update Infofeed example code and explanation 2018-08-22 14:28:43 +02:00
Daniel Kirchner
db48925907 Add some more documentation. 2018-08-15 17:06:42 +02:00
chriseth
8a06000a30 Update documentation. 2018-08-14 15:50:46 +02:00
chriseth
6cf299bec6 Update documentation examples. 2018-08-14 15:50:46 +02:00
Erik Kundt
b5ecfbe5bc Enforces visibility specifier and updates docs. 2018-07-17 17:44:51 +02:00
chriseth
31e56f9f99
Merge pull request #4438 from ethereum/address_members_external_tests_docs
Address members used by contracts: update external tests and docs
2018-07-13 01:28:29 +02:00
Daniel Kirchner
6f383e1626 Update documentation. 2018-07-12 20:33:51 +02:00
Leonardo Alt
3ebfcae829 Update external tests and docs 2018-07-12 12:53:49 +02:00
Cryptomental
eb92d5f760 docs: Fix typos.
Used codespell and manual fixes.

Refs: #4442
2018-07-10 22:57:59 +02:00
Daniel Kirchner
951b745bd9 Update docs. 2018-07-10 13:27:48 +02:00