-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_quarto-website.yml
More file actions
237 lines (229 loc) · 6.52 KB
/
Copy path_quarto-website.yml
File metadata and controls
237 lines (229 loc) · 6.52 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
project:
type: website
output-dir: _site
render:
- "*.qmd"
- "chapters/*.qmd"
- "!README.md"
- "!appendix-document-metadata.qmd"
- "!references.qmd"
# The `macros` git submodule provides macro definitions for include/
# shortcode use, not standalone site pages. Don't render its .qmd files
# directly: macros-table.qmd uses DT::datatable() (an HTML widget) that
# errors when the project also renders to PDF.
- "!macros/"
website:
title: "Quarto Website Template"
site-url: https://ucd-serg.github.io/qwt/
description: "A template for creating websites with Quarto"
# https://quarto.org/docs/websites/website-llms.html --- use `llms-txt:`, not `llms:` (schema error)
llms-txt: true
page-footer:
center: "Built with [Quarto](https://quarto.org/)"
back-to-top-navigation: true
# Previous/next links at the foot of each page follow the sidebar's order,
# so page-navigation does nothing without the sidebar below.
# https://quarto.org/docs/websites/website-navigation.html#page-navigation
page-navigation: true
reader-mode: true
repo-url: https://github.com/UCD-SERG/qwt
repo-actions: [edit, issue, source]
navbar:
left:
- text: "Home"
href: index.qmd
- text: "Chapters"
menu:
- text: "Chapter 1: Introduction"
href: chapters/chapter1.qmd
- text: "Chapter 2: Advanced Topics"
href: chapters/chapter2.qmd
- text: "Theorem Examples"
href: chapters/theorem-examples.qmd
right:
- icon: github
href: https://github.com/UCD-SERG/qwt
aria-label: GitHub
# The sidebar sets the previous/next page links, so keep it in the same
# order as the navbar and add each new page to both.
# It leaves out Home on purpose: Quarto highlights the first navbar link
# whose target appears anywhere in the sidebar, so a Home entry here would
# highlight "Home" on every page. So the chain starts at the first chapter,
# and the home page has no "next" link. To put Home in the chain,
# add it as the first entry and turn on page-navigation.html (see
# `include-after-body` under `format.html`), which fixes the highlighting.
sidebar:
style: docked
search: false # the navbar already has search
contents:
- section: "Chapters"
contents:
- chapters/chapter1.qmd
- chapters/chapter2.qmd
- chapters/theorem-examples.qmd
callouty-theorem:
thm:
override-title: false # do not have the filter set
# or override a callout title
callout: # parameters of the wrapping callout
# see Quarto callout docs for details
type: lem # same color as lem (royal blue); color set in custom-callout block below
appearance: minimal
lem:
override-title: false
callout:
type: lem
appearance: minimal
cor:
override-title: false
callout:
type: cor
appearance: minimal
prp:
override-title: false
callout:
type: prp
appearance: minimal
cnj:
override-title: false
callout:
type: cnj
appearance: minimal
def:
override-title: false
callout:
type: def
appearance: minimal
exm:
override-title: false
callout:
type: exm
appearance: minimal
exr:
override-title: false
callout:
type: exr
appearance: minimal
proof: # also support wrapping proof-like environments
override-title: true # override the callout title with
# the proof-type label,
# appending the element name when provided
callout:
type: proof
appearance: default
collapse: true
icon: true
solution:
override-title: true
callout:
type: solution
appearance: default
collapse: true
icon: false
remark:
override-title: false
callout:
type: remark
appearance: minimal
# Color palette for theorem/proof environments.
# The coatless-quarto/custom-callout extension reads this block and injects
# CSS (HTML) and LaTeX \definecolor (PDF) so each type gets a unique color.
# Rules: no reds; thm shares lem's royal blue.
custom-callout:
lem:
color: "#1565C0" # royal blue (also used for thm)
cor:
color: "#00838F" # dark cyan
prp:
color: "#827717" # dark olive
cnj:
color: "#558B2F" # grass green
def:
color: "#1B5E20" # forest green (very distinct from theorem types)
exm:
color: "#6A1B9A" # deep purple
exr:
color: "#FFA500" # orange
proof:
color: "#37474F" # blue-grey slate
solution:
color: "#4E342E" # dark cocoa
remark:
color: "#AD1457" # dark magenta
format:
html:
filters:
- sun123zxy/callouty-theorem
- coatless-quarto/custom-callout
theme:
light: [cosmo, offwhite.scss]
dark: darkly
# Replaces Quarto's two-way toggle with a Light / Off-white / Parchment / Dark dropdown.
include-in-header: theme-picker.html
# Opt-in: floating previous/next arrows in the page margins, and navbar
# highlighting that works when Home is in the sidebar.
# include-after-body: page-navigation.html
css: styles.css
toc: true
anchor-sections: true
toc-location: right
toc-depth: 3
code-fold: true
code-tools: true
code-link: true
code-summary: "Show R code"
highlight-style: arrow
lightbox: true
link-external-icon: true
embed-resources: false
fig-cap-location: top
html-math-method: mathjax
number-sections: true
number-depth: 3
df-print: paged
docx:
number-sections: true
number-depth: 3
df-print: tibble
prefer-html: true
revealjs:
output-file: "{stem}-slides.html"
theme: [simple, styles-reveal.scss]
include-in-header: qwt-reveal-toggle.html
slide-number: true
chalkboard: false
preview-links: auto
controls: true
transition: slide
background-transition: fade
lightbox: true
fig-cap-location: top
html-math-method: mathjax
smaller: true
number-sections: true
progress: true
incremental: false
df-print: paged
number-depth: 2
shift-heading-level-by: 0
slide-level: 2
scrollable: true
echo: true
margin: 0.0
code-fold: true
code-link: true
code-summary: "[R code]"
auto-stretch: true
fig-height: 5
fig-width: 7
date: last-modified
date-format: "[Last modified:] YYYY-MM-DD HH:mm:ss (z)"
execute:
warning: false
message: false
cache: false
freeze: auto
knitr:
opts_chunk:
collapse: true
comment: "#>"