Skip to content

docs: AGENTS/README & refactor server/toolchain docs#446

Merged
VGalaxies merged 4 commits intomasterfrom
update-doc
Jan 31, 2026
Merged

docs: AGENTS/README & refactor server/toolchain docs#446
VGalaxies merged 4 commits intomasterfrom
update-doc

Conversation

@imbajin
Copy link
Member

@imbajin imbajin commented Jan 31, 2026

Restructure and clarify repository documentation. AGENTS.md was rewritten and condensed into a practical agent/dev guide with development commands, prerequisites (Hugo Extended, Node.js v16+), content/structure overview, CI/CD notes, and troubleshooting tips. README.md was replaced with a bilingual (ZH/EN) homepage including a 3-step quickstart, repo layout, common commands, contributing requirements, contact info, and license. contribution.md was expanded with a PR checklist and clearer contribution steps (fork/branch/PR with screenshots). These changes improve onboarding and contribution workflows for the docs site.

Restructure and clarify repository documentation. AGENTS.md was rewritten and condensed into a practical agent/dev guide with development commands, prerequisites (Hugo Extended, Node.js v16+), content/structure overview, CI/CD notes, and troubleshooting tips. README.md was replaced with a bilingual (ZH/EN) homepage including a 3-step quickstart, repo layout, common commands, contributing requirements, contact info, and license. contribution.md was expanded with a PR checklist and clearer contribution steps (fork/branch/PR with screenshots). These changes improve onboarding and contribution workflows for the docs site.
Copilot AI review requested due to automatic review settings January 31, 2026 13:20
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jan 31, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restructures and modernizes the documentation for the HugeGraph docs site to make local setup and contribution workflows clearer for both humans and AI tooling.

Changes:

  • Rewrites AGENTS.md into a concise, practical guide for AI coding assistants, covering project structure, dev commands, prerequisites, CI/CD, and troubleshooting.
  • Replaces README.md with a bilingual (ZH/EN) entrypoint that focuses on 3-step local setup, repo layout, contribution requirements, common commands, and contact info.
  • Expands contribution.md with a clear PR checklist and keeps the existing step-by-step local run / theme customization details as a deeper reference.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
AGENTS.md Condenses and reorganizes AI-agent guidance around dev commands, prerequisites, structure, CI/CD, and troubleshooting to align with the current Hugo/Node setup and workflows.
README.md Replaces the previous product-centric README with a docs-repo-centric, bilingual quickstart and contribution overview that improves onboarding for docs contributors.
contribution.md Adds a PR checklist and positions the file as a detailed reference, complementing the new README quickstart while retaining legacy setup and theme instructions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Bump documentation site version and update docs/configs to reflect HugeGraph 1.7.0 changes: update config.toml version to 1.7; add Version Change notices for Auth REST API in CN/EN; revise HugeGraph-Server quickstart (docker images, download/toolchain URLs) and add deprecation warnings for removed legacy backends (MySQL, PostgreSQL, Cassandra, ScyllaDB) in favor of 1.7 backends (RocksDB, HStore, HBase, Memory). Update default rest-server config docs: increase batch.max_* defaults, raise batch.max_write_ratio, set exception.allow_trace true, add log.slow_query_threshold, and add K8s / PD/Meta / Arthas configuration option sections.
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Jan 31, 2026
@imbajin imbajin changed the title docs: AGENTS.md, README.md, contribution.md docs: AGENTS/README & refactor server/toolchain docs (BIG CHANEG) Jan 31, 2026
@imbajin imbajin changed the title docs: AGENTS/README & refactor server/toolchain docs (BIG CHANEG) docs: AGENTS/README & refactor server/toolchain docs Jan 31, 2026
Add HugeGraph-Spark-Connector quick start docs (English and Chinese). Add a Configuration section to HugeGraph-Hubble docs (server settings and Gremlin query limits) in both languages. Update hugegraph-tools docs (EN/CN) to document new graph commands (graph-create, graph-clone, graph-drop), authentication backup/restore (auth-backup, auth-restore), --thread-num option for relevant commands, and minor heading/usage adjustments.
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Jan 31, 2026
@imbajin imbajin requested a review from Copilot January 31, 2026 15:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

# Build with specific environment
HUGO_ENV="production" hugo --gc
```
- `config.toml` - Site-wide settings, language config, menu structure, version (currently 0.13)
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config.toml is now configured with version = "1.7", but this note still states the version is "currently 0.13", which can mislead tooling or contributors relying on this guide. Please update the mentioned version here to match the actual value in config.toml so the documentation stays consistent.

Suggested change
- `config.toml` - Site-wide settings, language config, menu structure, version (currently 0.13)
- `config.toml` - Site-wide settings, language config, menu structure, version (currently 1.7)

Copilot uses AI. Check for mistakes.
Comment on lines 141 to +147

```bash
# download toolchain package, it includes loader + tool + hubble, please check the latest version (here is 1.5.0)
wget https://downloads.apache.org/incubator/hugegraph/1.5.0/apache-hugegraph-toolchain-incubating-1.5.0.tar.gz
# download toolchain package, it includes loader + tool + hubble, please check the latest version (here is 1.7.0)
wget https://downloads.apache.org/incubator/hugegraph/1.7.0/apache-hugegraph-toolchain-incubating-1.7.0.tar.gz
tar zxf *hugegraph-*.tar.gz
# enter the tool's package
cd *hugegraph*/*tool*
cd *hugegraph*/*tool*
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fenced code block inside this <details> section has mismatched bash fences: there is an extra opening bash before the #### 3.4 heading and another bash before the download commands, which causes the heading to be rendered as code and can leave a code block unclosed. Please collapse this to a single fenced code block (e.g., move `#### 3.4` outside of the code block and keep only one bash fence around the shell commands) so the Markdown renders correctly.

Copilot uses AI. Check for mistakes.
@VGalaxies VGalaxies merged commit fa6ee62 into master Jan 31, 2026
7 checks passed
@VGalaxies VGalaxies deleted the update-doc branch January 31, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants