Skip to content

Commit 0e648c9

Browse files
authored
Merge branch 'main' into update_api
2 parents 356142b + c5e1f09 commit 0e648c9

19 files changed

+1008
-5
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Crestal Network
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
Welcome to the **Crestal Docs** repository! This documentation hub is designed to guide developers in integrating with Crestal's tools and APIs.
2+
3+
## Getting Started
4+
5+
### Prerequisites
6+
7+
To run this documentation locally, ensure you have the following:
8+
9+
1. **Node.js** - [Download here](https://nodejs.org/en/download/)
10+
2. **Yarn** - [Install Yarn](https://yarnpkg.com/getting-started/install)
11+
3. **Mintlify CLI** - Install Mintlify via npm:
12+
```bash
13+
npm install -g mintlify
14+
```
15+
16+
### Local Setup
17+
18+
To set up and run the Crestal Docs locally using Mintlify, follow these steps:
19+
20+
**1. Clone the Repository**
21+
22+
Clone the Crestal Docs repository and navigate to the project directory:
23+
24+
```bash
25+
git clone https://github.com/crestalnetwork/docs.git
26+
cd docs
27+
cd mintlify-docs
28+
```
29+
30+
**2. Install Dependencies**
31+
32+
Use Yarn to install the project's dependencies:
33+
34+
```bash
35+
yarn install
36+
```
37+
38+
**4. Run the Mintlify Development Server***
39+
40+
Use the Mintlify CLI to run the documentation server locally:
41+
42+
```bash
43+
mintlify dev
44+
```
45+
46+
The server will be available at `http://localhost:3000`, where you can view and edit the documentation in real-time.
47+
48+
**5. Build for Production (Optional)**
49+
50+
If you need to generate a production-ready build, use:
51+
52+
```bash
53+
mintlify build
54+
```
55+
56+
This command will create a static output of your documentation in the `dist` folder, ready for deployment.
57+
58+
## Contributing
59+
60+
We welcome contributions! To get started:
61+
62+
1. **Fork the Repo**: Fork `https://github.com/crestalnetwork/docs.git` and clone it locally.
63+
64+
2. **Create a Branch**: Create a new branch for your changes:
65+
```bash
66+
git checkout -b feature/your-feature-name
67+
```
68+
69+
3. **Make Changes**: Edit the documentation and preview using:
70+
```bash
71+
mintlify dev
72+
```
73+
74+
4. **Commit and Push**: Commit your changes and push to your fork:
75+
```bash
76+
git add .
77+
git commit -m "Brief description of your changes"
78+
git push origin feature/your-feature-name
79+
```
80+
81+
5. **Open a Pull Request**: Submit a pull request to the main branch of the original repository.
82+
83+
Thanks for contributing!
84+

mintlify-docs/.gitignore

Whitespace-only changes.
415 KB
Loading
195 KB
Loading
128 KB
Loading
3.45 MB
Loading
380 KB
Loading
4.42 MB
Loading
1.51 MB
Loading

0 commit comments

Comments
 (0)