forked from SocratesClub/ccbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
executable file
·152 lines (121 loc) · 6.47 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
#######################################################################################
# Jekyll site settings
title: Elements of Computational Communication
author: 王成军
email: [email protected]
description: >-
This is an example book built with Jupyter Books.
baseurl: /ccbook # the subpath of your site, e.g. /blog. If there is no subpath for your site, use an empty string ""
url: https://computational-class.github.io # the base hostname & protocol for your site, e.g. http://example.com
#######################################################################################
# Jupyter Book settings
# Main page settings
footer_text: This page was created by <a href="https://github.com/jupyter/jupyter-book/graphs/contributors">The
Jupyter Book Community</a>
# Sidebar settings
show_sidebar: true # Show the sidebar. Only set to false if your only wish to host a single page.
collapse_inactive_chapters: true # Whether to collapse the inactive chapters in the sidebar
textbook_logo: img/logo/logo.png # A logo to be displayed at the top of your textbook sidebar. Should be square
textbook_logo_link: https://computational-class.github.io/ccbook/ # A link for the logo.
sidebar_footer_text: Powered by <a href="https://github.com/jupyter/jupyter-book">Jupyter
Book</a>
number_toc_chapters: true # Whether to add numbers to chapterse in your Table of Contents. If true, you can control this at the Chapter level in _data/toc.yml
# Search settings
search_max_words_in_content: 100 # In the search function, use at most this many words (too many words will make search slow)
#######################################################################################
# Interact link settings
# General interact settings
use_jupyterlab: false # If 'true', interact links will use JupyterLab as the interface
# Jupyterhub link settings
use_jupyterhub_button: false # If 'true', display a button that will direct users to a JupyterHub (that you provide)
jupyterhub_url: '' # The URL for your JupyterHub. If no URL, use ""
jupyterhub_interact_text: Interact # The text that interact buttons will contain.
# Binder link settings
use_binder_button: true # If 'true', add a binder button for interactive links
binderhub_url: https://mybinder.org # The URL for your BinderHub. If no URL, use ""
binder_repo_base: https://github.com/ # The site on which the textbook repository is hosted
binder_repo_org: computational-class # The username or organization that owns this repository
binder_repo_name: ccbook # The name of the repository on the web
binder_repo_branch: gh-pages # The branch on which your textbook is hosted.
binderhub_interact_text: Interact # The text that interact buttons will contain.
# Thebelab settings
use_thebelab_button: false # If 'true', display a button to allow in-page running code cells with Thebelab
thebelab_button_text: Thebelab # The text to display inside the Thebelab initialization button
codemirror_theme: abcdef # Theme for codemirror cells, for options see https://codemirror.net/doc/manual.html#config
# nbinteract settings
use_show_widgets_button: true # If 'true', display a button to allow in-page running code cells with nbinteract
# Download settings
use_download_button: false # If 'true', display a button to download a zip file for the notebook
download_button_text: PDF # The text that download buttons will contain
#######################################################################################
# Jupyter book extensions and additional features
# Bibliography and citation settings. See https://github.com/inukshuk/jekyll-scholar#configuration for options
scholar:
style: apa
#######################################################################################
# Option to add a Goggle analytics tracking code
# Navigate to https://analytics.google.com, add a new property for your jupyter book and copy the tracking id here.
google_analytics:
mytrackingcode: ''
#######################################################################################
# Jupyter book settings you probably don't need to change
content_folder_name: content # The folder where your raw content (notebooks/markdown files) are located
images_url: /assets/images # Path to static image files
css_url: /assets/css # Path to static CSS files
js_url: /assets/js # Path to JS files
custom_static_url: /assets/custom # Path to user's custom CSS/JS files
#######################################################################################
# Jekyll build settings (only modify if you know what you're doing)
# Site settings
defaults:
- scope:
path: ''
values:
layout: default
toc: true
toc_label: ' On this page'
toc_icon: list-ul
excerpt: ''
favicon_path: images/logo/favicon.ico
# Markdown Processing
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge
sass:
style: compressed
collections:
build:
output: true
permalink: /:path.html
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
exclude:
- scripts/
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
plugins:
- jekyll-redirect-from
- jekyll-scholar
# Jupyter Book version - DO NOT CHANGE THIS. It is generated when a new book is created
jupyter_book_version: 0.6.2