Commit Graph

204 Commits

Author SHA1 Message Date
Kamil Śliwak
b0a986ffff Allow event definitions at file level 2023-09-15 14:47:40 +02:00
Zach Obront
6e8b9dff51 docs: add clarification about post execution modifier behavior 2023-09-14 17:58:18 +02:00
Kamil Śliwak
dad2bf6472 Relax restrictions on immutable initialization 2023-07-14 15:29:32 +02:00
minaminao
ce0fbae00b fix docs
Co-authored-by: r0qs <rodrigo.saramago@protonmail.com>
2023-07-10 21:22:10 +09:00
Nuno Santos
3eedc635c4
Misspelling and terms inconsistencies (#14280)
* Installing solidity tweeks

* A few more misspells

* More inconsistencies fixed

* Removed contractions according to our guide.
2023-05-30 20:49:25 +01:00
Kaan Uzdoğan
c8117ef75e
Be more explicit about immutableReferences
Co-authored-by: r0qs <rodrigo.saramago@protonmail.com>
2023-05-15 17:21:03 +02:00
Kaan Uzdoğan
5fcba53223 Fix trailing whitespace, add punctuation 2023-05-15 16:39:31 +02:00
Kaan Uzdoğan
a334ab3525 Add in immutables docs 2023-05-15 16:32:12 +02:00
Kamil Śliwak
cab88290c2 docs: Consistent index entries for literals, denominations, free functions 2023-04-14 16:57:20 +02:00
Kamil Śliwak
bc18af91bb docs: Fix index entry for receive 2023-04-14 16:36:26 +02:00
minaminao
e1a9446f87
fix(docs): fix missing backticks, remove latexpdfja, fix the missing help message of latexpdf, and remove unnecessary whitespace (#14101)
* Fix missing backticks

* Remove whitespace in the header of the optimizer step

* Remove whitespace in directives

* Remove `make latexpdfja`

* Add the help message of latexpdf in make.bat

* Fix missing backticks

* Update docs/internals/optimizer.rst

---------

Co-authored-by: Nuno Santos <nunofilipesantos@gmail.com>
2023-04-14 12:24:50 +01:00
minaminao
25a41e3ac6 Replace Javascript with JavaScript 2023-03-28 22:59:48 +09:00
wechman
2e8d50eca2 User-defined operators: Documentation 2023-02-22 00:39:25 +01:00
Nicolás Acosta
5b149adfcd style(visibility-and-getters): fix mapping style 2023-02-01 15:53:04 -03:00
Nicolás Acosta
72a17ceb71 style(function-modifiers): fix mapping style 2023-02-01 15:52:34 -03:00
Kamil Śliwak
986bc361b1 docs: Replace some links with redirects found by linkcheck 2023-02-01 12:26:44 +01:00
Nikola Matic
e7543d487d Issue warning when using deprecated SELFDESTRUCT 2023-01-25 16:55:11 +01:00
Kamil Śliwak
abbf2cb6d6 using-for-rst: Make it clearer where snippets are just examples 2022-12-07 19:31:44 +01:00
wechman
c2e6452b90 using-for.rst: Clarify which library functions can be used with using for 2022-12-07 19:31:44 +01:00
wechman
64a4f32bc2 Consistent terminology for attached/bound functions 2022-12-07 19:31:41 +01:00
Doggo
b787c32233 Update receive function documentation
The receive function documentation is slightly inaccurate currently, as a contract can still receive Ether through payable functions even if no receive or payable fallback function is present.
2022-11-08 15:59:09 +01:00
NoFaceDev
e96453d585 Added details on placeholders in function-modifiers
Author:    NoFaceDev <NoFaceDev@protonmail.com>
Date:      Sat Jul 23 18:22:06 2022 +0400
2022-08-30 12:00:37 +02:00
minami
ec4ccf8183 Improve docs of possible function inputs and outputs 2022-08-13 14:48:20 +02:00
Roman Figurin
bbf6ecf69d [Docs] Updated a part about abicoder v2 and multi-dimensional array for external-function-calls 2022-08-10 16:09:33 +02:00
Roman Figurin
664b7bfbda [Docs] Fixed link to internal-function-calls 2022-08-10 16:09:14 +02:00
minami
796fb2cfad Fix description of this in free functions 2022-08-05 23:05:10 +02:00
Rohit Kumar Suman
9bc015071c
fix: Typo
Line 84!
By => With
to the them => to them
2022-06-19 11:56:03 +05:30
Kamil Śliwak
f323cb2ef5 Improve index entries for selectors, events and selfdestruct 2022-06-14 12:05:49 +02:00
Kamil Śliwak
7785f46efd Document the .selector member for errors 2022-06-14 12:05:49 +02:00
sourabh.xyz
8405d167c1 using-for.rst: Fix free function visibility.
Example is incorrect in the sense that "Free functions" cannot have visibility specified.
2022-06-08 21:32:30 +02:00
nishant-sachdeva
d4c06d2b4e Adding event and error selector fields on the lines of the function selector fields 2022-05-23 10:49:16 +02:00
aathan
43ff61f185
Update functions.rst 2022-04-15 12:24:48 -07:00
sourabh.xyz
9867fbcfb0
Update inheritance.rst
Fixed typo 'owned' → 'Owned'.
2022-04-09 13:17:07 +05:30
aathan
fd0df0b05d
Update inheritance.rst 2022-04-05 12:19:59 -07:00
aathan
6f4844648f abstract-contracts.rst: Clarify when a contract may or must be marked abstract 2022-04-04 14:21:49 +02:00
Daniel Kirchner
353759c1d4
Merge pull request #12680 from devtooligan/fix/underscore-prefix
fix: corrects _ prefixes
2022-03-14 22:58:42 +01:00
chriseth
9188519f11 Using for with global binding. 2022-03-14 17:39:14 +01:00
Richie
beb51068bb
fix: corrects _ prefixes 2022-03-14 08:03:10 -07:00
hrkrshnn
672951ccc7 Extend using-for. 2022-03-14 12:33:44 +01:00
kanedaaaa
1b93db7863 doc: improve explanation of interfaces 2022-03-09 18:35:14 +01:00
Callis Ezenwaka
5134dafb8e Update typo in using-for.rst
Update typo in using-for.rst
2022-02-28 19:03:13 +01:00
Richie
49f06dacdf fix: remove lower_case_with_underscores and Capitalized_Words_With_Underscores from code examples 2022-02-21 10:53:35 -08:00
Nikita Stupin
0f7b69432e Separate visibility for state variables and functions 2022-01-29 00:36:06 +01:00
chriseth
57474917a0 Clarify which functions are added. 2022-01-03 15:38:39 +01:00
chriseth
aa4d3cabf1 Clarify `pure`. 2021-11-08 13:22:35 +01:00
Nikita Stupin
aedf29b9dd Add sections for state mutability and special functions 2021-09-10 11:27:55 +03:00
Kamil Śliwak
d07b796675 Disallow modifier declarations and definitions in interfaces 2021-08-31 15:25:08 +02:00
chriseth
f7916f2940 Add override exception for interface functions. 2021-08-31 10:45:31 +02:00
Marenz
121fd40f74 Allow reading of immutables during construction time 2021-08-19 13:59:05 +02:00
chriseth
62727f322a
Merge pull request #11662 from ethereum/docs-fix-highlighting-and-upgrade-pygments
[Docs] Fix highlighting and always use latest packages
2021-07-29 11:29:38 +02:00