-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_quarto.yml
103 lines (88 loc) · 3 KB
/
_quarto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
project:
type: book
output-dir: _book
# Book formatting types and options
format:
html:
theme:
- cosmo
- test_quarto_book_styles.scss
# mainfont: Roboto # For testing (https://ucsb-meds.github.io/customizing-quarto-websites/#/select-fonts)
pdf:
documentclass: scrreprt
# Add this in order to use webR
filters:
- webr
# Bibliography and citation options
bibliography: references.bib
csl: ama.csl
# Set editor to default to source view instead of visual view
editor: source
# To make sure that R, Python, and Julia code is only executed locally,
# configure your project to use Quarto’s freeze feature by adding this to your
# _quarto.yml. (https://quarto.org/docs/publishing/netlify.html)
execute:
freeze: auto
# Book structure and options
book:
# Basic metadata
title: "Test Quarto Book"
author: "Brad Cannell"
date: today # Figure out how to automatically update the date on render.
favicon: r4epi_favicon.png
repo-url: https://github.com/brad-cannell/test_quarto_book
repo-actions: [edit]
page-footer:
left: |
R for Epidemiology
right: |
This book was built with <a href="https://quarto.org/">Quarto</a>.
# Book options
search: true
downloads: [pdf, docx] # https://quarto.org/docs/books/book-output.html#sidebar-tools
sharing: [twitter, facebook]
page-navigation: true # Haven't played with this much yet. https://quarto.org/docs/books/book-structure.html#page-navigation
# Chapter sturcture
# https://quarto.org/docs/books/book-structure.html
chapters:
# Index is the landing page for the HTML version of the book.
- index.qmd
# My chapters
# Parts can be qmd files (if you want explanitory text) or characater strings
# If you only want a part title.
# This method does not look good in pdf format.
- part: "chapters/part_book_options.qmd"
# Make sure to type "chapters" again under each part.
chapters:
- chapters/book_options.qmd
- chapters/other.qmd
- part: "Authoring"
chapters:
- chapters/call_out_boxes.qmd
- chapters/cross_references/cross_references.qmd
- chapters/custom_styling.qmd
- chapters/gifs/gifs.qmd
- chapters/google_sheets.qmd
- chapters/images/images.qmd
- chapters/rmd_documents.rmd
- chapters/tables.qmd
- chapters/word_documents.qmd
- part: "Working with Code"
chapters:
- chapters/code_chunks.qmd
- chapters/parameterizing.qmd
- chapters/source_qmd_files.qmd
- chapters/webr/webr.qmd
- part: "Publishing"
chapters:
- chapters/pdf.qmd
- chapters/slide_presentations.qmd
- chapters/publishing.qmd
# Built-in chapters
- part: "Built-in Chapters"
chapters:
- chapters/references.qmd
# We can also add appendices and track them separately from other book parts.
appendices:
- chapters/appendices/appendix_example.qmd
- chapters/appendices/glossary.qmd