Skip to content

Commit 7c94f2c

Browse files
committed
feat: github commiters
1 parent 5fd6a3c commit 7c94f2c

3 files changed

Lines changed: 45 additions & 21 deletions

File tree

.github/workflows/documentation.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ jobs:
2929

3030
- name: Install dependencies
3131
run: |
32-
apt install -y doxygen gource libgs-dev
33-
pip3 install jinja2 Pygments mkdocs-material mkdocs mkdocs-same-dir mkdocs-minify-plugin mkdocs-redirects mkdocs-exclude mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin mkdocs-with-pdf
32+
sudo apt-get install -y doxygen gource libgs-dev
33+
pip install git+https://${{ secrets.GH_SQUID_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
34+
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
3435
npm install
3536
3637
- name: Configure

.github/workflows/release-pdf.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ jobs:
3131

3232
- name: Install dependencies
3333
run: |
34-
apt install -y doxygen gource libgs-dev
35-
pip3 install jinja2 Pygments mkdocs-material mkdocs mkdocs-same-dir mkdocs-minify-plugin mkdocs-redirects mkdocs-exclude mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin mkdocs-with-pdf
34+
sudo apt-get install -y doxygen gource libgs-dev
35+
pip install git+https://${{ secrets.GH_SQUID_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
36+
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
3637
npm install
3738
3839
- name: Configure

mkdocs.yml

Lines changed: 39 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
2+
13
site_name: Awesome GameDev Resources
4+
site_description: Awesome GameDev Resources for learning how to make games
25
site_url: https://courses.tolstenko.net
36
repo_url: https://github.com/InfiniBrains/Awesome-GameDev-Resources
47
repo_name: InfiniBrains/Awesome-GameDev-Resources
58

9+
site_author: See contributors and authors at https://github.com/InfiniBrains/Awesome-GameDev-Resources/graphs/contributors
10+
611
nav:
712
- Home: README.md
813
- Programming:
@@ -35,41 +40,51 @@ nav:
3540
- Promoting: portfolio/12-promoting/README.md
3641
- Cover Letter: portfolio/13-cover-letter/README.md
3742
- CV: portfolio/14-cv/README.md
38-
- Dojo:
39-
- dojo/README.md
40-
- Full Cycle Game Dev: dojo/Full-Cycle-SDL-Development.md
43+
# - Dojo:
44+
# - dojo/README.md
45+
# - Full Cycle Game Dev: dojo/Full-Cycle-SDL-Development.md
4146
# - AI:
4247
# - artificialintelligence/README.md
4348

4449
docs_dir: .
4550

4651
theme:
52+
language: en
4753
name: material
4854
custom_dir: overrides
55+
# favicon: overrides/favicon/apple-touch-icon.png
56+
# logo: overrides/favicon/apple-touch-icon.png
4957
features:
58+
- attr_list
59+
- md_in_html
60+
- pymdownx.superfences
5061
- announce.dismiss
5162
- content.action.edit
5263
- content.action.view
5364
- content.code.annotate
5465
- content.code.copy
66+
- content.code.select
5567
# - content.tabs.link
5668
- content.tooltips
5769
# - header.autohide
5870
# - navigation.expand
5971
- navigation.footer
6072
- navigation.indexes
6173
- navigation.instant
62-
- navigation.prune
63-
- navigation.sections
74+
- navigation.instant.prefetch
75+
- navigation.prune # prune is incompatible with expand
76+
# - navigation.sections
6477
- navigation.tabs
65-
- navigation.tabs.sticky
78+
# - navigation.tabs.sticky
6679
- navigation.top
80+
# - navigation.expand
6781
- navigation.tracking
82+
- navigation.path
6883
- search.highlight
6984
- search.share
7085
- search.suggest
7186
- toc.follow
72-
# - toc.integrate
87+
# - toc.integrate
7388
palette:
7489
# Palette toggle for automatic mode
7590
- media: "(prefers-color-scheme)"
@@ -112,11 +127,6 @@ theme:
112127

113128
edit_uri: edit/main/
114129

115-
site_description: >-
116-
Awesome GameDev Resources
117-
118-
site_author: https://tolstenko.net
119-
120130
copyright: Copyright © 2023 Tolstenko and Others
121131

122132
markdown_extensions:
@@ -159,13 +169,18 @@ markdown_extensions:
159169
- pymdownx.tilde
160170

161171
plugins:
162-
# - git-committers:
163-
# repository: InfiniBrains/Awesome-GameDev-Resources
164-
# branch: main
172+
- git-committers:
173+
repository: InfiniBrains/Awesome-GameDev-Resources
174+
branch: main
175+
enabled: true
176+
docs_path: ./
177+
cache_dir: /tmp/cache/awesome-gamedev-resources
165178
# - git-authors
166179
- git-revision-date-localized:
167180
enable_creation_date: true
168-
fallback_to_build_date: true #todo: fix git security issue on github that prevents getting the full log
181+
fallback_to_build_date: true
182+
locale: en
183+
timezone: America/New_York
169184
- same-dir
170185
- search:
171186
separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
@@ -205,13 +220,20 @@ plugins:
205220
# render_js: true
206221
# headless_chrome_path: headless-chromium
207222
#output_path: any-place/document.pdf
208-
enabled_if_env: ENABLE_PDF_EXPORT
223+
enabled_if_env: 'CI'
209224
#debug_html: true
210225
#show_anchors: true
211226
# verbose: true
212227
# - optimize
213228

214229
extra:
230+
privacy:
231+
enabled: true
232+
consent:
233+
cookies:
234+
smartlook: SmartLook
235+
description: >-
236+
This site uses cookies to provide you with a better user experience. By using this site you consent to our use of cookies.
215237
generator: false
216238
annotate:
217239
json: [ .s2 ]

0 commit comments

Comments
 (0)