This repository contains the official documentation for Babylon Labs, built using Docusaurus.
Our documentation provides comprehensive guides, API references, and technical specifications for all Babylon Labs products and protocols. The documentation is open-source, and we welcome contributions from the community.
- Clone the repository:
git clone https://github.com/babylonlabs-io/babylonlabs.github.io.git
cd babylonlabs.github.io
- Install dependencies:
npm install
To start the development server:
npm run dev
This will start the development server and open your default browser to http://localhost:3000
.
To build the documentation for production:
npm run build
This will check for broken links and generate the static HTML files in the build
directory.
If there is any warning of broken links, please fix them, or it will block deployments.
docs/
├── guides/
│ ├── overview/
│ │ ├── bitcoin_staking.md
│ │ ├── bitcoin_secured_networks.md
│ │ ├── babylon_genesis.md
│ │ └── ...
│ └── networks/
│ ├── phase-1/
│ │ └── ...
│ ├── phase-2/
│ │ └── ...
│ └── phase-3/
│ └── ...
├── developers/
│ ├── babylon_chain/
│ │ └── ...
│ ├── wallet_integration/
│ │ └── ...
│ ├── dapps/
│ │ └── ...
│ ├── bsns/
│ │ └── ...
│ └── faqs.md
├── operators/
│ ├── babylon_node/
│ │ └── ...
│ ├── key_management.md
│ ├── monitoring.md
│ └── operators.md
└── api/
└── babylon-gRPC/
└── ...
We welcome contributions from the community! Here's how you can help:
-
Fork the Repository
- Create a fork of this repository
- Clone your fork locally
-
Create a Branch
- Create a new branch for your changes
- Use descriptive branch names (e.g.,
my-name/add-staking-guide
)
-
Make Your Changes
- Keep changes focused and atomic
- Test locally
- Use
npm run build
to check if there is any broken links (or it will stop deloyment pipeline)
-
Submit a Pull Request
- Ensure your PR has a clear title and description
- Link any relevant issues
- Update documentation as needed
- Use clear, concise language
- Follow Markdown best practices
- Include code examples where appropriate
- Add screenshots for complex UI explanations
Thanks to @kkkk666 our Developer Advocate who help make this documentation happen!