Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use learn for cad doc #258

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to the create-aptos-dapp tool will be captured in this file.

# Unreleased

# 0.0.35 (2024-10-23)

- Use Aptos Learn for create-aptos-dapp docs

# 0.0.34 (2024-10-22)

- Upgrade `@aptos-labs/ts-sdk` dependency to `^1.30.0`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-aptos-dapp",
"description": "a starter kit for dapp developers to easily bootstrap a dapp on the Aptos network",
"version": "0.0.34",
"version": "0.0.35",
"license": "Apache-2.0",
"author": "aptoslabs.com",
"keywords": [
Expand Down
14 changes: 7 additions & 7 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export enum TemplateSigningOption {
export const ContractBoilerplateTemplateValues = {
path: "contract-boilerplate-template",
name: "Move Contract Template",
doc: "https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate",
doc: "https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template",
};

export const FullstackBoilerplateTemplateInfo = {
title: "Boilerplate Template",
value: {
path: "boilerplate-template",
name: "Boilerplate Template",
doc: "https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate",
doc: "https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template",
},
description: "A boilerplate template to start an Aptos dapp with",
};
Expand All @@ -50,7 +50,7 @@ export const ClickerGameTgTemplateInfo = {
value: {
path: "clicker-game-tg-mini-app-template",
name: "Clicker Game Telegram Mini App Template",
doc: "https://aptos.dev/en/build/create-aptos-dapp/templates/clicker-game-tg-mini-app",
doc: "https://learn.aptoslabs.com/en/dapp-templates/telegram-mini-app-template",
},
description:
"A clicker game Telegram Mini App template to start an Aptos dapp with",
Expand All @@ -61,7 +61,7 @@ export const CustomIndexerTemplateInfo = {
value: {
path: "custom-indexer-template",
name: "Custom indexer template",
doc: "https://aptos.dev/en/build/create-aptos-dapp/templates/custom-indexer",
doc: "https://learn.aptoslabs.com/en/dapp-templates/custom-indexer-template",
},
description:
"A full stack dapp template with a custom indexer to start an Aptos dapp with",
Expand All @@ -72,7 +72,7 @@ export const NftMintingDappTemplateInfo = {
value: {
path: "nft-minting-dapp-template",
name: "NFT minting dapp",
doc: "https://aptos.dev/en/build/create-aptos-dapp/templates/nft-minting-dapp",
doc: "https://learn.aptoslabs.com/en/dapp-templates/nft-minting-template",
video: "https://www.youtube.com/watch?v=ik4GfsKZDOQ",
},
description:
Expand All @@ -84,7 +84,7 @@ export const TokenMintingDappTemplateInfo = {
value: {
path: "token-minting-dapp-template",
name: "Token minting dapp",
doc: "https://aptos.dev/en/build/create-aptos-dapp/templates/token-minting-dapp",
doc: "https://learn.aptoslabs.com/en/dapp-templates/token-minting-template",
video: "https://www.youtube.com/watch?v=cr7LS-k4nQo",
},
description:
Expand All @@ -96,7 +96,7 @@ export const TokenStakingDappTemplateInfo = {
value: {
path: "token-staking-dapp-template",
name: "Token staking dapp",
doc: "https://aptos.dev/en/build/create-aptos-dapp/templates/token-staking-dapp",
doc: "https://learn.aptoslabs.com/en/dapp-templates/token-staking-template",
video: "https://www.youtube.com/watch?v=xWkAVVE4WXk",
},
description: "A production ready template to create a token staking dapp",
Expand Down
2 changes: 1 addition & 1 deletion template-live-examples/boilerplate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Boilerplate template provides a starter dapp with all necessary dapp infrastructure and a simple wallet info implementation, transfer APT and a simple message board functionality to send and read a message on chain.

## Read the Boilerplate template docs
To get started with the Boilerplate template and learn more about the template functionality and usage, head over to the [Boilerplate template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate)
To get started with the Boilerplate template and learn more about the template functionality and usage, head over to the [Boilerplate template docs](https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template)


## The Boilerplate template provides:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function MessageBoard() {
Use the{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate"
href="https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template"
style={{ textDecoration: "underline" }}
>
create-aptos-dapp boilerplate template
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function TopBanner() {
This is a non-functional demo of the create-aptos-dapp boilerplate template.{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate"
href="https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template"
style={{ color: "white", textDecoration: "underline" }}
>
Click here to start with this template.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function TransferAPT() {
Use the{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate"
href="https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template"
style={{ textDecoration: "underline" }}
>
create-aptos-dapp boilerplate template
Expand Down
2 changes: 1 addition & 1 deletion template-live-examples/nft-minting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Digital Assets are the NFT standard for Aptos. The Digital Asset template provides an end-to-end NFT minting dapp with a beautiful pre-made UI users can quickly adjust and deploy into a live server.

## Read the NFT minting dapp template docs
To get started with the NFT minting dapp template and learn more about the template functionality and usage, head over to the [NFT minting dapp template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/nft-minting-dapp)
To get started with the NFT minting dapp template and learn more about the template functionality and usage, head over to the [NFT minting dapp template docs](https://learn.aptoslabs.com/en/dapp-templates/nft-minting-template)

## The NFT minting dapp template provides 3 pages:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function TopBanner() {
This is a non-functional demo of the create-aptos-dapp NFT minting dapp template.{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/nft-minting-dapp"
href="https://learn.aptoslabs.com/en/dapp-templates/nft-minting-template"
style={{ color: "white", textDecoration: "underline" }}
>
Click here to start with this template.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function TopBanner() {
This is a non-functional demo of the create-aptos-dapp Token minting dapp template.{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/token-minting-dapp"
href="https://learn.aptoslabs.com/en/dapp-templates/token-minting-template"
style={{ color: "white", textDecoration: "underline" }}
>
Click here to start with this template.
Expand Down
2 changes: 1 addition & 1 deletion template-live-examples/token-staking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Token staking dapp template provides an end-to-end Staking dapp with a beautiful pre-made UI users can quickly adjust and deploy into a live server.

## Read the Token staking dapp template docs
To get started with the Token staking dapp template and learn more about the template functionality and usage, head over to the [Token staking dapp template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/token-staking-dapp)
To get started with the Token staking dapp template and learn more about the template functionality and usage, head over to the [Token staking dapp template docs](https://learn.aptoslabs.com/en/dapp-templates/token-staking-template)

## Overview

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function TopBanner() {
This is a non-functional demo of the create-aptos-dapp Token Staking dapp template.{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/token-staking-dapp"
href="https://learn.aptoslabs.com/en/dapp-templates/token-staking-template"
style={{ color: "white", textDecoration: "underline" }}
>
Click here to start with this template.
Expand Down
2 changes: 1 addition & 1 deletion templates/boilerplate-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The Boilerplate template provides a starter dapp with all necessary dapp infrast

## Read the Boilerplate template docs

To get started with the Boilerplate template and learn more about the template functionality and usage, head over to the [Boilerplate template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate)
To get started with the Boilerplate template and learn more about the template functionality and usage, head over to the [Boilerplate template docs](https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template)

## The Boilerplate template provides:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function TopBanner() {
Check out the{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate"
href="https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template"
style={{ color: "white", textDecoration: "underline" }}
>
template docs
Expand Down
2 changes: 1 addition & 1 deletion templates/clicker-game-tg-mini-app-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This template provides a ready to use clicker game dapp that can be run as a Tel

## Read the template docs

To get started with the template and learn more about the functionality and usage, head over to the [template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/clicker-game-tg-mini-app-template)
To get started with the template and learn more about the functionality and usage, head over to the [template docs](https://learn.aptoslabs.com/en/dapp-templates/telegram-mini-app-template)

## The template provides:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function TopBanner() {
Check out the{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/clicker-game-tg-mini-app"
href="https://learn.aptoslabs.com/en/dapp-templates/telegram-mini-app-template"
style={{ color: "white", textDecoration: "underline" }}
>
template docs
Expand Down
5 changes: 3 additions & 2 deletions templates/contract-boilerplate-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
This template provides a starting point for a dapp with all necessary infrastructure and implements a simple on-chain message board functionality.

## Read the Boilerplate Template Documentation
To get started with the Boilerplate template and learn more about its features and usage, visit [Boilerplate Template Documentation](https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate)

To get started with the Boilerplate template and learn more about its features and usage, visit [Boilerplate Template Documentation](https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template)

## The Contract Template Provides:

Expand All @@ -27,4 +28,4 @@ Some commands are pre-built into the template and can be run as npm scripts, suc
- `npm run move:compile` - Command to compile Move contracts
- `npm run move:upgrade` - Command to upgrade Move contracts

To see all available CLI commands, you can run `npx aptos` and view the list of all available commands.
To see all available CLI commands, you can run `npx aptos` and view the list of all available commands.
4 changes: 2 additions & 2 deletions templates/custom-indexer-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The custom indexer template provides a starter dapp with all components to run a

## Read the Custom Indexer template docs

To get started with the Custom Indexer template and learn more about the template functionality and usage, head over to the [Custom Indexer template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/custom-indexer)
To get started with the Custom Indexer template and learn more about the template functionality and usage, head over to the [Custom Indexer template docs](https://learn.aptoslabs.com/en/dapp-templates/custom-indexer-template)

## The Custom Indexer template provides:

Expand Down Expand Up @@ -41,4 +41,4 @@ For all other available CLI commands, can run `npx aptos` and see a list of all

## Running the Custom Indexer template

Please refer to the [Custom Indexer template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/custom-indexer) for more information on how to run the Custom Indexer template.
Please refer to the [Custom Indexer template docs](https://learn.aptoslabs.com/en/dapp-templates/custom-indexer-template) for more information on how to run the Custom Indexer template.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function TopBanner() {
Check out the{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/custom-indexer"
href="https://learn.aptoslabs.com/en/dapp-templates/custom-indexer-template"
style={{ color: "white", textDecoration: "underline" }}
>
template docs
Expand Down
2 changes: 1 addition & 1 deletion templates/nextjs-boilerplate-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Boilerplate template provides a starter dapp with all necessary dapp infrastructure and a simple wallet info implementation, transfer APT and a simple message board functionality to send and read a message on chain.

## Read the Boilerplate template docs
To get started with the Boilerplate template and learn more about the template functionality and usage, head over to the [Boilerplate template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate)
To get started with the Boilerplate template and learn more about the template functionality and usage, head over to the [Boilerplate template docs](https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template)


## The Boilerplate template provides:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function TopBanner() {
Check out the{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate"
href="https://learn.aptoslabs.com/en/dapp-templates/boilerplate-template"
style={{ color: "white", textDecoration: "underline" }}
>
template docs
Expand Down
2 changes: 1 addition & 1 deletion templates/nft-minting-dapp-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Digital Assets are the NFT standard for Aptos. The Digital Asset template provides an end-to-end NFT minting dapp with a beautiful pre-made UI users can quickly adjust and deploy into a live server.

## Read the NFT minting dapp template docs
To get started with the NFT minting dapp template and learn more about the template functionality and usage, head over to the [NFT minting dapp template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/nft-minting-dapp)
To get started with the NFT minting dapp template and learn more about the template functionality and usage, head over to the [NFT minting dapp template docs](https://learn.aptoslabs.com/en/dapp-templates/nft-minting-template)

## The NFT minting dapp template provides 3 pages:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function TopBanner() {
Check out the{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/nft-minting-dapp"
href="https://learn.aptoslabs.com/en/dapp-templates/nft-minting-template"
style={{ color: "white", textDecoration: "underline" }}
>
template docs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function TopBanner() {
Check out the{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/token-minting-dapp"
href="https://learn.aptoslabs.com/en/dapp-templates/token-minting-template"
style={{ color: "white", textDecoration: "underline" }}
>
template docs
Expand Down
2 changes: 1 addition & 1 deletion templates/token-staking-dapp-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Token staking dapp template provides an end-to-end Staking dapp with a beautiful pre-made UI users can quickly adjust and deploy into a live server.

## Read the Token staking dapp template docs
To get started with the Token staking dapp template and learn more about the template functionality and usage, head over to the [Token staking dapp template docs](https://aptos.dev/en/build/create-aptos-dapp/templates/token-staking-dapp)
To get started with the Token staking dapp template and learn more about the template functionality and usage, head over to the [Token staking dapp template docs](https://learn.aptoslabs.com/en/dapp-templates/token-staking-template)

## Overview

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function TopBanner() {
Check out the{" "}
<a
target="blank"
href="https://aptos.dev/en/build/create-aptos-dapp/templates/token-staking-dapp"
href="https://learn.aptoslabs.com/en/dapp-templates/token-staking-template"
style={{ color: "white", textDecoration: "underline" }}
>
template docs
Expand Down
Loading