Rendering html document with pkgdown template

Hi

I have following problem. My package is supppsoed to create html vignette as it's functionality, let's call it report. Preprocessed .Rmd file is included along with files of my package and i want to render it in my function. Is there a way to render that report with pkgdown template? If so, how should I pass the path to? I've tried to use html_document() but it didnt work out.

1 Like

To get more details in order to help you, can you explain what you tried ?
What is the form of your pkgdown template ? How do you try to pass it to html_document ?

Here is the link to the template https://github.com/mi2-warsaw/MI2template

I've tried to pass template argument as path to content-vignette.html and css as path to assets/ pkgdown.css but outcome was at least terrible.