Skip to content

Commit

Permalink
fix compatibility with --exclude-meta
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Sep 2, 2024
1 parent 457d10b commit 0a6ed6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html-template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ <h1>Import Graph</h1>

// unpack the node labels into data
for (let [node, node_data] of graph.nodeEntries()) {
let path = node.split('.');
// In line with the `--exclude-meta` option
let path = (node == '«Mathlib.Tactics»') ? [node] : node.split('.');
node_data.proj = path;
if (graph.getNodeAttribute(node, 'in_module')) {
node_data.path = path.slice(1);
Expand Down

0 comments on commit 0a6ed6c

Please sign in to comment.