From 90677e6583751c744b428365b80f1f9a7babe319 Mon Sep 17 00:00:00 2001
From: Jani Kraner <jani.kraner@digital.cabinet-office.gov.uk>
Date: Wed, 23 Oct 2024 16:18:41 +0100
Subject: [PATCH 1/2] Include manifest.json from govuk-frontend

This file specifies favicons and it needs to be bundled with the gem
---
 govuk_tech_docs.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/govuk_tech_docs.gemspec b/govuk_tech_docs.gemspec
index 5bf199cf..4a1650d1 100644
--- a/govuk_tech_docs.gemspec
+++ b/govuk_tech_docs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
   files_in_git = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
 
   # Include assets from GOV.UK Frontend library in the distributed gem
-  govuk_frontend_assets = Dir["node_modules/govuk-frontend/**/*.{scss,js,mjs,woff,woff2,png,svg,ico}"]
+  govuk_frontend_assets = Dir["node_modules/govuk-frontend/**/*.{scss,js,mjs,woff,woff2,png,svg,ico}", "node_modules/govuk-frontend/dist/govuk/assets/manifest.json"]
 
   spec.files         = files_in_git + govuk_frontend_assets
 

From 5d223faba9cf8cd4044d9019c8543c2c83084749 Mon Sep 17 00:00:00 2001
From: Jani Kraner <jani.kraner@digital.cabinet-office.gov.uk>
Date: Wed, 23 Oct 2024 16:29:16 +0100
Subject: [PATCH 2/2] Add to changelog

---
 CHANGELOG.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index ad52e773..e233d214 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
 ## Unreleased
 
+- [Fix missing manifest.json from govuk-frontend](https://github.com/alphagov/tech-docs-gem/pull/376)
+
 ## 4.0.0
 
 ### Breaking