Documentation has moved to the new aptos-docs repository.
This repository is now archived and will not receive updates.
With results visible at: https://github.com/aptos-labs/developer-docs/actions/workflows/links.yml
Official Aptos developer documentation, providing everything you need to set up, develop, and test your projects.
- π» Installation
- π Clone the Repository
- π¦ Install Dependencies
- π Develop on Nextra
- π Debugging
- π Regenerating Contributors
π For additional instructions, see the
README.mdinsideapps/nextra/.
Aptos uses lychee-broken-link-checker to verify broken links in Markdown files.
Results can be viewed here:
π GitHub Actions: Link Checking
Before you proceed, ensure you have installed the following dependencies:
-
Node.js
π Install via Homebrew:brew install node
-
pnpm (package manager)
π Install the latest version:curl -fsSL https://get.pnpm.io/install.sh | sh -
git clone https://github.com/aptos-labs/developer-docs.gitπ If you are using macOS M1 Sonoma or later, first run:
pnpm add node-gyp -gπ Then install all dependencies:
pnpm installβ Important: For more details, see
apps/nextra/README.md.
π Ensure your .env is properly configured inside apps/nextra/.env.
Use .env.example as a template.
π Validate the setup:
pnpm prebuildpnpm run buildπ This command builds apps/nextra and all dependent local packages.
cd apps/nextrapnpm run devπ Server will be available at:
π http://localhost:3000
π Fix formatting issues by running:
pnpm fmtπ The src/contributors.json file (which powers the author list at the bottom of doc pages) needs manual updates.
π Install GitHub CLI:
π Installation Guide
π Log into your GitHub account:
gh auth login --scopes read:user,user:emailpnpm contributorsπ The updated list will now appear in the documentation.
This project is licensed under the Apache 2.0.
See LICENSE for more details.
A huge thank you to everyone who has contributed to this project! π
