feat: implement table of contents

This commit is contained in:
Jean-Philippe Sirois
2020-05-12 00:05:17 -04:00
parent 465d026392
commit b17527cd6c
12 changed files with 194 additions and 14 deletions
+6
View File
@@ -55,3 +55,9 @@ export interface IAllArchivesQuery extends IAllFilesQuery {
edges: IFileArchiveQuery[]
}
}
export interface ITocItem {
depth: number
link: string
title: string
}