Scilla short for Smart Contract Intermediate-Level LAnguage is a smart contract language being developed for Zilliqa.
If you spot any issues or have any ideas on how we can improve the documentation, help us log an issue here
To compile the documentation you need the following dependencies.
- You need to have sphinx installed.
Install Sphinx by running
pip install -U Sphinx
. - Our build system checks for spelling mistakes automatically (we use the UK
spelling, by the way). To enable it some additional dependencies are needed.
- The sphinxcontrib.spelling spelling cheker for Sphinx:
pip install -U sphinxcontrib-spelling
. - The command above will automatically install PyEnchant library
which itself needs the C Enchant library which one has to
install using e.g. your OS's package manager. You can find the installation
instructions here. Basically, you want either
libenchant
orenchant
package depending on your setup.
- The sphinxcontrib.spelling spelling cheker for Sphinx:
Run make spell
from docs folder. In case of any found spelling
mistakes you will see an output like the following.
Spelling checker messages written to /path/to/scilla-docs/docs/build/spelling/output.txt
WARNING: Found 1 misspelled words
Checkout the output.txt
file and fix the typos.
If you need to teach the spelling checker more words, add them to the spelling_wordlist.txt file. The format is really simple -- it's just one word per line the file. And the file is sorted in ascending order.
Run make html
from docs folder and make sure that the edits are
rendered correctly on the HTML files. To do that point your browser at the
locally built /path/to/scilla-docs/docs/build/html/index.html
file and start
checking from it.
Please preview your HTML files before submitting a pull request. Try to squash your commits before making the pull request. We know it's difficult, but it helps us keep our commit logs clean and makes the reviewers' lives easier.