Skip to content

Commit fb368cd

Browse files
Setup for Jupyter Book
1 parent 3eaad9d commit fb368cd

File tree

9 files changed

+537
-0
lines changed

9 files changed

+537
-0
lines changed

_config.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
title: The Debugging Book
2+
author: Andreas Zeller
3+
copyright: 2021-2025 CISPA Helmholtz Center for Information Security (www.cispa.de). All Rights Reserved
4+
logo: "_static/debuggingbook.png"
5+
6+
bibtex_bibfiles:
7+
- fuzzingbook.bib
8+
9+
latex:
10+
latex_documents:
11+
targetname: debuggingbook.tex
12+
13+
sphinx:
14+
config:
15+
latex_engine: xelatex
16+
latex_show_pagerefs: true
17+
latex_show_urls: footnote
18+
19+
execute:
20+
execute_notebooks: 'off'
21+
stderr_output: show
22+
timeout: 300
23+
24+
parse:
25+
myst_enable_extensions:
26+
# - amsmath
27+
- colon_fence
28+
- dollarmath
29+
# - html_admonition
30+
# - html_image
31+
- linkify
32+
- replacements
33+
- smartquotes
34+
- substitution
35+
- tasklist
36+
- deflist
37+
38+
html:
39+
announcement: '<p>This is a beta version of debuggingbook.org, currently in development. See the <a href="https://debuggingbook.org/classic/" style="color:white!important;">classic site</a> for resources.</p>'
40+
use_issues_button: true
41+
use_repository_button: true
42+
43+
repository:
44+
url: "https://github.com/uds-se/debuggingbook/"
45+
path_to_book: "docs/notebooks"
46+
branch: master
47+
48+
launch_buttons:
49+
binderhub_url: "https://mybinder.org"
50+
thebe: false # Does not support local imports

_static/custom.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
CSS stylesheet for fuzzingbook
3+
4+
This is used for the JB HTML version.
5+
*/
6+
7+
/* Loading fonts in Jupyter */
8+
@import url(https://fonts.googleapis.com/css?family=Fira+Mono:400,500,700|Raleway:400|Open+Sans|Source+Code+Pro); /* DebuggingBook */
9+
10+
11+
/* Fonts */
12+
h1, h2, h3, h4, h5 {
13+
font-family: 'Raleway', Helvetica, Arial, sans-serif; /* DebuggingBook */
14+
}
15+
16+
body {
17+
font-family: 'Open Sans', sans-serif;
18+
}
19+
20+
code, kbd, pre, samp {
21+
font-family: 'Fira Mono', 'Source Code Pro', monospace;
22+
}
23+
24+
.CodeMirror pre {
25+
font-family: 'Fira Mono', 'Source Code Pro', monospace;
26+
}
27+
28+
29+
/* Headers are purple, too */
30+
/* should be purple, but must work in dark & light mode */
31+
/* Alas, the [data-theme="light"] selector has no effect: https://pydata-sphinx-theme.readthedocs.io/en/v0.9.0/user_guide/customizing.html*/
32+
33+
h1, h2, h3 {
34+
color: #b070a0!important;
35+
}
36+
37+
/* And links also come in shades of putple */
38+
a, button {
39+
color: #b070a0!important;
40+
}
41+
42+
43+
svg a {
44+
text-decoration: none!important;
45+
}

_static/fuzzingbook.png

25.6 KB
Loading

0 commit comments

Comments
 (0)