File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { databases } from "../../data/databases";
5
5
export function jsonToDocumentation ( obj ) {
6
6
const documentationSummary = obj . tables
7
7
. map ( ( table ) => {
8
- return `\t- [${ table . name } ](#${ table . name } )` ;
8
+ return `\t- [${ table . name } ](#${ table . name . toLowerCase ( ) } )` ;
9
9
} )
10
10
. join ( "\n" ) ;
11
11
@@ -84,7 +84,7 @@ export function jsonToDocumentation(obj) {
84
84
85
85
return (
86
86
`# ${ obj . title } documentation\n## Summary\n\n- [Introduction](#introduction)\n- [Database Type](#database-type)\n` +
87
- `- [Table Structure](#table-structure)\n${ documentationSummary } \n- [Relationships](#relationships)\n- [Database Diagram](#database-Diagram )\n\n` +
87
+ `- [Table Structure](#table-structure)\n${ documentationSummary } \n- [Relationships](#relationships)\n- [Database Diagram](#database-diagram )\n\n` +
88
88
`## Introduction\n\n## Database type\n\n- **Database system:** ` +
89
89
`${ databases [ obj . database ] . name } \n## Table structure\n\n${ documentationEntities } ` +
90
90
`\n## Relationships\n\n${ documentationRelationships } \n` +
You can’t perform that action at this time.
0 commit comments