doc(server): sync dist with master (#489)

Align the server deploy, config template, Docker cluster, Gremlin Console
and IDEA setup pages with hugegraph master. Drop the deprecated
task.scheduler_type key, correct the compose file inventory and the
env-var reference against docker-entrypoint.sh and the compose files,
match the conf/ template snippets key by key, fix the container script
mount path and the graphs endpoint, and document the startup script
flags, the security-check Java range and the rocksdb-only build.
10 files changed
tree: e65c06d687fd8e35a7e77e60c40250e31e50c598
  1. .github/
  2. assets/
  3. content/
  4. data/
  5. dist/
  6. i18n/
  7. layouts/
  8. scripts/
  9. static/
  10. .asf.yaml
  11. .editorconfig
  12. .gitignore
  13. .htaccess
  14. AGENTS.md
  15. contribution.md
  16. go.mod
  17. go.sum
  18. hugo.yaml
  19. LICENSE
  20. netlify.toml
  21. NOTICE
  22. README.md
  23. versions.json
README.md

Apache HugeGraph Documentation Website

Ask DeepWiki License Hugo


中文 | English

This is the source code repository for the HugeGraph documentation website.

For the HugeGraph database project, visit apache/hugegraph.

Quick Start

Only 3 steps are needed to run the documentation website locally.

Prerequisites: Go 1.27+ and Hugo Extended 0.165.0. OINK does not require Node.js, npm, PostCSS, or a vendored theme checkout.

# 1. Clone repository
git clone https://github.com/apache/hugegraph-doc.git
cd hugegraph-doc

# 2. Verify the pinned theme module
hugo mod graph

# 3. Start the development server (auto-reload)
hugo server

Open http://localhost:1313 to preview.

The module graph must resolve github.com/pgsty/oink@v1.0.0. For a production-equivalent check, run the strict build command shown below.

Repository Structure

hugegraph-doc/
├── content/                    # 📄 Documentation content (Markdown)
│   ├── cn/                     # 🇨🇳 Chinese documentation
│   │   ├── docs/               #    Main documentation
│   │   │   ├── quickstart/     #    Quick start guides
│   │   │   ├── config/         #    Configuration docs
│   │   │   ├── clients/        #    Client docs
│   │   │   ├── guides/         #    User guides
│   │   │   └── ...
│   │   ├── blog/               #    Blog posts
│   │   └── community/          #    Community pages
│   └── en/                     # 🇺🇸 English documentation (mirrors cn/ structure)
│
├── data/                       # 🧭 Landing-page and footer data
├── i18n/cn.yaml                # 🌐 OINK interface strings for the /cn/ locale
├── assets/                     # 🖼️  Project brand assets
├── layouts/                    # 📐 Hugo template overrides
├── static/                     # 📁 Static files
├── go.mod / go.sum             # 📌 Pinned OINK module
└── hugo.yaml                   # ⚙️  Site configuration

Contributing

Contribution Workflow

  1. Fork this repository
  2. Create a new branch from master
  3. Make your changes
  4. Submit a Pull Request with screenshots

Requirements

RequirementDescription
Bilingual UpdatesUpdate BOTH content/cn/ and content/en/
PR ScreenshotsInclude before/after screenshots in PR
MarkdownUse Markdown with Hugo front matter

Detailed Guide

See contribution.md for the pinned toolchain, strict build, OINK customization, and translation rules.

Commands

CommandDescription
hugo serverStart dev server (hot reload)
hugo --cleanDestinationDir --gc --minify --environment production --printPathWarnings --printI18nWarnings --panicOnWarningStrict production build to ./public/
hugo server -p 8080Custom port

中文版

这是 HugeGraph 官方文档网站源代码仓库

如果你想查找 HugeGraph 数据库本身,请访问 apache/hugegraph

快速开始

只需 3 步即可在本地启动文档网站。

前置条件: Go 1.27+ 和 Hugo Extended 0.165.0。OINK 不需要 Node.js、npm、PostCSS 或检出到仓库内的主题副本。

# 1. 克隆仓库
git clone https://github.com/apache/hugegraph-doc.git
cd hugegraph-doc

# 2. 检查固定的主题模块
hugo mod graph

# 3. 启动开发服务器(支持热重载)
hugo server

打开 http://localhost:1313 预览网站。

模块图必须解析为 github.com/pgsty/oink@v1.0.0。需要执行与生产一致的检查时,请运行下方的严格构建命令。

仓库结构

hugegraph-doc/
├── content/                    # 📄 文档内容 (Markdown)
│   ├── cn/                     # 🇨🇳 中文文档
│   │   ├── docs/               #    主要文档目录
│   │   │   ├── quickstart/     #    快速开始指南
│   │   │   ├── config/         #    配置文档
│   │   │   ├── clients/        #    客户端文档
│   │   │   ├── guides/         #    使用指南
│   │   │   └── ...
│   │   ├── blog/               #    博客文章
│   │   └── community/          #    社区页面
│   └── en/                     # 🇺🇸 英文文档(与 cn/ 结构一致)
│
├── data/                       # 🧭 首页与页尾数据
├── i18n/cn.yaml                # 🌐 /cn/ 语言的 OINK 界面文案
├── assets/                     # 🖼️  项目品牌资源
├── layouts/                    # 📐 Hugo 模板覆盖
├── static/                     # 📁 静态文件
├── go.mod / go.sum             # 📌 固定的 OINK 模块
└── hugo.yaml                   # ⚙️  站点配置

如何贡献

贡献流程

  1. Fork 本仓库
  2. 基于 master 创建新分支
  3. 修改文档内容
  4. 提交 Pull Request(附截图)

重要说明

要求说明
双语更新修改内容时需同时更新 content/cn/content/en/
PR 截图提交 PR 时需附上修改前后对比截图
Markdown文档使用 Markdown 格式,带 Hugo front matter

详细指南

查看 contribution.md 了解固定工具链、严格构建、OINK 定制和翻译要求。

常用命令

命令说明
hugo server启动开发服务器(热重载)
hugo --cleanDestinationDir --gc --minify --environment production --printPathWarnings --printI18nWarnings --panicOnWarning严格构建生产版本到 ./public/
hugo server -p 8080指定端口

Contact & Community

Contributors

Thanks to all contributors to the HugeGraph documentation!

contributors


License

Apache License 2.0