add Asciidoctor Tabs, tabs migration, code chomping & code folding to production site

This commit is contained in:
Dan Allen 2022-12-06 14:17:36 -07:00 committed by Rob Winch
parent dd44928051
commit 7757eab714
3 changed files with 21 additions and 3 deletions

View File

@ -6,6 +6,10 @@ antora:
- ./lib/antora/extensions/version-fix.js - ./lib/antora/extensions/version-fix.js
- '@antora/atlas-extension' - '@antora/atlas-extension'
- '@opendevise/antora-release-line-extension' - '@opendevise/antora-release-line-extension'
- require: '@springio/asciidoctor-extensions/tabs-migration-antora-extension'
# uncomment this option to save the migrated content to the worktree
#save_result: true
unwrap_example_block: always
site: site:
title: Spring Security title: Spring Security
url: https://docs.spring.io/spring-security/reference url: https://docs.spring.io/spring-security/reference
@ -22,6 +26,10 @@ asciidoc:
attributes: attributes:
page-pagination: '' page-pagination: ''
hide-uri-scheme: '@' hide-uri-scheme: '@'
tabs-sync-option: '@'
extensions:
- '@asciidoctor/tabs'
- '@springio/asciidoctor-extensions'
urls: urls:
latest_version_segment_strategy: redirect:to latest_version_segment_strategy: redirect:to
latest_version_segment: '' latest_version_segment: ''

View File

@ -9,11 +9,13 @@ antora {
environment = [ environment = [
'ALGOLIA_API_KEY': '82c7ead946afbac3cf98c32446154691', 'ALGOLIA_API_KEY': '82c7ead946afbac3cf98c32446154691',
'ALGOLIA_APP_ID': '244V8V9FGG', 'ALGOLIA_APP_ID': '244V8V9FGG',
'ALGOLIA_INDEX_NAME': 'security-docs' 'ALGOLIA_INDEX_NAME': 'security-docs',
] ]
dependencies = [ dependencies = [
'@antora/atlas-extension': '1.0.0-alpha.1', '@antora/atlas-extension': '1.0.0-alpha.1',
'@antora/collector-extension': '1.0.0-alpha.2', '@antora/collector-extension': '1.0.0-alpha.2',
'@opendevise/antora-release-line-extension': '1.0.0-alpha.2' '@asciidoctor/tabs': '1.0.0-alpha.8',
'@opendevise/antora-release-line-extension': '1.0.0-alpha.2',
'@springio/asciidoctor-extensions': '1.0.0-alpha.4',
] ]
} }

View File

@ -4,6 +4,10 @@ antora:
- '@antora/collector-extension' - '@antora/collector-extension'
- ./lib/antora/extensions/version-fix.js - ./lib/antora/extensions/version-fix.js
- '@opendevise/antora-release-line-extension' - '@opendevise/antora-release-line-extension'
- require: '@springio/asciidoctor-extensions/tabs-migration-antora-extension'
# uncomment this option to save the migrated content to the worktree
#save_result: true
unwrap_example_block: always
site: site:
title: Spring Security title: Spring Security
url: https://docs.spring.io/spring-security/reference url: https://docs.spring.io/spring-security/reference
@ -12,7 +16,7 @@ git:
content: content:
sources: sources:
- url: . - url: .
branches: [main, '5.{{6..9},{1..9}+({0..9})}.x'] branches: [main, '5.{{6..9},{1..9}+({0..9})}.x', '6.+({0..9}).x']
worktrees: true # automatically discovers worktrees, if present; otherwise, will use git tree worktrees: true # automatically discovers worktrees, if present; otherwise, will use git tree
tags: ['5.{{6..9},{1..9}+({0..9})}.+({0..9})?(-RC+({0..9}))', '6.+({0..9}).+({0..9})?(-{RC,M}*)'] tags: ['5.{{6..9},{1..9}+({0..9})}.+({0..9})?(-RC+({0..9}))', '6.+({0..9}).+({0..9})?(-{RC,M}*)']
start_path: docs start_path: docs
@ -20,6 +24,10 @@ asciidoc:
attributes: attributes:
page-pagination: '' page-pagination: ''
hide-uri-scheme: '@' hide-uri-scheme: '@'
tabs-sync-option: '@'
extensions:
- '@asciidoctor/tabs'
- '@springio/asciidoctor-extensions'
urls: urls:
latest_version_segment: '' latest_version_segment: ''
ui: ui: