Skip to content

Release/v6 1 0 beta#460

Merged
jamescarr28 merged 43 commits intomainfrom
release/v6-1-0-beta
Apr 14, 2026
Merged

Release/v6 1 0 beta#460
jamescarr28 merged 43 commits intomainfrom
release/v6-1-0-beta

Conversation

@jamescarr28
Copy link
Copy Markdown
Contributor

closes issue #458

- update package-lock.json
- include .njk files into assets
- add extension and render functions to load in govuk components
- use renderer to create and parse nunjucks components
- add condition to only enable the extension if wanted
- update example site with govuk component
- add condition to only enable the extension if wanted
- update example site with govuk component
- add condition to only enable the extension if wanted
- update example site with govuk component
- add unit tests for GovukTechDocs::CustomMethodMissingHandler
- unit tests to test the specific helper method class in the template context
- remove rubocop warning for testing specific error
- split the logic out more clearly so we can understand the rules
- update CHANGELOG.md
…e site test for more detailed testing

- add test suite to confirm active header works correctly
# Conflicts:
#	CHANGELOG.md
#	package-lock.json
# Conflicts:
#	CHANGELOG.md
#	lib/govuk_tech_docs/version.rb
#	package-lock.json
# Conflicts:
#	CHANGELOG.md
#	lib/govuk_tech_docs/version.rb
#	package-lock.json
#	package.json
#	spec/features/integration_spec.rb
@jamescarr28 jamescarr28 linked an issue Apr 3, 2026 that may be closed by this pull request
@jamescarr28 jamescarr28 requested a review from brucebolt April 13, 2026 17:27
# Conflicts:
#	CHANGELOG.md
#	govuk_tech_docs.gemspec
@jamescarr28 jamescarr28 requested review from huwd, lfdebrux and tombye April 14, 2026 07:27
# Conflicts:
#	lib/govuk_tech_docs/version.rb
# Conflicts:
#	CHANGELOG.md
#	lib/govuk_tech_docs/version.rb
Copy link
Copy Markdown
Member

@brucebolt brucebolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look ok, but with a caveat I'm not familiar at all with nunjucks or implementing the Design System.

- raise error rather than return error as template string
@jamescarr28 jamescarr28 merged commit a5df4d9 into main Apr 14, 2026
4 checks passed
@jamescarr28 jamescarr28 deleted the release/v6-1-0-beta branch April 14, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release 6.1.0.beta

2 participants