This is an automated email from the ASF dual-hosted git repository.

imbajin pushed a commit to branch cx-oink-1-migration
in repository https://gitbox.apache.org/repos/asf/hugegraph-doc.git


The following commit(s) were added to refs/heads/cx-oink-1-migration by this 
push:
     new e2428ca45 fix(site): avoid reserved ASF icon path
e2428ca45 is described below

commit e2428ca451ed71818a0f5119a676aa1216ba8ad7
Author: imbajin <[email protected]>
AuthorDate: Mon Aug 31 07:13:03 2026 +0800

    fix(site): avoid reserved ASF icon path
    
    - move the site logo from the Apache /icons alias
    - update OINK branding to use /img/logo.svg
    - enforce the hosted asset path in the URL contract
---
 assets/{icons => img}/logo.svg | 0
 dist/url-contract.json         | 2 +-
 hugo.yaml                      | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/assets/icons/logo.svg b/assets/img/logo.svg
similarity index 100%
rename from assets/icons/logo.svg
rename to assets/img/logo.svg
diff --git a/dist/url-contract.json b/dist/url-contract.json
index b7b568d13..63b5e5e22 100644
--- a/dist/url-contract.json
+++ b/dist/url-contract.json
@@ -31,6 +31,6 @@
     {"path": "/404.html", "versions": ["latest", "1.7", "1.5"], "file": 
"404.html", "contains": ["404"]},
     {"path": "/cn/404.html", "versions": ["latest", "1.7", "1.5"], "file": 
"cn/404.html", "contains": ["404"]},
     {"path": "/client-go/", "versions": ["latest"], "file": 
"client-go/index.html", "contains": ["go-import", "go-source"]},
-    {"path": "/icons/logo.svg", "versions": ["latest", "1.7", "1.5"], "file": 
"icons/logo.svg", "contains": ["<svg"], "baselineStatus": 404, 
"migrationStatus": 200}
+    {"path": "/img/logo.svg", "versions": ["latest", "1.7", "1.5"], "file": 
"img/logo.svg", "contains": ["<svg"], "baselineStatus": 404, "migrationStatus": 
200}
   ]
 }
diff --git a/hugo.yaml b/hugo.yaml
index fbcf1173e..82e14bbab 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -79,7 +79,7 @@ params:
   github_repo: https://github.com/apache/hugegraph-doc
   github_project_repo: https://github.com/apache/hugegraph
   github_branch: master
-  logo: icons/logo.svg
+  logo: img/logo.svg
   version: latest
   # Historical entries are enabled only after the aggregate artifact exists.
   version_menu_pagelinks: false

Reply via email to