Skip to content

Commit c2ab965

Browse files
committed
update README.md
1 parent ed1ea6f commit c2ab965

File tree

3 files changed

+120
-2
lines changed

3 files changed

+120
-2
lines changed

CONTRIBUTING.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Contributing to Hulo-Docs
2+
3+
Thank you for considering contributing to **Hulo-Docs**! 🎉
4+
Whether you're fixing a typo, translating a guide, or writing a new tutorial — your help is appreciated.
5+
6+
## 💡 Ways to Contribute
7+
8+
There are several ways you can help:
9+
10+
- 📖 Fixing typos or improving grammar
11+
- 🌐 Translating documents to other languages
12+
- 🧠 Adding new guides or tutorials
13+
- 🛠 Improving code samples or examples
14+
- 💅 Enhancing the theme or layout
15+
- 🐛 Reporting or fixing documentation bugs
16+
17+
## 🧰 Prerequisites
18+
19+
Make sure you have the following installed:
20+
21+
- [Node.js](https://nodejs.org/) (>= 18)
22+
- [PNPM](https://pnpm.io/)
23+
- Git
24+
25+
## 🚀 Getting Started
26+
27+
1. **Fork** the repository.
28+
2. **Clone** your fork:
29+
30+
```bash
31+
git clone https://github.com/<your-username>/hulo-docs.git
32+
cd hulo-docs
33+
```
34+
35+
3. **Install dependencies:**
36+
37+
```bash
38+
pnpm install
39+
```
40+
41+
4. **Start the dev server:**
42+
43+
```bash
44+
pnpm docs:dev
45+
```
46+
47+
5. Open `http://localhost:8080` to preview your changes.
48+
49+
## 🧪 Before Submitting
50+
51+
- Run `pnpm lint` to ensure your changes are formatted properly.
52+
- Double-check spelling and clarity of your writing.
53+
- For new documentation files, follow the [VuePress style guide](https://vuepress.vuejs.org/guide/markdown.html).
54+
55+
## 📦 Submitting a Pull Request
56+
57+
1. Push your changes to a branch:
58+
59+
```bash
60+
git checkout -b your-branch-name
61+
git add .
62+
git commit -m "docs: improve docs or fix issue"
63+
git push origin your-branch-name
64+
```
65+
66+
2. Open a Pull Request from your branch to the `main` branch.
67+
68+
---
69+
70+
Thank you again for helping us improve the Hulo ecosystem! ❤️

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
11
<h1 align="center">Welcome to Hulo-Docs 👋</h1>
22
<center>
33

4-
![Hulo](https://img.shields.io/badge/Hulo-%238866E9.svg?logoColor=white&style=for-the-badge)
4+
![Hulo](https://img.shields.io/badge/Hulo-%238866E9.svg?logoColor=white&style=for-the-badge) [![Node.js](https://img.shields.io/badge/NodeJS-%3E=8-%236DA55F.svg?logo=node.js&logoColor=white&style=for-the-badge)](https://nodejs.org/) [![SASS](https://img.shields.io/badge/SASS-%5E1.85.0-hotpink.svg?logo=SASS&logoColor=white&style=for-the-badge)](https://sass-lang.com/) [![TypeScript](https://img.shields.io/badge/TypeScript-%23007ACC.svg?logo=typescript&logoColor=white&style=for-the-badge)](https://www.typescriptlang.org/) [![PNPM](https://img.shields.io/badge/PNPM-%234A4A4A.svg?logo=pnpm&logoColor=%2523F69220&style=for-the-badge)](https://pnpm.io/) [![Markdown](https://img.shields.io/badge/Markdown-%23000000.svg?logo=markdown&logoColor=white&style=for-the-badge)](https://www.markdownguide.org/)
55

6-
> Hulo is a batch-oriented programming language.
76
</center>
87

8+
---
9+
10+
English | [简体中文](README.zh-CN.md)
11+
12+
> Hulo-Docs is the official documentation site for the [Hulo language](https://github.com/hulo-lang/hulo), built with [VuePress](https://vuepress.vuejs.org/). It provides tutorials, API references, and guides for Hulo users.
13+
14+
## 🤝 Contributing
15+
16+
All contributions are welcome, including:
17+
18+
- Fixing typos or grammar
19+
- Submitting issues
20+
- Adding or editing documentation
21+
- Improving layout or styles
22+
23+
Please see our [CONTRIBUTING.md](CONTRIBUTING.md) before submitting changes.
24+
25+
## 📝 License
26+
27+
This project is licensed under the MIT License. See [LICENSE](LICENSE) for more details.

README.zh-CN.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<h1 align="center">欢迎来到 Hulo-Docs 👋</h1>
2+
3+
<center>
4+
5+
![Hulo](https://img.shields.io/badge/Hulo-%238866E9.svg?logoColor=white&style=for-the-badge) [![Node.js](https://img.shields.io/badge/NodeJS-%3E=8-%236DA55F.svg?logo=node.js&logoColor=white&style=for-the-badge)](https://nodejs.org/) [![SASS](https://img.shields.io/badge/SASS-%5E1.85.0-hotpink.svg?logo=SASS&logoColor=white&style=for-the-badge)](https://sass-lang.com/) [![TypeScript](https://img.shields.io/badge/TypeScript-%23007ACC.svg?logo=typescript&logoColor=white&style=for-the-badge)](https://www.typescriptlang.org/) [![PNPM](https://img.shields.io/badge/PNPM-%234A4A4A.svg?logo=pnpm&logoColor=%2523F69220&style=for-the-badge)](https://pnpm.io/) [![Markdown](https://img.shields.io/badge/Markdown-%23000000.svg?logo=markdown&logoColor=white&style=for-the-badge)](https://www.markdownguide.org/)
6+
7+
</center>
8+
9+
---
10+
11+
[English](README.md) | 简体中文
12+
13+
> Hulo-Docs 是 [Hulo 语言](https://github.com/hulo-lang/hulo) 的官方文档站点源码,基于 [VuePress](https://vuepress.vuejs.org/) 构建,提供 Hulo 语言的教程、标准库文档、使用指南等内容。
14+
15+
16+
## 🤝 参与贡献
17+
18+
我们欢迎任何形式的贡献,包括但不限于:
19+
20+
- 修复错别字或语法问题
21+
- 提交 Issue 讨论文档内容
22+
- 补充缺失的文档章节
23+
- 提交 Pull Request 改进页面结构或样式
24+
25+
贡献前请先阅读 [贡献指南](CONTRIBUTING.md)
26+
27+
## 📝 许可证
28+
29+
本项目采用 MIT 协议,详见 [LICENSE](LICENSE)

0 commit comments

Comments
 (0)