Skip to content

Commit b18ef44

Browse files
committed
refactor: remove checked in generated doc and publish html doc to github pages
1 parent 535393b commit b18ef44

Some content is hidden

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

62 files changed

+609
-4841
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

docs/algots.md

Lines changed: 4 additions & 0 deletions
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.

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)