You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Triage to identify if there's easier ways to keep docs in-sync.
Current process relies on manual creation of rst files.
We can automate as follows:
Create a module RST template:
module_name="constants"template="""{name}{equals}.. automodule:: algosdk.{name} :members: :undoc-members: :show-inheritance:"""# Format the templatecontent=template.format(name=module_name, equals='='*len(module_name))
# Write to the filewithopen(f"{module_name}.rst", 'w') asf:
f.write(content)
Current process relies on manual creation of rst files.
If improvements are identified, port to pyteal or open an issue.
We can also write a docs_test.py which simply looks for algosdk.* modules and asserts that there aren't any unaccounted for in docs/algosdk/index.rst or docs/algosdk/*.rst.
Problem
While considering algorand/js-algorand-sdk#709, @algochoi pointed out https://py-algorand-sdk.readthedocs.io/en/latest/ does not contain recently introduced classes (e.g. https://github.com/algorand/py-algorand-sdk/blob/develop/algosdk/box_reference.py).
The story requests:
Solution
Dependencies
Urgency
The text was updated successfully, but these errors were encountered: