-
Notifications
You must be signed in to change notification settings - Fork 6
/
_config.yml
74 lines (65 loc) · 2.31 KB
/
_config.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
# Book settings
# Learn more at https://jupyterbook.org/customize/config.html
title: COM6018 - Data Science with Python
author: Jon Barker, University of Sheffield
copyright: "2023" # Copyright year to be placed in the footer
logo: uos_logo.png
# Patterns to skip when building the book. Can be glob-style (e.g. "*skip.ipynb")
exclude_patterns: [_build, Thumbs.db, .DS_Store, "**.ipynb_checkpoints"]
# Auto-exclude files not in the toc
only_build_toc_files: false
# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: auto
exclude_patterns:
- "materials/labs/*"
- "*.md"
# Parse and render settings
parse:
myst_enable_extensions: # default extensions to enable in the myst parser. See https://myst-parser.readthedocs.io/en/latest/using/syntax-optional.html
# - amsmath
- colon_fence
# - deflist
- dollarmath
# - html_admonition
- html_image
- linkify
# - replacements
# - smartquotes
- substitution
- tasklist
myst_url_schemes: [mailto, http, https] # URI schemes that will be recognised as external URLs in Markdown links
myst_dmath_double_inline: true # Allow display math ($$) within an inline context
# Define the name of the latex output file for PDF builds
latex:
latex_engine: pdflatex
use_jupyterbook_latex: true
latex_documents:
targetname: book.tex
# Add a bibtex file so that we can create citations
bibtex_bibfiles:
- references.bib
# Information about where the book exists on the web
repository:
url: https://github.com/jonbarker68/COM6018 # Online location of your book
path_to_book: COM6018 # Optional path to your book, relative to the repository root
branch: main # Which branch of the repository should be used when creating links (optional)
# Add GitHub buttons to your book
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
html:
use_issues_button: true
use_repository_button: true
launch_buttons:
colab_url: "https://colab.research.google.com"
notebook_interface: "classic"
# # Best to stick to official theme as custom themes don't support many features
# sphinx:
# config:
# html_theme: sphinx_material
sphinx:
config:
html_theme_options:
logo:
image_light: uos_logo.png
image_dark: uos_logo_for_dark.png