Welcome to the Crestal Docs repository! This documentation hub is designed to guide developers in integrating with Crestal's tools and APIs.
To run this documentation locally, ensure you have the following:
- Node.js - Download here
- Yarn - Install Yarn
- Mintlify CLI - Install Mintlify via npm:
npm install -g mintlify
To set up and run the Crestal Docs locally using Mintlify, follow these steps:
1. Clone the Repository
Clone the Crestal Docs repository and navigate to the project directory:
git clone https://github.com/crestalnetwork/docs.git
cd docs
cd mintlify-docs2. Install Dependencies
Use Yarn to install the project's dependencies:
yarn install4. Run the Mintlify Development Server*
Use the Mintlify CLI to run the documentation server locally:
mintlify devThe server will be available at http://localhost:3000, where you can view and edit the documentation in real-time.
5. Build for Production (Optional)
If you need to generate a production-ready build, use:
mintlify buildThis command will create a static output of your documentation in the dist folder, ready for deployment.
We welcome contributions! To get started:
-
Fork the Repo: Fork
https://github.com/crestalnetwork/docs.gitand clone it locally. -
Create a Branch: Create a new branch for your changes:
git checkout -b feature/your-feature-name- Make Changes: Edit the documentation and preview using:
mintlify dev- Commit and Push: Commit your changes and push to your fork:
git add .
git commit -m "Brief description of your changes"
git push origin feature/your-feature-name- Open a Pull Request: Submit a pull request to the main branch of the original repository.
Thanks for contributing!