From 88191f06546e4b7d4361aa1a6577f5df0119fbbe Mon Sep 17 00:00:00 2001 From: rtxa Date: Sat, 31 Aug 2024 01:40:19 -0300 Subject: [PATCH] Docs: Include changelog in the site Instead of redirecting to an external site --- website/src/pages/changelog.mdx | 3 +++ website/src/pages/downloads.mdx | 2 +- website/src/pages/index.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 website/src/pages/changelog.mdx diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx new file mode 100644 index 0000000..74f916f --- /dev/null +++ b/website/src/pages/changelog.mdx @@ -0,0 +1,3 @@ +import Changelog from '../../../CHANGELOG.md' + + \ No newline at end of file diff --git a/website/src/pages/downloads.mdx b/website/src/pages/downloads.mdx index 5ce5842..2eab076 100644 --- a/website/src/pages/downloads.mdx +++ b/website/src/pages/downloads.mdx @@ -12,7 +12,7 @@ The **Full Package** comes with everything the mod requires to run (Metamod and Windows - Full Package Linux - Full Package -

Latest version: **Beta 2.5.2** — [All releases](https://github.com/rtxa/agmodx/releases) — [Changelog](https://github.com/rtxa/agmodx/blob/master/CHANGELOG.md)

+

Latest version: **Beta 2.5.2** — [All releases](https://github.com/rtxa/agmodx/releases) — [Changelog](/changelog)

## ☰ Requirements diff --git a/website/src/pages/index.js b/website/src/pages/index.js index b9bb38b..039d50c 100644 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -26,7 +26,7 @@ function HomepageHeader() { Read the docs - Latest version: Beta 2.5.2What's new? + Latest version: Beta 2.5.2What's new? );