-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy path_quarto.yml
More file actions
181 lines (166 loc) · 5.24 KB
/
Copy path_quarto.yml
File metadata and controls
181 lines (166 loc) · 5.24 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
project:
type: website
render:
- index.qmd
- 404.qmd
- content/getting-started/index.qmd
- content/getting-started/01_environment.qmd
- content/getting-started/02_data_analysis.qmd
- content/getting-started/03_revisions.qmd
- content/manipulation/index.qmd
- content/manipulation/04c_API_TP.qmd
- content/visualisation/index.qmd
- content/modelisation/index.qmd
- content/NLP/index.qmd
- content/annexes/about.qmd
- content/annexes/corrections.qmd
- content/annexes/evaluation.qmd
- content/git/index.qmd
- content/git/introgit.qmd
profile:
default: fr
group: [fr, en]
execute:
cache: true
keep-ipynb: true
# freeze: laisse quarto réutiliser les résultats d'exécution déjà calculés
# pour un (document, format) donné au sein d'un même render de projet.
# Comme les profils fr/en n'exécutent jamais du code différent (le filtre
# when-profile ne filtre que le texte visible, après exécution), ça évite
# de recalculer 2x (fr, en) pour un même format, et fait qu'ajouter typst
# coûte 1 passe d'exécution en plus (par document), pas une par profil.
freeze: auto
# WEBSITE ARCHITECTURE ---------------------
website:
page-navigation: true
back-to-top-navigation: true
reader-mode: true
navbar:
background: "white"
search: true
title: false
left:
- file: index.qmd
text: Home
- sidebar:introduction
- sidebar:manipulation
- sidebar:communication
- sidebar:modelisation
- sidebar:NLP
- sidebar:git
- sidebar:appendix
right:
# - text: "{{< iconify octicon:person-16 title='Person' label='Credits' >}} Credits"
# href: credits.qmd
- text: "{{< iconify octicon:mark-github-16 title='GitHub' label='GitHub' >}}"
href: "#gitlink-widget"
aria-label: "GitHub"
comments:
giscus:
repo: linogaliana/python-datascientist
twitter-card: true
site-url: https://pythonds.linogaliana.fr
repo-url: https://github.com/linogaliana/python-datascientist
repo-branch: main
issue-url: https://github.com/linogaliana/python-datascientist/issues/new
repo-actions: [edit, issue]
search:
location: navbar
type: overlay
format:
html:
# gitlink ne sert qu'au HTML (widget): en Typst il plante sur `bibliography`
# (pandoc.utils.references lit un nom de fichier vide)
filters:
- path: gitlink
at: post-quarto
include-after-body: build/js/mac.html
respect-user-color-scheme: true
theme:
light: [cosmo, styles/custom.scss, styles/custom-light.scss]
dark: [cosmo, styles/custom.scss, styles/custom-dark.scss]
css: styles/styles.css
toc: true
code-overflow: wrap
grid:
sidebar-width: 250px
body-width: 900px
margin-width: 300px
highlight-style: monokai
anchor-sections: true
mainfont: "Open Sans"
monofont: "JetBrains Mono"
linestretch: 1.65
typst:
# Mise en forme des chapitres en PDF: voir styles/typst/README.md
font-paths:
- fonts
- _extensions/quarto-ext/fontawesome/assets/webfonts
papersize: a4
fontsize: 10.5pt
toc: true
toc-depth: 2
linkcolor: "#447099"
highlight-style: atom-one-dark
# PNG plutôt que SVG (défaut typst): les cartes geopandas en SVG écrivent
# chaque sommet des contours et font dépasser au notebook exécuté la taille
# maximale que Quarto sait relire (voir styles/typst/README.md)
fig-format: png
fig-dpi: 200
date-format: long
filters:
- styles/typst/resolve-remote-images.lua
- styles/typst/inline-code.lua
- styles/typst/drop-widgets.lua
template-partials:
- styles/typst/typst-template.typ
- styles/typst/typst-show.typ
- styles/typst/page.typ
include-in-header:
- styles/typst/style.typ
ipynb: default
# Lien "Télécharger le PDF" sur les pages HTML qui déclarent aussi le format
# typst dans leur propre en-tête (le projet ne suffit pas: voir
# https://quarto.org/docs/output-formats/html-multi-format.html, `format`
# n'est pas fusionné entre _quarto.yml et le YAML du document).
format-links:
- html
- format: typst
text: PDF
icon: file-pdf
# PAGE OPTIONS ---------------------
filters:
- at: pre-ast
path: _extensions/linogaliana/lang-switch/lang-notebook.lua
- at: pre-ast
path: _extensions/linogaliana/lang-switch/warninglang.lua
- at: pre-ast
path: _extensions/linogaliana/callout/callout-notebook.lua
- include-code-files
- build/replace-title.lua
- _extensions/linogaliana/details-iframe/details.lua
- _extensions/linogaliana/lang-switch/button.lua
extensions:
gitlink:
enabled: false
platform: github # Platform: github, gitlab, codeberg, gitea, bitbucket
base-url: https://github.com # Base URL (optional, auto-detected from platform)
repository-name: linogaliana/python-datascientist # Repository name for relative references
widget:
enabled: true
style-navbar-tools: true
crossref:
chapters: true
date-format: iso
number-sections: true
wrap: preserve
validate-yaml: false
keep-ipynb: true
lightbox: auto
google-scholar: true
highlight-style: a11y
#author: Lino Galiana
#date: today
#page-layout: article
#title-block-banner: "#e9f3fa"
#commentable: true