XJTU-ICS Textbook

book.toml

[book]
authors = ["Danfeng Shan", "Boxuan Hu"]
description = "Textbook for Introduction to Computer System in Xi'an Jiaotong University"
language = "en"
multilingual = false
src = "src"
title = "Introduction to Computer System"

[preprocessor]

[preprocessor.admonish]
command = "mdbook-admonish"
assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install`

[output]

[output.html]
smart-punctuation = true
mathjax-support = true
git-repository-url = "https://github.com/xjtu-ics"
git-repository-icon = "fa-github"
edit-url-template = "https://ics.dfshan.net"
additional-css = ["./mdbook-admonish.css"]

[output.html.playground]
editable = true
line-numbers = true

[output.html.code.hidelines]
python = "~"

[output.html.search]
limit-results = 20
use-boolean-and = true
boost-title = 2
boost-hierarchy = 2
boost-paragraph = 1
expand = true
heading-split-level = 2

[output.html.redirect]
"/format/config.html" = "configuration/index.html"

# [output.pdf]
# ## Set for auto-retrying if failed to generate PDF.
# # trying-times = 1
# ## This backend only support latest Chromium based browsers, not Safari and Firefox currently.
# ## If needed, please specify the full path.
# ## If you specify the wrong binary, chances are that there will be a timeout error.
# # browser-binary-path = ""
# ## Assign the static hosting site url so that relative links outside the book can be fixed.
# static_site_url = "https://aye10032.gitbook.io/computernetwork/"
# ## Check Chrome Devtools Protocol Docs for the explanation of the following params:
# ## https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-printToPDF
# landscape = false
# display-header-footer = true
# print-background = true
# theme = ""
# scale = 0.8
# paper-width = 8
# paper-height = 10
# margin-top = 0.5
# margin-bottom = 0.5
# margin-left = 0.5
# margin-right = 0.5
# page-ranges = ""
# ignore-invalid-page-ranges = false
# header-template = "<h3 style='font-size:8px; margin-left: 48%' class='title'></h3>"
# footer-template = "<p style='font-size:10px; margin-left: 48%'><span class='pageNumber'></span> / <span class='totalPages'></span></p>"
# prefer-css-page-size = true

# [output.pdf-outline]
# like-wkhtmltopdf = true