-
Notifications
You must be signed in to change notification settings - Fork 3
/
_config.yml
89 lines (83 loc) · 4.5 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
82
83
84
85
86
87
88
89
#######################################################################################
# A default configuration that will be loaded for all jupyter books
# Users are expected to override these values in their own `_config.yml` file.
# This is also the "master list" of all allowed keys and values.
#######################################################################################
# Book settings
title : "" # The title of the book. Will be placed in the left navbar.
author : The Neuroscout team # The author of the book
copyright : "2022" # Copyright year to be placed in the footer
logo : "static/neuroscout_docs_paths.svg" # A path to the book logo
exclude_patterns : [] # Patterns to skip when building the book. Can be glob-style (e.g. "*skip.ipynb")
#######################################################################################
# Execution settings
execute:
execute_notebooks : off # Whether to execute notebooks at build time. Must be one of ("auto", "force", "cache", "off")
cache : "" # A path to the jupyter cache that will be used to store execution artifacs. Defaults to `_build/.jupyter_cache/`
exclude_patterns : [] # A list of patterns to *skip* in execution (e.g. a notebook that takes a really long time)
#######################################################################################
# HTML-specific settings
html:
favicon : "" # A path to a favicon image
use_edit_page_button : True # Whether to add an "edit this page" button to pages. If `true`, repository information in repository: must be filled in
use_repository_button : False # Whether to add a link to your repository button
use_issues_button : False # Whether to add an "open an issue" button
google_analytics_id : "G-CSGLPQDPMH" # A GA id that can be used to track book views.
home_page_in_navbar : false # Whether to include your home page in the left Navigation Bar
baseurl : "https://neuroscout.github.io/neuroscout-docs/" # The base URL where your book will be hosted. Used for creating image previews and social links. e.g.: https://mypage.com/mybook/
comments:
hypothesis: true
#######################################################################################
# Launch button settings
launch_buttons:
notebook_interface : "classic" # The interface interactive links will activate ["classic", "jupyterlab"]
colab_url : "https://colab.research.google.com"
binderhub_url : "https://mybinder.org" # The URL of the BinderHub (e.g., https://mybinder.org)
thebe : True # Add a thebe button to pages (requires the repository to run on Binder)
repository:
url : https://github.com/neuroscout/neuroscout-docs # The URL to your book's repository
path_to_book : "docs/" # A path to your book's folder, relative to the repository root.
branch : main # Which branch of the repository should be used when creating links
#######################################################################################
# Advanced and power-user settings
sphinx:
config:
nb_custom_formats:
.Rmd:
- jupytext.reads
- fmt: Rmd
# TODO: #917 this path will be the default in sphinx v4
# mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# However, it is incompatible with the mathjax config below for macros
mathjax_config:
TeX:
Macros:
"N": "\\mathbb{N}"
"floor": ["\\lfloor#1\\rfloor", 1]
"bmat": ["\\left[\\begin{array}"]
"emat": ["\\end{array}\\right]"]
latex_elements:
preamble: |
\newcommand\N{\mathbb{N}}
\newcommand\floor[1]{\lfloor#1\rfloor}
\newcommand{\bmat}{\left[\begin{array}}
\newcommand{\emat}{\end{array}\right]}
intersphinx_mapping:
ebp:
- "https://executablebooks.org/en/latest/"
- null
myst-parser:
- "https://myst-parser.readthedocs.io/en/latest/"
- null
myst-nb:
- "https://myst-nb.readthedocs.io/en/latest/"
- null
sphinx:
- "https://www.sphinx-doc.org/en/master"
- null
nbformat:
- "https://nbformat.readthedocs.io/en/latest"
- null
sphinx-panels:
- https://sphinx-panels.readthedocs.io/en/sphinx-book-theme/
- null