Skip to content

Commit

Permalink
Fix online search in reference documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bclozel committed Jun 18, 2024
1 parent 965ebbf commit 944c4d8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 24 deletions.
18 changes: 7 additions & 11 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
antora:
extensions:
- '@springio/antora-extensions/partial-build-extension'
- require: '@springio/antora-extensions/latest-version-extension'
- require: '@springio/antora-extensions/inject-collector-cache-config-extension'
- '@antora/collector-extension'
- '@antora/atlas-extension'
- require: '@springio/antora-extensions/root-component-extension'
root_component_name: 'graphql'
- '@springio/antora-extensions/static-page-extension'
- require: '@springio/antora-extensions'
root_component_name: 'graphql'
site:
title: Spring GraphQL
url: https://docs.spring.io/spring-graphql/reference
Expand All @@ -23,14 +17,16 @@ content:
tags: [ 'v({1..9}).+({0..9}).+({0..9})?(-{RC,M}+({0..9}))', '!(v1.{0..1}.+({0..9})?(-{RC,M}+({0..9})))', '!(v1.2.+({0..2})?(-{RC,M}+({0..9})))' ]
start_path: spring-graphql-docs
asciidoc:
extensions:
- '@asciidoctor/tabs'
- '@springio/asciidoctor-extensions'
- '@springio/asciidoctor-extensions/include-code-extension'
attributes:
page-stackoverflow-url: https://stackoverflow.com/tags/spring-graphql
page-pagination: ''
hide-uri-scheme: '@'
tabs-sync-option: '@'
extensions:
- '@asciidoctor/tabs'
- '@springio/asciidoctor-extensions'
include-java: 'example$docs-src/main/java/org/springframework/graphql/docs'
urls:
latest_version_segment_strategy: redirect:to
latest_version_segment: ''
Expand Down
13 changes: 0 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,5 @@ plugins {
}

antora {
version = '3.2.0-alpha.2'
options = [clean: true, fetch: true, stacktrace: true]
environment = [
'ALGOLIA_API_KEY': '9d489079e5ec46dbb238909fee5c9c29',
'ALGOLIA_APP_ID': 'WB1FQYI187',
'ALGOLIA_INDEX_NAME': 'springdocs',
]
dependencies = [
'@antora/atlas-extension': '1.0.0-alpha.1',
'@antora/collector-extension': '1.0.0-alpha.3',
'@asciidoctor/tabs': '1.0.0-beta.3',
'@springio/antora-extensions': '1.8.2',
'@springio/asciidoctor-extensions': '1.0.0-alpha.8',
]
}
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"dependencies": {
"antora": "3.2.0-alpha.4",
"@antora/atlas-extension": "1.0.0-alpha.2",
"@antora/collector-extension": "1.0.0-alpha.3",
"@asciidoctor/tabs": "1.0.0-beta.6",
"@springio/antora-extensions": "1.11.1",
"@springio/asciidoctor-extensions": "1.0.0-alpha.10"
}
}

0 comments on commit 944c4d8

Please sign in to comment.