-
Notifications
You must be signed in to change notification settings - Fork 7
/
_config.yml
82 lines (70 loc) · 2.57 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
75
76
77
78
79
80
81
# Book settings
# Learn more at https://jupyterbook.org/customize/config.html
title: Computational Mechanics Numerical Tours with FEniCSx
author: Jeremy Bleyer
logo: images/logo.png
# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: cache
# Set timeout for any example to 20 minutes
timeout: 1800
# Google analytics
html:
google_analytics_id: G-2WWYPZ9TLF
# Define the name of the latex output file for PDF builds
latex:
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/bleyerj/comet-fenicsx # Online location of your book
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:
# extra_footer: |
# <div>
# This webpage is an adaptation of <a href=https://comet-fenics.readthedocs.io>The COMET tutorial</a> and
# is distributed under the terms of the <a href=http://creativecommons.org/licenses/by-sa/4.0/>Creative Commons Attribution-ShareAlike 4.0 International License </a>
# which permits use, duplication, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source,
# provide a link to the Creative Commons license and indicate if changes were made. If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
# </div>
exclude_patterns: [
...,
"**/*.ipynb",
"**/*.py",
README.md]
# Sphinx configuration for custom theme
sphinx:
config:
bibtex_reference_style: author_year
html_theme: sphinx_book_theme
html_show_copyright: false
html_static_path: ["_static"]
html_css_files: ["custom.css"]
html_theme_options:
pygment_light_style: "friendly"
show_navbar_depth: 1
home_page_in_toc: true
show_toc_level: 2
repository_url: https://github.com/bleyerj/comet-fenicsx
use_edit_page_button: true
use_repository_button: true
use_download_button: false
parse:
myst_enable_extensions:
- "amsmath"
- "colon_fence"
- "deflist"
- "dollarmath"
- "html_admonition"
- "html_image"
- "linkify"
- "replacements"
- "smartquotes"
- "substitution"
- "attrs_inline"