-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmkdocs.yml
184 lines (171 loc) · 4.99 KB
/
mkdocs.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
site_name: Beer
site_url: https://shenxiangzhuang.github.io/beer
site_author: Xiangzhuang Shen
site_description: >-
Challenging Problems in Probability and Statistics
repo_name: shenxiangzhuang/beer
repo_url: https://github.com/shenxiangzhuang/beer
copyright: Beer © 2023 by Xiangzhuang Shen is licensed under CC BY-NC-SA 4.0 & Apache License 2.0
# Page tree
nav:
- Home: index.md
- Fifty:
- fifty/index.md
- "1. The Sock Drawer": fifty/1_the_sock_drawer.md
- "2. Successive Wins": fifty/2_successive_wins.md
- "3. Flippant Jury": fifty/3_flippant_jury.md
- "4. Trials until first success": fifty/4_first_success.md
- "5. Coin in Square": fifty/5_coin_in_square.md
- "6. Chuck a Luck": fifty/6_chuck_a_luck.md
- "7. Curing Compulsive Gambler": fifty/7_curing_compulsive_gambler.md
- "8. Perfect Bridge Hand": fifty/8_perfect_bridge_hand.md
- "9. Craps": fifty/9_craps.md
- Mystery:
- mystery/index.md
- "3. Fertility Policy": mystery/3_fertility_policy.md
- Miscellaneous:
- misc/index.md
- "1. Expectation of Length of Maximum Monotone Sequence": misc/1_expectation_of_length_of_maximum_monotone_sequence.md
- "2. Bet unital win all the money": misc/2_bet_until_win.md
- Blog:
- blog/index.md
- Changelog: CHANGELOG.md
- Contributing: contributing.md
- Author's website: https://shenxiangzhuang.github.io/
not_in_nav: |
/util/*.md
theme:
name: material
custom_dir: overrides
icon:
repo: fontawesome/brands/github
annotation: material/plus-circle
language: en
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: teal
accent: deep purple
toggle:
icon: material/weather-sunny
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: cyan
accent: deep purple
toggle:
icon: material/weather-night
name: Switch to light mode
features:
- content.action.edit
- content.action.view
- announce.dismiss
- content.code.annotate
- content.tabs.link
- content.tooltips
- header.autohide
- navigation.instant
- navigation.tracking
- navigation.tabs
- navigation.tabs.sticky
- navigation.indexes
- navigation.prune
- navigation.sections
- navigation.top
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
docs_dir: docs
extra_css:
- css/extra.css
extra_javascript:
- js/config.js
- js/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/shenxiangzhuang/beer
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/in/xiangzhuang-shen-a81825157/
markdown_extensions:
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- md_in_html
- def_list
- pymdownx.tasklist:
custom_checkbox: true
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.highlight:
linenums_style: pymdownx.inline
- pymdownx.superfences
- pymdownx.inlinehilite
- pymdownx.details
- pymdownx.snippets:
url_download: true
url_max_size: 33554432
- pymdownx.tabbed:
alternate_style: true
- abbr
- admonition
- footnotes
watch:
- ./docs
plugins:
- rss:
match_path: blog/posts/.*
date_from_meta:
as_creation: date
categories:
- categories
- tags
- blog:
draft: true
- search
- git-committers:
repository: shenxiangzhuang/beer
branch: master
token: !!python/object/apply:os.getenv [ "BEER_MKDOCS_GIT_COMMITTERS_APIKEY" ]
- git-revision-date-localized:
enable_creation_date: true
- markdown-exec
# - mkdocs-simple-hooks:
# hooks:
# on_post_build: "docs.hooks:copy_get"
- mkdocs-version-annotations:
version_added_title: 'new in **\1**'
version_changed_title: 'changed in **\1**'
version_removed_title: 'removed in **\1**'
- include-markdown:
preserve_includer_indent: true
- autorefs
- mkdocstrings:
handlers:
python:
import:
- https://docs.python.org/3/objects.inv
- https://www.mkdocs.org/objects.inv
options:
docstring_style: sphinx
docstring_options:
ignore_init_summary: true
docstring_section_style: table
heading_level: 2
merge_init_into_class: true
separate_signature: true
show_root_heading: false
show_root_full_path: false
show_signature_annotations: true
show_symbol_type_heading: true
show_symbol_type_toc: true
signature_crossrefs: true
show_root_members_full_path: true