forked from xarray-contrib/xarray-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
76 lines (66 loc) · 2.32 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
# Learn more at https://jupyterbook.org/customize/config.html
title: ''
author: The Xarray Community
copyright: '2022'
logo: images/logo.png
only_build_toc_files: true
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
html:
# NOTE: this announcement shows up on all pages
home_page_in_navbar: false
use_edit_page_button: true
use_issues_button: true
use_repository_button: true
google_analytics_id: G-JRQHYVFQR7
parse:
# https://jupyterbook.org/content/content-blocks.html?highlight=myst%20substitution#define-substitutions-for-your-whole-book
# https://jupyterbook.org/content/content-blocks.html#using-substitutions-in-links
myst_substitutions:
xarray_docs: https://xarray.dev
xarray_repo: https://github.com/pydata/xarray
xarray_forum: https://github.com/pydata/xarray/discussions
myst_enable_extensions:
# Defaults
- dollarmath
- linkify
- substitution
- colon_fence
# Extras
- html_image
# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: 'cache'
allow_errors: false
# Per-cell notebook execution limit (seconds)
timeout: 300
# Define the name of the latex output file for PDF builds
latex:
latex_documents:
targetname: book.tex
# Configure your Binder links, such as the URL of the BinderHub.
launch_buttons:
notebook_interface: jupyterlab
binderhub_url: 'https://mybinder.org'
# Information about where the book exists on the web
repository:
url: 'https://github.com/xarray-contrib/xarray-tutorial'
branch: main
# Bibliography
bibtex_bibfiles:
- reference/references.bib
# Advanced configuration
sphinx:
extra_extensions:
# 404 not found page
- notfound.extension
# maintain old paths and redirect them (so google results dont go to 404)
# https://github.com/wpilibsuite/sphinxext-rediraffe
- sphinxext.rediraffe
config:
notfound_context:
body: "<h1>Whoops! 404 Page Not Found</h1>\n\n<p>Sorry, this page doesn't exist. Many sections of this book have been updated recently.</p><p> Try the search box 🔎 to find what you're looking for!</p>"
notfound_urls_prefix: /
rediraffe_redirects:
scipy-tutorial/00_overview.ipynb: overview/get-started.md
bibtex_reference_style: author_year # or label, super, \supercite