Skip to content

Commit

Permalink
Improve the game patches overview page (#6374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas authored Jul 29, 2024
1 parent 2e7ecb5 commit fafd716
Show file tree
Hide file tree
Showing 18 changed files with 68 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
# Merge the generated changelogs into the templates
- name: Append the generated changelogs
run: |
cat generated/fafdevelop.md >> changelogs/fafdevelop.md
cat generated/fafbeta.md >> changelogs/fafbeta.md
cat generated/fafdevelop.md >> patches/fafdevelop.md
cat generated/fafbeta.md >> patches/fafbeta.md
- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-03-16-3801.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3801
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3801
---

# Game Version 3801 (16th of March, 2024)
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-03-17-3802.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3802
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3802
---

# Game Version 3802
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-03-17-3803.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3803
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3803
---

# Game Version 3803
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-03-24-3804.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3804
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3804
---

# Game Version 3804
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-03-24-3805.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3805
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3805
---

# Game Version 3805
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-03-31-3806.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3806
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3806
---

# Game Version 3806
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-04-03-3807.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3807
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3807
---

# Game Version 3807
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-04-07-3808.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3808
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3808
---

# Game Version 3808
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-04-20-3809.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3809
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3809
---

# Game Version 3809
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/2024-07-07-3810.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Game Version 3810
permalink: /:year/:month/:day/:title:output_ext
permalink: patches/3810
---

# Game Version 3810
Expand Down
2 changes: 1 addition & 1 deletion docs/blender.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
title: Blender & PBR
permalink: /blender
nav_order: 4
nav_order: 7
---

# How to Import Units & add PBR Texture
Expand Down
9 changes: 9 additions & 0 deletions docs/changelog/balance-snippet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: page
title: Balance snippet
parent: Development - Changelog
permalink: changelog/balance-snippet
published: true
---

_Information about how to structure a balance snippet_
9 changes: 9 additions & 0 deletions docs/changelog/other-snippet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
layout: page
title: Other snippets
parent: Development - Changelog
permalink: changelog/other-snippet
published: true
---

_Information about how to structure all other snippets_
2 changes: 1 addition & 1 deletion docs/changelog.md → docs/development-changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
title: Changelog
title: Development - Changelog
permalink: changelog
has_children: true
nav_order: 5
Expand Down
32 changes: 29 additions & 3 deletions docs/patches.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,43 @@
---
layout: page
title: Patches
has_children: true
permalink: /patches
nav_order: 8
---

# All Game Patches
# Overview of game patches

<ul style="columns: 2">


## Deployment branches

<ul>
<li>
<a class="preview-title" href="fafbeta">FAF Beta Balance</a>
</li>
<li>
<a class="preview-title" href="fafdevelop">FAF Develop</a>
</li>
</ul>

## Past game patches

<ul>
{% assign last_year = false %}
{% for post in site.posts %}

{% assign current_year = post.date | date: "%Y" %}
{% if last_year != current_year %}
{% assign last_year = current_year %}
<h2 id="{{current_year}}">
{{ current_year }}
</h2>
{% endif %}

<li>
<a class="preview-title" href="{{ post.url }}">{{ post.title }}</a>
<span>{{ post.date | date: "%b %d %Y" }}</span>
<span>{{ post.date | date: "%b %Y" }}</span>
</li>
{% endfor %}
</ul>
7 changes: 4 additions & 3 deletions docs/changelogs/fafdevelop.md → docs/patches/fafbeta.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
layout: page
title: Open changes on FAF Develop
permalink: changelog/fafdevelop
title: FAF Beta Balance
permalink: patches/fafbeta
nav_order: 1
parent: Changelog
parent: Patches
---

<!--
This is a template, content is appended automatically based on changelog snippets.
-->

7 changes: 3 additions & 4 deletions docs/changelogs/fafbeta.md → docs/patches/fafdevelop.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
layout: page
title: Open changes on FAF Beta Balance
permalink: changelog/fafbeta
title: FAF Develop
permalink: patches/fafdevelop
nav_order: 2
parent: Changelog
parent: Patches
---

<!--
This is a template, content is appended automatically based on changelog snippets.
-->

0 comments on commit fafd716

Please sign in to comment.