-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.yml
84 lines (77 loc) · 6.86 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
#######################################################################################
# Book settings
title : 経済学のためのPython入門 # The title of the book. Will be placed in the left navbar.
author : 春山 鉄源 Tetsugen HARUYAMA # The author of the book
copyright : "2024" # Copyright year to be placed in the footer
logo : "" # A path to the book logo
exclude_patterns : [_build, Thumbs.db, .DS_Store, "**.ipynb_checkpoints"] # Patterns to skip when building the book. Can be glob-style (e.g. "*skip.ipynb")
only_build_toc_files : true # Auto-exclude files not in the toc
#######################################################################################
# Execution settings
execute:
execute_notebooks : auto # 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 artifacts. 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)
timeout : -1 # The maximum time (in seconds) each notebook cell is allowed to run.
run_in_temp : false # If `True`, then a temporary directory will be created and used as the command working directory (cwd),
# otherwise the notebook's parent directory will be the cwd.
allow_errors : false # If `False`, when a code cell raises an error the execution is stopped, otherwise all cells are always run.
stderr_output : show # One of 'show', 'remove', 'remove-warn', 'warn', 'error', 'severe'
#######################################################################################
# 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
myst_url_schemes : [mailto, http, https] # URI schemes that will be recognised as external URLs in Markdown links
#######################################################################################
# HTML-specific settings
html:
favicon : "" # A path to a favicon image
navbar_number_sections : true # Add a number to each section in your left navbar
use_edit_page_button : false # Whether to add an "edit this page" button to pages. If `true`, repository information in repository: must be filled in
use_repository_button : true # Whether to add a link to your repository button
use_issues_button : false # Whether to add an "open an issue" button
extra_navbar : '<a href="https://github.com/Py4Basics/py4basics.github.io">📈🎓📊 <!-- Default Statcounter code for Py4Basics https://py4basics.github.io --> <script type="text/javascript"> var sc_project=12615270; var sc_invisible=1; var sc_security="2a7796f0"; </script> <script type="text/javascript" src="https://www.statcounter.com/counter/counter.js" async></script> <noscript><div class="statcounter"><a title="Web Analytics" href="https://statcounter.com/" target="_blank"><img class="statcounter" src="https://c.statcounter.com/12615270/0/2a7796f0/1/" alt="Web Analytics" referrerPolicy="no-referrer-when-downgrade"></a></div></noscript> <!-- End of Statcounter Code --></a>' # Will be displayed underneath the left navbar.
extra_footer : '<!-- Default Statcounter code for Py4Basics https://py4basics.github.io --> <script type="text/javascript"> var sc_project=12615270; var sc_invisible=1; var sc_security="2a7796f0"; </script> <script type="text/javascript" src="https://www.statcounter.com/counter/counter.js" async></script> <noscript><div class="statcounter"><a title="Web Analytics" href="https://statcounter.com/" target="_blank"><img class="statcounter" src="https://c.statcounter.com/12615270/0/2a7796f0/1/" alt="Web Analytics" referrerPolicy="no-referrer-when-downgrade"></a></div></noscript> <!-- End of Statcounter Code -->' # Will be displayed underneath the footer.
google_analytics_id : G-R9KXY9G892 # 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://py4basics.github.io/' # 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 : false
utterances : false
#announcement : "<p><a href='http://www.econ.kobe-u.ac.jp/topics/pdf/221212-2.pdf'>✴️<<font color='white'>特別講演「UCバークレー校における経済学とデータサイエンス教育」(2023年1月6日) ← クリック!✴️</font></a></p>"
#######################################################################################
# LaTeX-specific settings
latex:
latex_engine : "xelatex" # one of 'pdflatex', 'xelatex' (recommended for unicode), 'luatex', 'platex', 'uplatex'
#######################################################################################
# Launch button settings
launch_buttons:
notebook_interface : "classic" # The interface interactive links will activate ["classic", "jupyterlab"]
binderhub_url : 'https://mybinder.org' # The URL of the BinderHub (e.g., https://mybinder.org)
jupyterhub_url : "" # The URL of the JupyterHub (e.g., https://datahub.berkeley.edu)
thebelab : false # Add a thebelab button to pages (requires the repository to run on Binder)
thebe : false # Add a thebe button to pages (requires the repository to run on Binder)
colab_url : 'https://colab.research.google.com' # The URL of Google Colab (https://colab.research.google.com)
repository:
url : 'https://github.com/Py4Basics/py4basics.github.io' # The URL to your book's repository
path_to_book : "" # A path to your book's folder, relative to the repository root.
branch : source # Which branch of the repository should be used when creating links
#######################################################################################
# Advanced and power-user settings
sphinx:
config:
html_baseurl: 'https://py4basics.github.io/'
redirects: {'1a_Basics_I': '1_Basics_I.html', '1b_Basics_II': '1_Basics_II.html', '6_Scipy_stats': 'https://py4etrics.github.io/5_SciPy_stats.html','1_Python_Basics':'1_Basics_III.html'}
extra_extensions:
- sphinx_sitemap
- sphinx_reredirects