Reputation: 759
I am new to Bookdown. I am setting up a test book. When I go to render the book, the first page (index.Rmd) renders correctly and builds the correct TOC on the left. However, clicking any link in the TOC shows me only a blank page. In the _book folder, all internal pages are 0-byte HTML files.
I found several others had this problem on the RStudio forums but no solution was posted.
Just in case, here is my index.html YAML:
---
title: "Test Title"
author: "My Name"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output: bookdown::gitbook
documentclass: book
bibliography: [book.bib]
biblio-style: apalike
link-citations: yes
github-repo: acircleda/RESMHandbook
description: "descirption"
---
Note: I cloned the bookdown minimal example and had the same issue
Upvotes: 1
Views: 343
Reputation: 10352
You have to use bookdown::render_book("index.Rmd")
instead of using the knit button.
Upvotes: 5