Hey all!
I am compiling a long report into a html document with Bookdown and didn't have any problems knitting it with bookdown::gitbook until recently. Not sure what happened.
The code runs without errors, all the plots and files are generated as needed, but the index.rmd is generated into an .html file named after the first heading's id ("chapter00.html"), rather than "index.html". This means the website does not work when uploaded to Github.
Everything works great if the file name is manually changed to "index.html".
my index.Rmd is as follows:
---
title: "Eesti inimarengu aruanne 2019"
author: "Eesti Koostöö Kogu"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
documentclass: book
bibliography: [bibliography/bib_chapter23.bib, bibliography/bib_chapterXY.bib]
biblio-style: authoryear
biblatexoptions: [refsegment=chapter]
csl: keel-ja-kirjandus.csl
link-citations: yes
description: "Eesti inimarengu aruanne 2019"
css: eia.css
lang: et
---
# Sissejuhatus {-#chapter00 .chapter_section .intro_section}
_bookdown.yml file is as follows:
book_filename: "EIA_2019_digi"
language:
label:
fig: 'Joonis '
tab: 'Tabel '
eq: 'Valem '
ui:
chapter_name: ""
delete_merged_file: true
_output.yml is as follows:
bookdown::gitbook:
split_by: section
split_bib: yes
config:
toc:
collapse: subsection
scroll_highlight: yes
before: null
after: null
toolbar:
position: fixed
edit : null
download: null
search: yes
sharing:
facebook: no
twitter: no
google: no
linkedin: no
weibo: no
instapaper: no
vk: no
all: ['facebook', 'google', 'twitter', 'linkedin', 'weibo', 'instapaper']
bookdown::pdf_book:
includes:
in_header: preamble.tex
latex_engine: xelatex
citation_package: natbib
keep_tex: yes
bookdown::epub_book: default
Any insights about what may be the cause of the problem? Thanks!