Skip to content

Commit

Permalink
Fix online search in reference documentation
Browse files Browse the repository at this point in the history
Fixes gh-1013
  • Loading branch information
bclozel committed Jun 18, 2024
1 parent 463a2b8 commit 096dcd3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
build
node_modules/
.full-build
!/**/src/**/build
/**/src/**/generated
.gradle
Expand Down
12 changes: 4 additions & 8 deletions spring-graphql-docs/antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
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'
- require: '@springio/antora-extensions'
root_component_name: 'graphql'
site:
title: Spring GraphQL
url: https://rwinch.github.io/spring-graphql
url: https://docs.spring.io/spring-graphql/reference
robots: allow
git:
ensure_git_suffix: false
Expand All @@ -25,17 +20,18 @@ asciidoc:
page-pagination: ''
hide-uri-scheme: '@'
tabs-sync-option: '@'
include-java: 'example$docs-src/main/java/org/springframework/graphql/docs'
extensions:
- '@asciidoctor/tabs'
- '@springio/asciidoctor-extensions'
- '@springio/asciidoctor-extensions/include-code-extension'
urls:
latest_version_segment_strategy: redirect:to
latest_version_segment: ''
redirect_facility: httpd
ui:
bundle:
url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.4.16/ui-bundle.zip
snapshot: true
runtime:
log:
failure_level: warn
17 changes: 4 additions & 13 deletions spring-graphql-docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,12 @@ task api(type: Javadoc) {
destinationDir = file("$buildDir/docs/javadoc")
}


antora {
version = '3.2.0-alpha.2'
options = [clean: true, fetch: !project.gradle.startParameter.offline, stacktrace: true]
environment = [
'ALGOLIA_API_KEY': '9d489079e5ec46dbb238909fee5c9c29',
'ALGOLIA_APP_ID': 'WB1FQYI187',
'ALGOLIA_INDEX_NAME': 'springsecurity',
]
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.4.2',
'@springio/asciidoctor-extensions': '1.0.0-alpha.8',
'@opendevise/antora-release-line-extension': '1.0.0',
environment = [
'BUILD_REFNAME': 'HEAD',
'BUILD_VERSION': project.version,
]
}

Expand Down
11 changes: 11 additions & 0 deletions spring-graphql-docs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"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",
"@opendevise/antora-release-line-extension": "1.0.0"
}
}

0 comments on commit 096dcd3

Please sign in to comment.