diff --git a/docs/Gemfile b/docs/Gemfile index 33d2cfc..4a9a2b2 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -18,6 +18,7 @@ group :jekyll_plugins do gem 'jekyll-content-security-policy-generator' gem "jekyll-feed", "~> 0.12" gem "jekyll-drawio" + gem "jekyll-redirect-from" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 03f888d..ca80349 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -48,6 +48,8 @@ GEM jekyll (>= 3.7, < 5.0) jekyll-include-cache (0.2.1) jekyll (>= 3.7, < 5.0) + jekyll-redirect-from (0.16.0) + jekyll (>= 3.3, < 5.0) jekyll-sass-converter (3.0.0) sass-embedded (~> 1.54) jekyll-seo-tag (2.8.0) @@ -121,6 +123,7 @@ DEPENDENCIES jekyll-content-security-policy-generator jekyll-drawio jekyll-feed (~> 0.12) + jekyll-redirect-from jekyll-sitemap (~> 1.4) just-the-docs minima (~> 2.5) diff --git a/docs/_config.yml b/docs/_config.yml index 49630cf..21dc697 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -37,6 +37,7 @@ plugins: - jekyll-content-security-policy-generator - jekyll-feed - jekyll-sitemap + - jekyll-redirect-from color_scheme: nhs mermaid: @@ -70,10 +71,11 @@ callouts: color: red sass: - style: compact # possible values: nested expanded compact compressed + sass_dir: assets/css load_paths: - - _sass/ - - node_modules/nhsuk-frontend/packages/ + - node_modules + - node_modules/nhsuk-frontend/dist + style: compressed # Exclude from processing. # The following items will not be processed, by default. diff --git a/docs/_includes/breadcrumb.html b/docs/_includes/breadcrumb.html index 58b6e45..c6bf55d 100644 --- a/docs/_includes/breadcrumb.html +++ b/docs/_includes/breadcrumb.html @@ -5,37 +5,37 @@