Skip to content

Commit 045f296

Browse files
committed
fix(pdf): add chromium to render js formulas
1 parent 6ea4ce4 commit 045f296

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/documentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Install dependencies
3535
run: |
36-
sudo apt-get install -y doxygen gource libgs-dev
36+
sudo apt-get install -y doxygen gource libgs-dev chromium-browser
3737
pip install git+https://${{ secrets.GH_SQUID_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
3838
pip install jinja2 Pygments mkdocs mkdocs-same-dir mkdocs-minify-plugin mkdocs-redirects mkdocs-exclude mkdocs-git-committers-plugin-2 mkdocs-git-revision-date-localized-plugin mkdocs-with-pdf beautifulsoup4==4.9.3
3939
npm install

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Ways of reading:
66

77
- Website: [read through your browser](https://courses.tolstenko.net) the interactive examples and animations will work better in this version;
88
- Github: [You read through the github repo](https://github.com/InfiniBrains/Awesome-GameDev-Resources);
9-
- PDF: [automatically built from the latest version](https://github.com/InfiniBrains/Awesome-GameDev-Resources/releases/download/latest/document.pdf).
9+
- PDF: download the latest [![GitHub release](https://img.shields.io/github/v/release/InfiniBrains/Awesome-GameDev-Resources)](https://github.com/InfiniBrains/Awesome-GameDev-Resources/releases/download/latest/document.pdf)
1010
- Amazon Kindle: [You can buy the book in Amazon]() and read it in your kindle device;
1111
- Contribute!: If you want to go deep and propose changes to repo, use the [github repo](https://github.com/InfiniBrains/Awesome-GameDev-Resources).
1212

@@ -16,9 +16,8 @@ CI: [![Documentation](https://github.com/InfiniBrains/Awesome-GameDev-Resources/
1616

1717
Join us: [![say thanks](https://img.shields.io/badge/Say%20Thanks-👍-1EAEDB.svg)](https://github.com/InfiniBrains/Awesome-GameDev-Resources/stargazers) [![Discord](https://img.shields.io/discord/956922983727915078)](https://discord.gg/9CdJeQ2XKB)
1818

19-
Quality: [![codecov](https://codecov.io/gh/InfiniBrains/Awesome-GameDev-Resources/branch/master/graph/badge.svg?token=dafs9Weols)](https://codecov.io/gh/InfiniBrains/Awesome-GameDev-Resources)
19+
Metrics: [![Codacy Badge](https://app.codacy.com/project/badge/Grade/bd231b45a10a41c98f2bbe5bf0e3c808)](https://www.codacy.com/gh/InfiniBrains/Awesome-GameDev-Resources/dashboard?utm_source=github.com&utm_medium=referral&utm_content=InfiniBrains/Awesome-GameDev-Resources&utm_campaign=Badge_Grade) ![GitHub language count](https://img.shields.io/github/languages/count/InfiniBrains/Awesome-GameDev-Resources) ![GitHub search hit counter](https://img.shields.io/github/search/InfiniBrains/Awesome-GameDev-Resources/todo) ![Lines of code](https://img.shields.io/tokei/lines/github/InfiniBrains/Awesome-GameDev-Resources) ![GitHub all releases](https://img.shields.io/github/downloads/InfiniBrains/Awesome-GameDev-Resources/total) ![GitHub contributors](https://img.shields.io/github/contributors/InfiniBrains/Awesome-GameDev-Resources) ![GitHub](https://img.shields.io/github/license/InfiniBrains/Awesome-GameDev-Resources)
2020

21-
Metrics: [![Codacy Badge](https://app.codacy.com/project/badge/Grade/bd231b45a10a41c98f2bbe5bf0e3c808)](https://www.codacy.com/gh/InfiniBrains/Awesome-GameDev-Resources/dashboard?utm_source=github.com&utm_medium=referral&utm_content=InfiniBrains/Awesome-GameDev-Resources&utm_campaign=Badge_Grade) ![GitHub language count](https://img.shields.io/github/languages/count/InfiniBrains/Awesome-GameDev-Resources) ![GitHub search hit counter](https://img.shields.io/github/search/InfiniBrains/Awesome-GameDev-Resources/todo) ![Lines of code](https://img.shields.io/tokei/lines/github.com/InfiniBrains/Awesome-GameDev-Resources) ![GitHub all releases](https://img.shields.io/github/downloads/InfiniBrains/Awesome-GameDev-Resources/total) ![GitHub contributors](https://img.shields.io/github/contributors/InfiniBrains/Awesome-GameDev-Resources)
2221

2322
## Topics
2423

artificialintelligence/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Artificial Intelligence
22

3+
!!! warning
4+
This is a work in progress, and the schedule is subject to change. Every change will be communicated in class. Use the github repo as the source of truth for the schedule and materials. The materials provided in canvas are just a copy for archiving purposes and might be outdated.
5+
36
## Schedule for Fall 2023
47

58
<div class="grid cards" markdown>
@@ -128,7 +131,7 @@
128131
- Week 15. 2023/12/04
129132
- Topic: Work sessions for final project
130133

131-
- ### :warning:{ .lg .middle } __Finals__
134+
- ### :material-presentation:{ .lg .middle } __Finals__
132135

133136
---
134137

javascripts/mathjax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
window.MathJax = {
22
tex: {
3-
inlineMath: [['$', '$'],["\\(", "\\)"]],
4-
displayMath: [['$$', '$$'],["\\[", "\\]"]],
3+
inlineMath: [["\\(", "\\)"]],
4+
displayMath: [["\\[", "\\]"]],
55
processEscapes: true,
66
processEnvironments: true
77
},

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ plugins:
205205
- with-pdf:
206206
author: InfiniBrains
207207
copyright: Copyleft by InfiniBrains
208-
# render_js: true
209-
# headless_chrome_path:
208+
render_js: true
209+
headless_chrome_path: chromium-browser
210210
#cover: false
211211
#back_cover: true
212212
cover_title: Awesome GameDev Book

0 commit comments

Comments
 (0)