I have a website capable of using various themes with RMarkdown (e.g., various pretty doc themes) deployed on RStudio Connect. I really like the distill theme, and would like to switch. I am able to deploy the app onto RStudio Connect using the build pane or distill::publish_website(). The index.Rmd page renders as expected, but any linked articles do not appear. From inspecting the source, I see it loads the html, but the page is blank (all white). Any ideas on how to properly render the site?
I'm not sure how to create a reprex for this issue given that several different files are involved, but I'm open to advice on how to create one.
My issue may be from not using the "blog" format. The content was a community effort where we created interconnected articles that better match wiki style content versus linear blog posts. I saw that distill just got a significant update. I should have some time today to play around with it a bit more.
As an aside, people are genuinely blown away at work when we show them websites build with rmarkdown. It's such a fantastic tool.
So along the lines of a Knowledge Repo/Wiki, rather than the linear blog. You can create more "website" style content with distill, and I've created internal Knowledge repos via the Website vs Blog start on our internal RStudio Connect.
It's an interesting use-case and I imagine that @apreshill would also be super interested in hearing about the specifics. I think the questions are:
Do you want to have a website with dropdown menus linking to other pieces of content or do you want a more traditional shared blog?
Can you collaborate via Version Control like Git/Github?
An example of one of the internal sites I've built via RMD. Note that you add knit content by name (content.html) vs a classical URL (connect.company.com/content.html). distill should be able to "build" the links for you.
If I remove the visibility: hidden;, the page will render but without css applied. Interestingly, that same html exists for the index.html file, but that page renders fine. I'm out of my depth here with html, but that looks to be part of my problem. I tried creating a theme with distill::create_theme() and specifying that file during rendering but no luck.
This sounds like an interesting use case for Distill! I suspect you need to reknit individual (non-blog) articles to the distill::distill_article output format. And for maintaining, if you want a workflow where people add individual articles and they automatically populate to a listing page, you'll need to transition to articles organized as posts (https://rstudio.github.io/distill/blog.html#listing-pages) if you don't want to have to update a menu every time.
Thanks for the suggestion @apreshill. One complexity we have is that we have non-R users contributing to our site using markdown files. Not sure if this is worth noting, but it works as intended if we use a prettydoc template.
I haven't figured out a great workflow yet, but I'm going to keep playing around with the different options.