Skip to content

docs: streamline module and agent documentation - #900

Open
imbajin wants to merge 11 commits into
apache:masterfrom
hugegraph:docs/streamline-navigation
Open

imbajin wants to merge 11 commits into
apache:masterfrom
hugegraph:docs/streamline-navigation

Conversation

@imbajin

@imbajin imbajin commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Mirrors hugegraph/hugegraph-toolchain#137 from the existing hugegraph:docs/streamline-navigation branch. Verification details below are reported by the source PR; See this pull request’s checks for the current ASF CI status.

Summary

  • Replace the oversized root README with a concise tool-selection guide, one dependency diagram, focused quick starts and links to module-owned details.
  • Add docs/README.md as the cross-module documentation index and define ownership across module READMEs, repository docs, website docs and agent guidance.
  • Reduce the .serena material from roughly 2,900 lines of copied workflows, fixed versions, onboarding status and stale Java requirements to a compact set of module maps, validation boundaries and source links.
  • Simplify AGENTS.md around module ownership and dependency-aware validation instead of duplicating complete build and architecture manuals.
  • Set Markdown editor guidance to logical paragraphs with a 160-character review guide and no automatic wrapping while typing.

Key behavior preserved

  • The Java client remains the shared dependency for Loader, Hubble, Tools and the Spark connector.
  • Client changes still require downstream validation; Loader and Client changes still require Hubble consideration.
  • Detailed CI and Java migration guidance remains in docs/ci.md and docs/java17-migration.md.
  • Module-specific commands and configuration remain owned by the nearest module.

Validation

  • Documentation-only change; no Java, frontend, Go, Maven dependency or packaging behavior changed.
  • Verified referenced modules, scripts and documents against the repository tree and root Maven module list.
  • Module validation passes: CI policy/runtime fixture tests, merged release profile validation, license header checks and RAT succeeded; unrelated module jobs were skipped by the docs-only selection policy.
  • Reviewed the complete 12-file diff, with stale Serena content intentionally replaced rather than copied forward.

@bitflicker64 bitflicker64 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Blocking: yes. Summary: two root README instructions fail when followed: the Hubble Docker config copy binds Hubble to container loopback, and the Hubble module build command builds no Hubble code.

Comment thread README.md Resolved
Comment thread README.md Resolved
@imbajin

imbajin commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Follow-up review found a portability gap in the host connection guidance: Docker Desktop resolves host.docker.internal, but a Linux Docker Engine commonly needs --add-host host.docker.internal:host-gateway (or a shared network). I am clarifying that option and the requirement that Server listen on an address reachable from the container.

@imbajin

imbajin commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Follow-up fixed in 8eb8aa0: the Hubble guide now distinguishes Docker Desktop from Linux Docker Engine, documents the host-gateway mapping, and notes that a Server bound only to host loopback may not be reachable from a container. The documentation and command syntax were checked; a Linux container connection was not run.

@imbajin

imbajin commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Review follow-up: documentation and homepage

Reviewed head a8ab1f4041b3193301ec4d77a6408c7faf6f9b85. An independent review covered all 12 changed files; a separate homepage review checked the restored navigation, architecture, quick start, links and Server version guidance.

Score: 9.6/10. No actionable blocking findings remain in the final review. The earlier homepage review scored the preceding version 9.5/10; the final change removed screenshots and the DeepWiki badge.

The checks were static documentation and link/format checks. Docker, Kubernetes and Maven acceptance were not rerun as part of this review.

@bitflicker64 bitflicker64 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Blocking: no. Score: 9/10. Summary: the README, AGENTS.md, docs/README.md and .serena commands, links and anchors match the source tree, and both earlier Hubble Docker and build findings are fixed at this head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants