[the `_bookdown.yml` and `_output.yml` files]
## .fancy[&amp; publishing]

]


---
name: render

# `_bookdown.yml`

This YAML file gets fed to the `bookdown::render_book` function:


```r
render_book(input, output_format = NULL, ..., clean = TRUE,
    envir = parent.frame(), clean_envir = !interactive(),
    output_dir = NULL, new_session = NA, preview = FALSE,
    encoding = "UTF-8", config_file = "_bookdown.yml")
```


--

Arguments worth mentioning:


```r
new_session: yes 
output_dir: "docs" # for gh-pa