Skip to content

Commit c433ed9

Browse files
Merge pull request #17 from pytorch-labs/updated_deployment
Fix: Simplify index.md header and correct GBID link extensions
2 parents e30adc4 + d871cbc commit c433ed9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

generate-site.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ exclude:
5454
console.log('Generated _config.yml');
5555

5656
// Generate index.md
57-
let indexMd = `# Graph-Break Registry
58-
57+
let indexMd = `
5958
Below are all known graph breaks detected by Dynamo.
6059
6160
<!-- Search input - This will require client-side JavaScript if desired.
@@ -68,7 +67,7 @@ Below are all known graph breaks detected by Dynamo.
6867
// Add registry items to index.md
6968
Object.entries(registry).forEach(([id, entries]) => {
7069
const entry = entries[0]; // Assuming first entry is sufficient for list view
71-
indexMd += `- [${id}](gb/${id.toLowerCase()}.md) — ${entry.Gb_type}
70+
indexMd += `- [${id}](gb/${id.toLowerCase()}.html) — ${entry.Gb_type}
7271
`;
7372
});
7473

0 commit comments

Comments
 (0)