incubator-hugegraph-doc icon indicating copy to clipboard operation
incubator-hugegraph-doc copied to clipboard

refactor: unify URL prefix in 1.8.0 (draft)

Open bitflicker64 opened this issue 10 months ago • 2 comments

Purpose of the PR

  • Related to apache/incubator-hugegraph#2944

This PR updates the documentation to reflect the new URL normalization feature introduced in apache/incubator-hugegraph#2944.

Since the server now automatically adds the http:// scheme when missing from URL configurations, this PR removes the http:// prefix from configuration file examples to demonstrate the simplified configuration format.

Main Changes

Updated URL configuration examples in both Chinese (CN) and English (EN) documentation:

Configuration Files Updated:

  • ✅ content/cn/docs/config/config-guide.md
  • ✅ content/en/docs/config/config-guide.md
  • ✅ content/cn/docs/config/config-option.md
  • ✅ content/en/docs/config/config-option.md
  • ✅ content/cn/docs/quickstart/hugegraph/hugegraph-server.md
  • ✅ content/en/docs/quickstart/hugegraph/hugegraph-server.md

Examples Changed:

Before:

restserver.url=http://127.0.0.1:8080
gremlinserver.url=http://127.0.0.1:8182

After:

restserver.url=127.0.0.1:8080
gremlinserver.url=127.0.0.1:8182

What was NOT changed (intentionally):

  • ❌ RESTful API endpoint URLs (e.g., GET http://127.0.0.1:8080/graphs)
  • ❌ curl command examples (require full URL)
  • ❌ Java client code (requires full URL with scheme)
  • ❌ CLI tool --url parameters (require full URL)
  • ❌ HTTPS configuration examples in config-https.md (demonstrates HTTPS feature)

bitflicker64 avatar Feb 02 '26 13:02 bitflicker64

Thanks for the PR, but due to our website doesn't support multi versions, to avoid confusion(BREAKING CHANGE), we will only merge it in the next release (1.8.0)

And mark it as a draft for now

imbajin avatar Feb 03 '26 07:02 imbajin

Thanks for the PR, but due to our website doesn't support multi versions, to avoid confusion(BREAKING CHANGE), we will only merge it in the next release (1.8.0)

And mark it as a draft for now

makes sense , thanks !!

bitflicker64 avatar Feb 03 '26 07:02 bitflicker64