mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rearranged the calldata encoding explanations for the example functions so they are more easy to understand since they now visually match the order the functions are declared: Foo.bar() Foo.baz() Foo.sam() Maybe I'm smolbrain but it was confusing to reference the functions when they are declared in a different order than they are explained. I kept imagining calldata encoding layouts for bar() even though the example I was looking at discussed baz() instead. Minor change but makes a big difference for less experienced calldataooors like me.
Solidity Language Docs
Local environment setup
- Install python https://www.python.org/downloads/
- Install sphinx (the tool used to generate the docs) https://www.sphinx-doc.org/en/master/usage/installation.html
Go to /docs and run ./docs.sh to install dependencies and build the project:
cd docs
./docs.sh
That will output the generated htmls under _build/
Serve environment
python3 -m http.server -d _build/html --cgi 8080
Visit dev server at http://localhost:8080