Skip to content

Latest commit

 

History

History
84 lines (55 loc) · 1.98 KB

README.md

File metadata and controls

84 lines (55 loc) · 1.98 KB

Welcome to the Crestal Docs repository! This documentation hub is designed to guide developers in integrating with Crestal's tools and APIs.

Getting Started

Prerequisites

To run this documentation locally, ensure you have the following:

  1. Node.js - Download here
  2. Yarn - Install Yarn
  3. Mintlify CLI - Install Mintlify via npm:
    npm install -g mintlify

Local Setup

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-docs

2. Install Dependencies

Use Yarn to install the project's dependencies:

yarn install

4. Run the Mintlify Development Server*

Use the Mintlify CLI to run the documentation server locally:

mintlify dev

The 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 build

This command will create a static output of your documentation in the dist folder, ready for deployment.

Contributing

We welcome contributions! To get started:

  1. Fork the Repo: Fork https://github.com/crestalnetwork/docs.git and clone it locally.

  2. Create a Branch: Create a new branch for your changes:

git checkout -b feature/your-feature-name
  1. Make Changes: Edit the documentation and preview using:
mintlify dev
  1. 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
  1. Open a Pull Request: Submit a pull request to the main branch of the original repository.

Thanks for contributing!