algorand / pyteal

Algorand Smart Contracts in Python
https://pyteal.readthedocs.io
MIT License
285 stars 131 forks source link

Source Mapper Improvements: Read the Docs #680

Closed tzaffi closed 1 year ago

tzaffi commented 1 year ago

Problem

There currently isn't any information in our Read the Docs about source mapping. This makes it harder for developers to get started with the feature.

Solution

Add a new page, probably after the Compiler Optimization section briefly showing the usage pattern. It doesn't have to be a very long page.

Dependencies

Urgency

High - I don't consider the source mapper to even be "beta" until there are doc's that anyone can read in their official place that provide an explanation of how to use the feature.

tzaffi commented 1 year ago

@barnjamin

Also, we need docstrings whenever that explain the sourcemap-related params image

We already have a doc-string:

689 adds it to Router.compile() as well:

tzaffi commented 1 year ago

Problem

There currently isn't any information in our Read the Docs about source mapping. This makes it harder for developers to get started with the feature.

Solution

Add a new page, probably after the Compiler Optimization section briefly showing the usage pattern. It doesn't have to be a very long page.

Dependencies

Urgency

High - I don't consider the source mapper to even be "beta" until there are doc's that anyone can read in their official place that provide an explanation of how to use the feature.

Addressed by #692