()
| 84 | }; |
| 85 | |
| 86 | const imageGeneratorOptions = async (): Promise<ImageGeneratorOptions> => { |
| 87 | return { |
| 88 | width: 1200, |
| 89 | height: 600, |
| 90 | fonts: [ |
| 91 | { |
| 92 | name: "Roboto", |
| 93 | data: await getTtfFont("Roboto", ["ital", "wght"], [0, 400]), |
| 94 | weight: 400, |
| 95 | style: "normal", |
| 96 | }, |
| 97 | ], |
| 98 | }; |
| 99 | }; |
| 100 | |
| 101 | function docSectionPath(slug: string, title: string) { |
| 102 | let section = slug.split("/")[1].toString(); |
no test coverage detected