https://github.com/promacanthus/ebpf-docs
本项目基于 isovalent/ebpf-docs ,旨在全面记录 eBPF 相关的信息和知识。
https://github.com/promacanthus/ebpf-docs
ebpf go rust
Last synced: 4 months ago
JSON representation
本项目基于 isovalent/ebpf-docs ,旨在全面记录 eBPF 相关的信息和知识。
- Host: GitHub
- URL: https://github.com/promacanthus/ebpf-docs
- Owner: promacanthus
- License: mit
- Created: 2024-07-30T12:24:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T03:17:42.000Z (almost 2 years ago)
- Last Synced: 2025-05-16T16:48:37.037Z (about 1 year ago)
- Topics: ebpf, go, rust
- Homepage: https://promacanthus.github.io/ebpf-docs/
- Size: 1.78 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ebpf-docs
这是一个使用 VitePress 构建的 eBPF 指南文档仓库。
## 项目设置
要创建和运行这个项目,请按照以下步骤操作:
```sh
# 1. 初始化项目
npm init
# 2. 安装 VitePress
npm install -D vitepress
# 3. 创建文档结构
# 4. 启动开发服务器
npm run docs:dev
```
## 项目结构
docs/: 包含所有 Markdown 文件
docs/.vitepress/: VitePress 配置文件夹
docs/.vitepress/config.js: 主要配置文件
自定义主题
在 docs/.vitepress/config.js 中配置主题:
export default {
themeConfig: {
// 自定义主题配置
}
}
部署
构建生产版本:
```sh
npm run docs:build
```
将 `docs/.vitepress/dist` 文件夹部署到您的托管服务。
## 贡献
欢迎提交 Pull Requests 来改进文档。
## 许可证
MIT License