迪拉熊Bot官网 https://www.dxkuma.bot
  • MDX 90.6%
  • JavaScript 6%
  • TypeScript 3%
  • CSS 0.2%
  • Astro 0.2%
Find a file
予纾 b19b17a301
Some checks failed
Deploy Starlight site to Codeberg Pages / build-and-deploy (push) Has been cancelled
docs: add documentation for gallery and star features
2026-08-18 12:39:50 +08:00
.forgejo/workflows Install Bun via official script instead of setup-bun action 2026-07-15 16:52:21 +08:00
patches refactor(lucode-starlight): Add patches to extract the sidebar sublist component for lucode-starlight 2026-05-27 17:22:55 +08:00
public Update collection setting to use names instead of IDs 2026-07-11 17:00:52 +08:00
src docs: add documentation for gallery and star features 2026-08-18 12:39:50 +08:00
.gitattributes chore: add gitattributes 2026-01-13 16:51:30 +08:00
.gitignore build(website): Migrate the documentation site to Astro Starlight and restructure the documentation 2026-05-27 13:37:03 +08:00
astro.config.mjs docs: add documentation for gallery and star features 2026-08-18 12:39:50 +08:00
bun.lock Add Mermaid diagram rendering 2026-07-09 16:47:46 +08:00
LICENSE chore: add license 2026-01-13 08:57:08 +08:00
package.json Add Mermaid diagram rendering 2026-07-09 16:47:46 +08:00
README.md docs: Update repository URLs to new self-hosted domain 2026-07-23 14:48:58 +08:00
tsconfig.json build(website): Migrate the documentation site to Astro Starlight and restructure the documentation 2026-05-27 13:37:03 +08:00

迪拉熊Bot 官方文档网站

Static Badge Static Badge Static Badge Static Badge

📖 项目简介

迪拉熊Bot的官方文档网站部署于 https://www.dxkuma.bot

基于 Astro 框架和 Starlight 文档主题构建,为用户提供安装指南、功能介绍、指令大全、更新日志和贡献指南等内容。

🛠️ 技术栈

📦 快速开始

1. 环境要求

  • Bun 包管理器

2. 获取源码并安装依赖

git clone <your-repo-url>/dxkuma-website.git
cd dxkuma-website
bun install

3. 本地开发

bun run dev

启动后访问 http://localhost:4321 即可预览文档。

4. 构建与预览

# 构建生产版本,产物输出到 dist/ 目录
bun run build

# 预览构建结果
bun run preview

📁 项目结构

├── src/
│   ├── content/
│   │   └── docs/              # 文档内容MDX
│   │       ├── user-guide/          # 用户指南
│   │       ├── commands/            # 指令大全
│   │       ├── changelog/           # 更新日志
│   │       ├── collaborator-guide/  # 贡献指南
│   │       ├── index.mdx            # 首页
│   │       └── credits.mdx          # 成员名单
│   ├── components/            # 自定义组件
│   └── styles/                # 自定义样式
├── public/                    # 静态资源
├── astro.config.mjs           # Astro 配置(含侧边栏定义)
└── package.json

📝 编写文档

文档内容位于 src/content/docs/ 目录下,采用 Markdown/MDX 格式编写。网站导航结构(侧边栏)在 astro.config.mjs 中配置。

🤝 贡献

欢迎为迪拉熊Bot的文档做出贡献。你可以通过以下方式参与

  1. 源域Code 上提交 Issue 或 Pull Request
  2. 点击任意页面右上角的"编辑此页"链接直接编辑

📄 开源协议

本站内容采用 署名—相同方式共享 4.0 协议国际版 (CC BY-SA 4.0) 授权。详细信息请参阅 LICENSE 文件。