Docs/starlight docs#70
Conversation
[skip ci]
…pi build improvements
| cache: pip | ||
|
|
||
| - name: Install hatch | ||
| run: pip install hatch |
There was a problem hiding this comment.
Yes, hatch has been our build/dev tool since the initial commit. It's the build backend in pyproject.toml (hatchling) and defines all our envs (default, lint, test, docs, examples). Both ci.yaml and cd.yaml already pip install hatch and run hatch run ... the same way
| fs.writeFileSync(path.join(outputDir, `${example.slug}.mdx`), renderExamplePage(example)) | ||
| } | ||
|
|
||
| process.stdout.write(`Generated ${examples.length} example page(s) in ${outputDir}\n`) |
There was a problem hiding this comment.
Why? I would prefer console.log instead
| } | ||
| } | ||
|
|
||
| process.stdout.write('Generated legacy redirect shims\n') |
|
|
||
| ```{testsetup} | ||
| ```python | ||
| import algopy |
There was a problem hiding this comment.
Is there a way for this to be tested? I think doctests are a good idea to avoid docs desync-ing from reality.
| D -->|compiled using| C | ||
| D -->|tested via| B | ||
| ``` | ||
|  |
There was a problem hiding this comment.
Please keep the sources for this diagram somewhere.
| contract = Counter() | ||
| result = contract.increment() | ||
| assert result.native == 1 | ||
| assert result.as_uint64() == 1 |
There was a problem hiding this comment.
heh, was this a bug on our docs?
There was a problem hiding this comment.
I'd not say a bug but .native is deprecated on the numeric arc4 types (UIntN and BigUIntN)
Same of #61 + base branch
maininstead ofrefactor/util-v5