Skip to content

Commit

Permalink
Remove UniqueIdentifierExtension for Middleman
Browse files Browse the repository at this point in the history
It is no longer needed for resetting the generator on the before lifecycle hook as it gets reset by the Markdown renderer
  • Loading branch information
romaricpascal committed Nov 21, 2022
1 parent d9beef0 commit 0a894e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions lib/govuk_tech_docs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
require "govuk_tech_docs/page_review"
require "govuk_tech_docs/pages"
require "govuk_tech_docs/tech_docs_html_renderer"
require "govuk_tech_docs/unique_identifier_extension"
require "govuk_tech_docs/unique_identifier_generator"
require "govuk_tech_docs/warning_text_extension"
require "govuk_tech_docs/api_reference/api_reference_extension"
Expand Down Expand Up @@ -62,7 +61,6 @@ def self.configure(context, options = {})

config_file = ENV.fetch("CONFIG_FILE", "config/tech-docs.yml")
context.config[:tech_docs] = YAML.load_file(config_file).with_indifferent_access
context.activate :unique_identifier
context.activate :warning_text
context.activate :api_reference

Expand Down
13 changes: 0 additions & 13 deletions lib/govuk_tech_docs/unique_identifier_extension.rb

This file was deleted.

0 comments on commit 0a894e5

Please sign in to comment.