Giter Club home page Giter Club logo

scilla-docs's Introduction

Scilla Docs

Scilla short for Smart Contract Intermediate-Level LAnguage is a smart contract language being developed for Zilliqa.

Contributing

If you spot any issues or have any ideas on how we can improve the documentation, help us log an issue here

Installing dependencies

To compile the documentation you need the following dependencies.

  1. You need to have sphinx installed. Install Sphinx by running pip install -U Sphinx.
  2. 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 or enchant package depending on your setup.

Building the docs

Spellchecking

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.

Building HTML docs

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.

Before submitting a pull request

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.

scilla-docs's People

Contributors

ahaliq avatar amritkumar avatar anton-trunov avatar edison0xyz avatar hgsipiere avatar ilyasergey avatar jiachen247 avatar jjcnn avatar kenchangh avatar ritzdorf avatar snowsledge avatar thevrintern avatar vaivaswatha avatar vporton avatar vyorkin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.