Skip to content

Commit

Permalink
Deploying to gh-pages from @ 06e8744 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
OlingCat committed Jun 17, 2024
1 parent f4d0336 commit 1cb0767
Show file tree
Hide file tree
Showing 18 changed files with 1,296 additions and 395 deletions.
2 changes: 2 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ <h1><a class="header" href="#document-not-found-404" id="document-not-found-404"

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
2 changes: 2 additions & 0 deletions axioms_and_computation.html
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,8 @@ <h2><a class="header" href="#the-law-of-the-excluded-middle" id="the-law-of-the-

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
2 changes: 1 addition & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build-dir = "out"

[output.html]
# additional-css = ["custom.css", "pygments.css"]
# additional-js = ["custom.js"]
additional-js = ["custom.js"]
mathjax-support = true
site-url = "/tp-lean-zh/"
git-repository-url = "https://github.com/Lean-zh/tp-lean-zh"
Expand Down
2 changes: 2 additions & 0 deletions conv.html
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ <h2><a class="header" href="#other-tactics-inside-conversion-mode" id="other-tac

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
7 changes: 7 additions & 0 deletions custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const newline = /(?<=[])\n(?!\n)/g;
const space = /\s+(<.+?>\p{Script=Han}.+?<\/.+?>)\s+/g
const paras = document.querySelectorAll("#content > main > p");
for (const p of paras) {
p.innerHTML = p.innerHTML.replace(newline, "");
p.innerHTML = p.innerHTML.replace(space, "$1");
}
2 changes: 2 additions & 0 deletions dependent_type_theory.html
Original file line number Diff line number Diff line change
Expand Up @@ -1494,6 +1494,8 @@ <h2><a class="header" href="#隐参数" id="隐参数">隐参数</a></h2>

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
2 changes: 2 additions & 0 deletions induction_and_recursion.html
Original file line number Diff line number Diff line change
Expand Up @@ -1557,6 +1557,8 @@ <h2><a class="header" href="#exercises" id="exercises">Exercises</a></h2>

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
2 changes: 2 additions & 0 deletions inductive_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -1631,6 +1631,8 @@ <h2><a class="header" href="#exercises" id="exercises">Exercises</a></h2>

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
2 changes: 2 additions & 0 deletions interacting_with_lean.html
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,8 @@ <h2><a class="header" href="#命名参数" id="命名参数">命名参数</a></h

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
2 changes: 2 additions & 0 deletions introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ <h2><a class="header" href="#致谢" id="致谢">致谢</a></h2>

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
827 changes: 631 additions & 196 deletions print.html

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions propositions_and_proofs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1393,6 +1393,8 @@ <h2><a class="header" href="#练习" id="练习">练习</a></h2>

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
2 changes: 2 additions & 0 deletions quantifiers_and_equality.html
Original file line number Diff line number Diff line change
Expand Up @@ -1316,6 +1316,8 @@ <h2><a class="header" href="#练习" id="练习">练习</a></h2>

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions structures_and_records.html
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,8 @@ <h2><a class="header" href="#inheritance" id="inheritance">Inheritance</a></h2>

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
2 changes: 2 additions & 0 deletions tactics.html
Original file line number Diff line number Diff line change
Expand Up @@ -1945,6 +1945,8 @@ <h2><a class="header" href="#练习" id="练习">练习</a></h2>

<!-- Custom JS scripts -->

<script type="text/javascript" src="custom.js"></script>




Expand Down
827 changes: 631 additions & 196 deletions type_classes.html

Large diffs are not rendered by default.

0 comments on commit 1cb0767

Please sign in to comment.