From c62c9d890e8f2166cb68927d0b6106effc3b801e Mon Sep 17 00:00:00 2001
From: Joe Clay <27cupsofcoffee@gmail.com>
Date: Mon, 8 Nov 2021 17:19:31 +0000
Subject: [PATCH 1/6] Update Zola to 0.14.1
---
.github/workflows/ci.yml | 2 +-
config.toml | 4 +++-
content/news/006/index.md | 2 +-
content/news/007/index.md | 2 +-
content/news/008/index.md | 2 +-
content/news/009/index.md | 2 +-
content/news/010/index.md | 2 +-
content/news/011/index.md | 2 +-
content/news/013/index.md | 2 +-
content/news/016/index.md | 2 +-
content/news/026/index.md | 2 +-
templates/index.html | 2 +-
templates/page.html | 2 --
templates/post.html | 2 --
templates/posts.html | 2 --
15 files changed, 14 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 05255f3f4..f218ed383 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
env:
BASE_URL: https://github.com/getzola/zola/releases/download
- VERS: v0.12.2
+ VERS: v0.14.1
ARCH: x86_64-unknown-linux-gnu
# https://github.com/marketplace/actions/github-pages#warning-limitation
GITHUB_PAT: ${{ secrets.GITHUB_PAT }}
diff --git a/config.toml b/config.toml
index 82a299c13..3096bb917 100644
--- a/config.toml
+++ b/config.toml
@@ -3,10 +3,12 @@ description = "Stay up to date with the progress and recent developments in the
base_url = "https://gamedev.rs/"
default_language = "en"
compile_sass = true
-highlight_code = true
generate_feed = true
feed_filename = "rss.xml"
+[markdown]
+highlight_code = true
+
[extra]
date_format = "%F"
diff --git a/content/news/006/index.md b/content/news/006/index.md
index 5fa2ce3cd..bfdf8af50 100644
--- a/content/news/006/index.md
+++ b/content/news/006/index.md
@@ -109,7 +109,7 @@ It was also the first anniversary of This Week in Veloren!
There has been a devblog each week since the end of January last year.
Here are some of the big changes in this release:
-```text
+```
- Added initial region system implementation
- Added moon and clouds
- Added proper SFX system
diff --git a/content/news/007/index.md b/content/news/007/index.md
index fbc739553..e283b8742 100644
--- a/content/news/007/index.md
+++ b/content/news/007/index.md
@@ -196,7 +196,7 @@ is a large part of what is needed for The Content Update.
Here is the February changelog:
-```text
+```
- Fixed NPCs attacking the player forever after killing them
- Extend run sfx to small animals to prevent sneak attacks by geese
- Added sfx for wielding/unwielding weapons
diff --git a/content/news/008/index.md b/content/news/008/index.md
index 2faf6b728..5421affd8 100644
--- a/content/news/008/index.md
+++ b/content/news/008/index.md
@@ -348,7 +348,7 @@ Networking is also being reworked from the ground up.
Here is the March changelog:
-```text
+```
- Added sfx for wielding/unwielding weapons
- Fixed NPCs attacking the player forever after killing them
- Added sfx for collecting, dropping and using inventory items
diff --git a/content/news/009/index.md b/content/news/009/index.md
index 89d743187..9fda1d53d 100644
--- a/content/news/009/index.md
+++ b/content/news/009/index.md
@@ -495,7 +495,7 @@ more alive.
Here is the April changelog:
-```text
+```
- Complete rewrite of the combat system into a state machine
- Abilities like Dash and Triplestrike
- Fireball explosions
diff --git a/content/news/010/index.md b/content/news/010/index.md
index 06cc49408..e70cb5a78 100644
--- a/content/news/010/index.md
+++ b/content/news/010/index.md
@@ -737,7 +737,7 @@ Also, check out a new "Game of Life" demo [here][iced-life].
### [beehive]
-```text
+```
yz +Y
__
yx / \ xz +X
diff --git a/content/news/011/index.md b/content/news/011/index.md
index fc8f9bdab..ce465044e 100644
--- a/content/news/011/index.md
+++ b/content/news/011/index.md
@@ -748,7 +748,7 @@ increased incremental build time, and build artifacts size.
nanoserde may be useful when the whole game has less than a minute
clean build time and spending ~40s on serde is unreasonable.
-```text
+```
> cargo tree
nanoserde v0.1.0 (/../nanoserde)
└── nanoserde-derive v0.1.0 (/../nanoserde/derive)
diff --git a/content/news/013/index.md b/content/news/013/index.md
index ac0615624..0998a4b2e 100644
--- a/content/news/013/index.md
+++ b/content/news/013/index.md
@@ -1016,7 +1016,7 @@ using `#` as a prefix.
Here is an example of this feature is being tested in
an experimental offline 3D renderer (not open sourced):
-```text
+```
// Called by `set_simple(scene: _, sdf: _, id: _)`.
dyon_fn!{fn set_simple__scene_sdf_id(
scene: #&mut SimpleScene,
diff --git a/content/news/016/index.md b/content/news/016/index.md
index e08956aed..11cb8d753 100644
--- a/content/news/016/index.md
+++ b/content/news/016/index.md
@@ -531,7 +531,7 @@ It has a handful of features that make it stand out:
Reddit user [vlmutolo] also made a [toy benchmark] comparing rkyv against serde
and bincode and found that rkyv had promising initial numbers:
-```text
+```
serialize (bincode): 89 ns/iter
serialize (rkyv): 86 ns/iter
diff --git a/content/news/026/index.md b/content/news/026/index.md
index 200a1216d..25e4f41cc 100644
--- a/content/news/026/index.md
+++ b/content/news/026/index.md
@@ -818,7 +818,7 @@ showing step by step process of how one could build them on their own.
### [hexagonal_pathfinding_astar]
-```plain
+```
_______
/ E \
_______/ (4,3) \
diff --git a/templates/index.html b/templates/index.html
index 1a518dd2b..ad592eacb 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,6 +1,6 @@
{% import "includes/post_list.html" as macros %}
-
+
diff --git a/templates/page.html b/templates/page.html
index e47bf81f9..80320feb0 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,7 +1,5 @@
{% extends "index.html" %}
-{% block lang_decl %}{{ lang }}{% endblock lang_decl %}
-
{% block seo %}
{{ page.title }} | {{ config.title | default(value="Minima") }}
diff --git a/templates/post.html b/templates/post.html
index eea16a350..55ff390ad 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -1,7 +1,5 @@
{% extends "index.html" %}
-{% block lang_decl %}{{ lang }}{% endblock lang_decl %}
-
{% block seo %}
{{ page.title }} | {{ config.title | default(value="Minima") }}
diff --git a/templates/posts.html b/templates/posts.html
index 368ee1b94..2b30b5e7f 100644
--- a/templates/posts.html
+++ b/templates/posts.html
@@ -1,7 +1,5 @@
{% extends "index.html" %}
-{% block lang_decl %}{{ lang }}{% endblock lang_decl %}
-
{% block content %}
{{ section.title | default(value="Latest News") }}
From fb0b439512a7ce7593628af17bba62052ccfa172 Mon Sep 17 00:00:00 2001
From: Joe Clay <27cupsofcoffee@gmail.com>
Date: Mon, 8 Nov 2021 17:20:51 +0000
Subject: [PATCH 2/6] One too many braces...
---
templates/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/index.html b/templates/index.html
index ad592eacb..df68c7b1a 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,6 +1,6 @@
{% import "includes/post_list.html" as macros %}
-
+
From a34c7bd508b4b9b5f93bdde78695eb15d89b0419 Mon Sep 17 00:00:00 2001
From: Joe Clay <27cupsofcoffee@gmail.com>
Date: Mon, 8 Nov 2021 17:29:04 +0000
Subject: [PATCH 3/6] Make the linter shut up
---
content/news/006/index.md | 2 +-
content/news/007/index.md | 2 +-
content/news/008/index.md | 2 +-
content/news/009/index.md | 2 +-
content/news/010/index.md | 2 +-
content/news/011/index.md | 2 +-
content/news/013/index.md | 2 +-
content/news/016/index.md | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/content/news/006/index.md b/content/news/006/index.md
index bfdf8af50..0b62ad87f 100644
--- a/content/news/006/index.md
+++ b/content/news/006/index.md
@@ -109,7 +109,7 @@ It was also the first anniversary of This Week in Veloren!
There has been a devblog each week since the end of January last year.
Here are some of the big changes in this release:
-```
+```txt
- Added initial region system implementation
- Added moon and clouds
- Added proper SFX system
diff --git a/content/news/007/index.md b/content/news/007/index.md
index e283b8742..2c4c7e8e5 100644
--- a/content/news/007/index.md
+++ b/content/news/007/index.md
@@ -196,7 +196,7 @@ is a large part of what is needed for The Content Update.
Here is the February changelog:
-```
+```txt
- Fixed NPCs attacking the player forever after killing them
- Extend run sfx to small animals to prevent sneak attacks by geese
- Added sfx for wielding/unwielding weapons
diff --git a/content/news/008/index.md b/content/news/008/index.md
index 5421affd8..417f9993d 100644
--- a/content/news/008/index.md
+++ b/content/news/008/index.md
@@ -348,7 +348,7 @@ Networking is also being reworked from the ground up.
Here is the March changelog:
-```
+```txt
- Added sfx for wielding/unwielding weapons
- Fixed NPCs attacking the player forever after killing them
- Added sfx for collecting, dropping and using inventory items
diff --git a/content/news/009/index.md b/content/news/009/index.md
index 9fda1d53d..648a2a32a 100644
--- a/content/news/009/index.md
+++ b/content/news/009/index.md
@@ -495,7 +495,7 @@ more alive.
Here is the April changelog:
-```
+```txt
- Complete rewrite of the combat system into a state machine
- Abilities like Dash and Triplestrike
- Fireball explosions
diff --git a/content/news/010/index.md b/content/news/010/index.md
index e70cb5a78..49237a5f1 100644
--- a/content/news/010/index.md
+++ b/content/news/010/index.md
@@ -737,7 +737,7 @@ Also, check out a new "Game of Life" demo [here][iced-life].
### [beehive]
-```
+```txt
yz +Y
__
yx / \ xz +X
diff --git a/content/news/011/index.md b/content/news/011/index.md
index ce465044e..81fb9bffb 100644
--- a/content/news/011/index.md
+++ b/content/news/011/index.md
@@ -748,7 +748,7 @@ increased incremental build time, and build artifacts size.
nanoserde may be useful when the whole game has less than a minute
clean build time and spending ~40s on serde is unreasonable.
-```
+```txt
> cargo tree
nanoserde v0.1.0 (/../nanoserde)
└── nanoserde-derive v0.1.0 (/../nanoserde/derive)
diff --git a/content/news/013/index.md b/content/news/013/index.md
index 0998a4b2e..683a254f5 100644
--- a/content/news/013/index.md
+++ b/content/news/013/index.md
@@ -1016,7 +1016,7 @@ using `#` as a prefix.
Here is an example of this feature is being tested in
an experimental offline 3D renderer (not open sourced):
-```
+```txt
// Called by `set_simple(scene: _, sdf: _, id: _)`.
dyon_fn!{fn set_simple__scene_sdf_id(
scene: #&mut SimpleScene,
diff --git a/content/news/016/index.md b/content/news/016/index.md
index 11cb8d753..a9a4b1da2 100644
--- a/content/news/016/index.md
+++ b/content/news/016/index.md
@@ -531,7 +531,7 @@ It has a handful of features that make it stand out:
Reddit user [vlmutolo] also made a [toy benchmark] comparing rkyv against serde
and bincode and found that rkyv had promising initial numbers:
-```
+```txt
serialize (bincode): 89 ns/iter
serialize (rkyv): 86 ns/iter
From 7fcc79326826ff54d5d45f23d34544a96719276b Mon Sep 17 00:00:00 2001
From: Joe Clay <27cupsofcoffee@gmail.com>
Date: Mon, 8 Nov 2021 17:29:40 +0000
Subject: [PATCH 4/6] Missed one
---
content/news/026/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/news/026/index.md b/content/news/026/index.md
index 25e4f41cc..a537b6f2f 100644
--- a/content/news/026/index.md
+++ b/content/news/026/index.md
@@ -818,7 +818,7 @@ showing step by step process of how one could build them on their own.
### [hexagonal_pathfinding_astar]
-```
+```txt
_______
/ E \
_______/ (4,3) \
From 4040510f14975646ac19530ce460f6e5b202c266 Mon Sep 17 00:00:00 2001
From: Joe Clay <27cupsofcoffee@gmail.com>
Date: Mon, 8 Nov 2021 17:30:23 +0000
Subject: [PATCH 5/6] Update readme
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index cb0c14378..61252ce9f 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ The site is built and deployed automatically from the repo (see .github/workflow
To preview/experiment locally:
-1) [Install Zola][zola-get].
+1) [Install Zola 0.14.1][zola-get].
2) Run `zola serve --drafts` and open the link.
[zola-get]: https://getzola.org/documentation/getting-started/installation
From f7e5168243de3aa3838d20c7f7aa7edf36d30190 Mon Sep 17 00:00:00 2001
From: Joe Clay <27cupsofcoffee@gmail.com>
Date: Mon, 8 Nov 2021 21:08:26 +0000
Subject: [PATCH 6/6] Update README.md
---
README.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 61252ce9f..f44bb0a7e 100644
--- a/README.md
+++ b/README.md
@@ -8,14 +8,16 @@ To contribute to the newsletter, please see [CONTRIBUTING].
## Building from Source
-The site is built and deployed automatically from the repo (see .github/workflows/ci.yml).
+The site is built and deployed automatically from the repo (see
+[.github/workflows/ci.yml][ci]).
To preview/experiment locally:
-1) [Install Zola 0.14.1][zola-get].
+1) [Install Zola][zola-get]. Make sure to use 0.14.1, to match [our CI config][ci]!
2) Run `zola serve --drafts` and open the link.
[zola-get]: https://getzola.org/documentation/getting-started/installation
+[ci]: https://github.com/rust-gamedev/rust-gamedev.github.io/blob/source/.github/workflows/ci.yml
## License