From ff5b640096d6c4f80b05e4c7ba6a920eb741636b Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Tue, 26 Sep 2023 18:12:31 +0100 Subject: [PATCH] Use aliases-redirects extension --- package.json | 1 + publish.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/package.json b/package.json index 14fbecea..7e05b22f 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "@neo4j-antora/antora-add-notes": "^0.1.6", "@neo4j-antora/antora-modify-sitemaps": "^0.4.3", "@neo4j-antora/antora-page-roles": "^0.3.1", + "@neo4j-antora/aliases-redirects": "^0.2.1", "@neo4j-antora/antora-table-footnotes": "^0.3.2", "@neo4j-documentation/macros": "^1.0.2", "@neo4j-documentation/remote-include": "^1.0.0" diff --git a/publish.yml b/publish.yml index e9d0695b..3a563497 100644 --- a/publish.yml +++ b/publish.yml @@ -28,6 +28,11 @@ antora: sitemap_version: '4' sitemap_loc_version: 'current' move_sitemaps_to_components: true + - require: "@neo4j-antora/aliases-redirects" + redirect_format: neo4j + redirect_map: + - from: '4' + to: 'current' asciidoc: extensions: