Skip to content

Commit 73842b7

Browse files
authored
Merge pull request #88 from algorandfoundation/chore/exclude-impl
refactor: exclude impl folder in build tsconfig to stop IDE suggesting imports from it
2 parents 74e9cd7 + b81f4b0 commit 73842b7

File tree

130 files changed

+1426
-5149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+1426
-5149
lines changed

.github/workflows/gh-pages.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 'Run typedoc and publish to pages'
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
build-and-publish-docs:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
steps:
15+
- name: Checkout source code
16+
uses: actions/checkout@v4
17+
18+
- name: Use Node.js 21.x
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 21.x
22+
23+
- name: Npm install
24+
run: npm ci --ignore-scripts
25+
26+
- name: Build doc
27+
run: npm run script:documentation
28+
29+
- name: Upload to GitHub pages
30+
uses: actions/upload-pages-artifact@v3
31+
with:
32+
path: docs/_html
33+
34+
- name: Deploy to GitHub Pages
35+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ test-results.xml
5555
# Website & Code docs generation
5656
code-docs/
5757
out/
58+
docs/_html
5859

5960
# dotenv environment variable files
6061
.env

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ To dig deeper into the capabilities of `algorand-typescript-testing`, continue w
287287

288288
#### Contents
289289

290-
- [Testing Guide](./docs/testing-guide/index.md)
290+
- [Testing Guide](./docs/testing-guide.md)
291291
- [Examples](./docs/examples.md)
292292
- [Coverage](./docs/coverage.md)
293293
- [FQA](./docs/faq.md)

docs/algots.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Algorand TypeScript
3+
---
4+
15
# Algorand TypeScript
26

37
Algorand TypeScript is a partial implementation of the TypeScript programming language that runs on the Algorand Virtual Machine (AVM). It includes a statically typed framework for development of Algorand smart contracts and logic signatures, with TypeScript interfaces to underlying AVM functionality that works with standard TypeScript tooling.
@@ -8,4 +12,4 @@ and debugged on a Node.js virtual machine with transpilation to EcmaScript and r
812

913
Algorand TypeScript is compiled for execution on the AVM by PuyaTs, a TypeScript frontend for the [Puya](https://github.com/algorandfoundation/puya) optimising compiler that ensures the resulting AVM bytecode execution semantics that match the given TypeScript code. PuyaTs produces output that is directly compatible with AlgoKit typed clients to make deployment and calling easy.
1014

11-
[Documentation](https://github.com/algorandfoundation/puya-ts/blob/main/README.md)
15+
[Documentation](https://algorandfoundation.github.io/puya-ts/index.html)

docs/api.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
1+
---
2+
title: API Reference
3+
---
4+
15
# API Reference
26

37
An overview of the `algorand-typescript-testing` package - covering the main classes and functions.
48

5-
```{hint}
9+
```
610
Spotted a typo in documentation? This project is open source, please submit an issue or a PR on [GitHub](https://github.com/algorandfoundation/algorand-typescript-testing).
711
```
812

913
## Contexts
1014

11-
- [TestExecutionContext](./code/index/classes/TestExecutionContext.md)
12-
- [ContractContext](./code/subcontexts/contract-context/classes/ContractContext.md)
13-
- [LedgerContext](./code/subcontexts/ledger-context/classes/LedgerContext.md)
14-
- [TransactionContext](./code/subcontexts/transaction-context/classes/TransactionContext.md)
15+
- [TestExecutionContext](../classes/index.TestExecutionContext.html)
16+
- [ContractContext](../classes/index._internal_.ContractContext.html)
17+
- [LedgerContext](../classes/index._internal_.LedgerContext.html)
18+
- [TransactionContext](../classes/index._internal_.TransactionContext.html)
1519

1620
## Value Generators
1721

18-
- [AvmValueGenerator](./code/value-generators/avm/classes/AvmValueGenerator.md)
19-
- [Arc4ValueGenerator](./code/value-generators/arc4/classes/Arc4ValueGenerator.md)
20-
- [TxnValueGenerator](./code/value-generators/txn/classes/TxnValueGenerator.md)
22+
- [AvmValueGenerator](../classes/value-generators._internal_.AvmValueGenerator.html)
23+
- [Arc4ValueGenerator](../classes/value-generators._internal_.Arc4ValueGenerator.html)
24+
- [TxnValueGenerator](../classes/value-generators._internal_.TxnValueGenerator.html)
2125

2226
## Utils
2327

24-
- [addEqualityTesters](./code/index/functions/addEqualityTesters.md)
25-
- [encodingUtils](./code/index/variables/encodingUtil.md)
28+
- [addEqualityTesters](../functions/index.addEqualityTesters.html)
29+
- [toExternalValue](../functions/index.toExternalValue.html)
2630

2731
## Reference documentation
2832

29-
We also have [auto-generated reference documentation for the code](./code/README.md).
33+
We also have [auto-generated reference documentation for the code](../modules/index.html).

docs/code/README.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/code/index/README.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

docs/code/index/classes/ApplicationSpy.md

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)