Skip to content

Commit

Permalink
Merge pull request #50 from redpanda-data/modify-redirects
Browse files Browse the repository at this point in the history
Add extension to prevent redirect loops in Netlify
  • Loading branch information
JakeSCahill authored Apr 17, 2024
2 parents 2e8b0d6 + e3f1715 commit 77c192e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ asciidoc:
- '@redpanda-data/docs-extensions-and-macros/asciidoc-extensions/add-line-numbers-highlights'
antora:
extensions:
- require: '@redpanda-data/docs-extensions-and-macros/extensions/modify-redirects'
- require: '@redpanda-data/docs-extensions-and-macros/extensions/algolia-indexer/index'
excludes: ['.thumbs','script', '.page-versions','.feedback-section','.banner-container']
- require: '@redpanda-data/docs-extensions-and-macros/extensions/unlisted-pages'
Expand Down
1 change: 1 addition & 0 deletions local-antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ asciidoc:
- '@redpanda-data/docs-extensions-and-macros/asciidoc-extensions/add-line-numbers-highlights'
antora:
extensions:
- require: '@redpanda-data/docs-extensions-and-macros/extensions/modify-redirects'
- require: '@redpanda-data/docs-extensions-and-macros/extensions/unlisted-pages'
- require: '@redpanda-data/docs-extensions-and-macros/extensions/add-global-attributes'
- require: '@redpanda-data/docs-extensions-and-macros/extensions/validate-attributes'
Expand Down
24 changes: 11 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions preview-antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ asciidoc:
- '@redpanda-data/docs-extensions-and-macros/asciidoc-extensions/add-line-numbers-highlights'
antora:
extensions:
- require: '@redpanda-data/docs-extensions-and-macros/extensions/modify-redirects'
- require: '@redpanda-data/docs-extensions-and-macros/extensions/unlisted-pages'
- require: '@redpanda-data/docs-extensions-and-macros/extensions/add-global-attributes'
- '@redpanda-data/docs-extensions-and-macros/extensions/version-fetcher/set-latest-version'
Expand Down

0 comments on commit 77c192e

Please sign in to comment.