[READ-ONLY] Mirror of https://github.com/flo-bit/svleek. simple but beautiful documentation generator from markdown flo-bit.github.io/svleek/
documentation documentation-generator markdown svelte sveltekit tailwind
0

Configure Feed

Select the types of activity you want to include in your feed.

fix screenshot link

+3 -3
+3 -3
build-docs.js
··· 358 358 const pageContent = fs.readFileSync(pagePath, 'utf-8'); 359 359 const newPageContent = pageContent.replace( 360 360 /<HeroScreenshot [\s|\S]*\/>/, 361 - `<HeroScreenshot title="${heroTitle}" subtitle="${heroSubtitle}" image="${heroScreenshot}" buttonHref="${ 362 - config.base_url + heroButtonHref 363 - }" buttonLabel="${heroButtonLabel}"/>` 361 + `<HeroScreenshot title="${heroTitle}" subtitle="${heroSubtitle}" image="${ 362 + config.base_url + heroScreenshot 363 + }" buttonHref="${config.base_url + heroButtonHref}" buttonLabel="${heroButtonLabel}"/>` 364 364 ); 365 365 fs.writeFileSync(pagePath, newPageContent); 366 366 }