Molbap HF Staff commited on
Commit
7310b31
·
1 Parent(s): d92f8ab
content/d3_dependency_graph.html CHANGED
@@ -1830,7 +1830,7 @@ const node = g.append('g')
1830
  // Base‑model icon (HF logo)
1831
  node.filter(d => d.is_base)
1832
  .append('image')
1833
- .attr('xlink:href', 'hf-logo.svg')
1834
  .attr('x', -parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')) / 2)
1835
  .attr('y', -parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')) / 2)
1836
  .attr('width', parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')))
 
1830
  // Base‑model icon (HF logo)
1831
  node.filter(d => d.is_base)
1832
  .append('image')
1833
+ .attr('xlink:href', '../hf-logo.svg')
1834
  .attr('x', -parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')) / 2)
1835
  .attr('y', -parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')) / 2)
1836
  .attr('width', parseFloat(getComputedStyle(document.documentElement).getPropertyValue('--base‑size')))
webpack.config.js CHANGED
@@ -96,6 +96,7 @@ module.exports = {
96
  { from: "content/*.png", to: "static/[name][ext]" },
97
  { from: "content/*.svg", to: "static/[name][ext]" },
98
  { from: "content/*.html", to: "static/[name][ext]" },
 
99
  {
100
  from: "content/article.md",
101
  to: "index.html",
 
96
  { from: "content/*.png", to: "static/[name][ext]" },
97
  { from: "content/*.svg", to: "static/[name][ext]" },
98
  { from: "content/*.html", to: "static/[name][ext]" },
99
+ { from: "content/hf-logo.svg", to: "hf-logo.svg" },
100
  {
101
  from: "content/article.md",
102
  to: "index.html",