Skip to content

Commit

Permalink
wip document structure
Browse files Browse the repository at this point in the history
  • Loading branch information
stechu committed Feb 4, 2020
1 parent 482dd31 commit ee45109
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/API.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. _API:

API Reference
=============
2 changes: 2 additions & 0 deletions docs/accessing_transaction_field.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Acessing Transaction Field
==========================
2 changes: 2 additions & 0 deletions docs/arithmetic_expression.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Arithmetic Expression
=====================
2 changes: 2 additions & 0 deletions docs/atomic_transfer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Atomic Transfer
===============
2 changes: 2 additions & 0 deletions docs/control_structures.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Control Structures
==================
5 changes: 5 additions & 0 deletions docs/data_type.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Data Type
=========



2 changes: 2 additions & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PyTeal Examples
===============
36 changes: 33 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,43 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. mdinclude:: ../README.md
PyTeal: Algorand Smart Contracts in Python
==========================================

PyTeal is a Python language binding for `Algorand Smart Contracts (ASC1s)<https://developer.algorand.org/docs/asc>`_.

Algorand Smart Contracts are implemented using a new language that is stack-based,
called `Transaction Execution Approval Language (TEAL)<https://developer.algorand.org/docs/teal>`_.
This a non-Turing complete language that allows branch forwards but prevents recursive logic
to maximize safety and performance.

However, TEAL is essentially an assembly language.
With PyTeal, developers can express smart contract logic purely using Python.
PyTeal provides higher level, functional programming style abstactions over TEAL
and does type checking at construction time.

PyTeal **hasn't been security audited**. Use it at your own risk.

.. toctree::
:maxdepth: 2
:caption: Contents:
:maxdepth: 1
:caption: Getting Started

overview
installation
examples

.. toctree::
:maxdepth: 1
:caption: User Guide

data_type
arithmetic_expression
accessing_transaction_field
atomic_transfer
control_structures
API
using_pyteal_with_sdk


Indices and tables
==================
Expand Down
2 changes: 2 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Install PyTeal
==============
2 changes: 2 additions & 0 deletions docs/overview.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Overview
========
3 changes: 3 additions & 0 deletions docs/using_pyteal_with_sdk.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Using PyTeal With Algorand Python SDK
=====================================

0 comments on commit ee45109

Please sign in to comment.