Skip to content

Commit 441f8da

Browse files
authored
Merge pull request #544 from algorandfoundation/docs/cleanup
Add remark-github-alerts styles and remove duplicate headings
2 parents 84f27a2 + ef31aee commit 441f8da

25 files changed

+34
-70
lines changed

.nsprc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@
99
"notes": "@isaacs/brace-expansion is bundled inside npm - overrides cannot fix bundled deps, waiting for upstream fix",
1010
"expiry": "2026-03-01"
1111
},
12-
"1112810": {
12+
"1113214": {
1313
"active": true,
14-
"notes": "npm cli vulnerability - bundled dependency, waiting for upstream fix",
15-
"expiry": "2026-03-01"
14+
"notes": "ajv ReDoS via $data option - dev dep via eslint, waiting for upstream eslint migration off ajv v6",
15+
"expiry": "2026-03-18"
16+
},
17+
"1113249": {
18+
"active": true,
19+
"notes": "tar hardlink/symlink escape - bundled inside npm, waiting for npm release with tar >=7.5.8",
20+
"expiry": "2026-03-18"
1621
}
1722
}

docs/astro.config.mjs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// @ts-check
2-
import { defineConfig } from 'astro/config';
3-
import starlight from '@astrojs/starlight';
4-
import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc';
5-
import remarkGithubAlerts from 'remark-github-alerts';
2+
import starlight from '@astrojs/starlight'
3+
import { defineConfig } from 'astro/config'
4+
import remarkGithubAlerts from 'remark-github-alerts'
5+
import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc'
66

77
// https://astro.build/config
88
export default defineConfig({
@@ -14,6 +14,11 @@ export default defineConfig({
1414
integrations: [
1515
starlight({
1616
title: 'AlgoKit Utils TypeScript',
17+
customCss: [
18+
'remark-github-alerts/styles/github-colors-light.css',
19+
'remark-github-alerts/styles/github-colors-dark-media.css',
20+
'remark-github-alerts/styles/github-base.css',
21+
],
1722
social: [
1823
{ icon: 'github', label: 'GitHub', href: 'https://github.com/algorandfoundation/algokit-utils-ts' },
1924
{ icon: 'discord', label: 'Discord', href: 'https://discord.gg/algorand' },
@@ -108,4 +113,4 @@ export default defineConfig({
108113
],
109114
}),
110115
],
111-
});
116+
})

docs/src/content/docs/concepts/advanced/debugging.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
title: "Debugger"
3-
description: "The AlgoKit TypeScript Utilities package provides a set of debugging tools that can be used to simulate and trace transactions on the Algorand blockchain. These tools and methods are optimized for dev..."
3+
description: "The AlgoKit TypeScript Utilities package provides a set of debugging tools that can be used to simulate and trace transactions on the Algorand blockchain. These tools and methods are optimized for developers who are building applications on Algorand and need to test and debug their smart contracts via [AlgoKit AVM Debugger extension](https://github.com/algorandfoundation/algokit-avm-vscode-debugger)."
44
---
55

6-
# Debugger
7-
86
The AlgoKit TypeScript Utilities package provides a set of debugging tools that can be used to simulate and trace transactions on the Algorand blockchain. These tools and methods are optimized for developers who are building applications on Algorand and need to test and debug their smart contracts via [AlgoKit AVM Debugger extension](https://github.com/algorandfoundation/algokit-avm-vscode-debugger).
97

108
## Configuration

docs/src/content/docs/concepts/advanced/dispenser-client.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
title: "TestNet Dispenser Client"
3-
description: "The TestNet Dispenser Client is a utility for interacting with the AlgoKit TestNet Dispenser API. It provides methods to fund an account, register a refund for a transaction, and get the current limit..."
3+
description: "The TestNet Dispenser Client is a utility for interacting with the AlgoKit TestNet Dispenser API. It provides methods to fund an account, register a refund for a transaction, and get the current limit for an account."
44
---
55

6-
# TestNet Dispenser Client
7-
86
The TestNet Dispenser Client is a utility for interacting with the AlgoKit TestNet Dispenser API. It provides methods to fund an account, register a refund for a transaction, and get the current limit for an account.
97

108
## Creating a Dispenser Client

docs/src/content/docs/concepts/advanced/event-emitter.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
title: "Event Emitter"
3-
description: "The Event Emitter is a capability provided by AlgoKit Utils that allows for asynchronous event handling of lifecycle events. It provides a flexible mechanism for emitting and listening to custom event..."
3+
description: "The Event Emitter is a capability provided by AlgoKit Utils that allows for asynchronous event handling of lifecycle events. It provides a flexible mechanism for emitting and listening to custom events, which can be particularly useful for debugging and extending functionality not available in the `algokit-utils-ts` package."
44
---
55

6-
# Event Emitter
7-
86
The Event Emitter is a capability provided by AlgoKit Utils that allows for asynchronous event handling of lifecycle events. It provides a flexible mechanism for emitting and listening to custom events, which can be particularly useful for debugging and extending functionality not available in the `algokit-utils-ts` package.
97

108
## `AsyncEventEmitter`

docs/src/content/docs/concepts/advanced/indexer.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
title: "Indexer lookups / searching"
3-
description: "Indexer lookups / searching is a higher-order use case capability provided by AlgoKit Utils that builds on top of the core capabilities. It provides type-safe indexer API wrappers (no more `Record<str..."
3+
description: "Indexer lookups / searching is a higher-order use case capability provided by AlgoKit Utils that builds on top of the core capabilities. It provides type-safe indexer API wrappers (no more `Record<string, any>` pain), including automatic pagination control."
44
---
55

6-
# Indexer lookups / searching
7-
86
Indexer lookups / searching is a higher-order use case capability provided by AlgoKit Utils that builds on top of the core capabilities. It provides type-safe indexer API wrappers (no more `Record<string, any>` pain), including automatic pagination control.
97

108
To see some usage examples check out the `automated tests`.

docs/src/content/docs/concepts/advanced/modular-imports.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: "Modular imports"
33
description: "AlgoKit Utils is designed with a modular architecture that allows you to import only the functionality you need. This enables better tree-shaking and smaller bundle sizes for your applications."
44
---
55

6-
# Modular imports
7-
86
AlgoKit Utils is designed with a modular architecture that allows you to import only the functionality you need. This enables better tree-shaking and smaller bundle sizes for your applications.
97

108
## Package architecture

docs/src/content/docs/concepts/advanced/transaction-composer.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: "Transaction composer"
33
description: "The `TransactionComposer` class allows you to easily compose one or more compliant Algorand transactions and execute and/or simulate them."
44
---
55

6-
# Transaction composer
7-
86
The `TransactionComposer` class allows you to easily compose one or more compliant Algorand transactions and execute and/or simulate them.
97

108
It's the core of how the [`AlgorandClient`](../../core/algorand-client) class composes and sends transactions.

docs/src/content/docs/concepts/building/app-client.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
title: "App client and App factory"
3-
description: "App client and App factory are higher-order use case capabilities provided by AlgoKit Utils that builds on top of the core capabilities, particularly [App deployment](./app-deploy) and [App managem..."
3+
description: "App client and App factory are higher-order use case capabilities provided by AlgoKit Utils that builds on top of the core capabilities, particularly [App deployment](./app-deploy.md) and [App management](./app.md). They allow you to access high productivity application clients that work with [ARC-56](https://github.com/algorandfoundation/ARCs/pull/258) and [ARC-32](https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0032.md) application spec defined smart contracts, which you can use to create, update, delete, deploy and call a smart contract and access state data for it."
44
---
55

6-
# App client and App factory
7-
86
> [!NOTE]
97
> This page covers the untyped app client, but we recommend using [typed clients](../typed-app-clients), which will give you a better developer experience with strong typing and intellisense specific to the app itself.
108

docs/src/content/docs/concepts/building/app-deploy.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
title: "App deployment"
3-
description: "AlgoKit contains advanced smart contract deployment capabilities that allow you to have idempotent (safely retryable) deployment of a named app, including deploy-time immutability and permanence contr..."
3+
description: "AlgoKit contains advanced smart contract deployment capabilities that allow you to have idempotent (safely retryable) deployment of a named app, including deploy-time immutability and permanence control and TEAL template substitution. This allows you to control the smart contract development lifecycle of a single-instance app across multiple environments (e.g. LocalNet, TestNet, MainNet)."
44
---
55

6-
# App deployment
7-
86
AlgoKit contains advanced smart contract deployment capabilities that allow you to have idempotent (safely retryable) deployment of a named app, including deploy-time immutability and permanence control and TEAL template substitution. This allows you to control the smart contract development lifecycle of a single-instance app across multiple environments (e.g. LocalNet, TestNet, MainNet).
97

108
It's optional to use this functionality, since you can construct your own deployment logic using create / update / delete calls and your own mechanism to maintaining app metadata (like app IDs etc.), but this capability is an opinionated out-of-the-box solution that takes care of the heavy lifting for you.

0 commit comments

Comments
 (0)