Skip to content

Commit

Permalink
correct api-docs placement
Browse files Browse the repository at this point in the history
  • Loading branch information
fantkolja committed Nov 29, 2024
1 parent c2658fd commit 55d0fbc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 67 deletions.
26 changes: 6 additions & 20 deletions antora-playbook-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,29 @@ site:
docsearch_id: 'QK2EAH8GB0'
docsearch_api: 'ef7bd9485eafbd75d6e8425949eda1f5'
docsearch_index: 'prod_hazelcast_docs'
ai_search_id: '6b326171-dd1e-40c6-a948-1f9bb6c0ed52'
ai_search_id: '6b326171-dd1e-40c6-a948-1f9bb6c0ed52'
urls:
html_extension_style: drop
html_extension_style: drop
content:
sources:
- url: .
branches: HEAD
start_path: docs
# Uncomment to build Swagger docs locally
# These are private repos. You need to do private repository authentication.
# See [here](https://docs.antora.org/antora/latest/playbook/private-repository-auth/) how to do that
# - url: https://github.com/hazelcast/hazelcast-mono
# branches: [ master ]
# start_path: docs/rest
ui:
bundle:
url: https://github.com/hazelcast/hazelcast-docs-ui/releases/latest/download/ui-bundle.zip #../hazelcast-docs-ui/build/ui-bundle.zip
snapshot: true
antora:
extensions:
- require: '@djencks/antora-aggregate-collector'
trace: true
componentversions:
- name: hazelcast
version: '5.5-snapshot'
mappings:
- module: integrate
family: attachment
origin:
url:
include:
- '**/hazelcast/hazelcast-mono'
branch:
includes:
- 'master'
asciidoc:
attributes:
# Download images from kroki at build time (does not work for inline images)
kroki-fetch-diagram: true
# Inlude next and previous links on each page
# Include next and previous links on each page
page-pagination: true@
idprefix: ''
# Separate anchor link names by dashes
Expand Down
23 changes: 3 additions & 20 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,19 @@ site:
docsearch_id: 'QK2EAH8GB0'
docsearch_api: 'ef7bd9485eafbd75d6e8425949eda1f5'
docsearch_index: 'prod_hazelcast_docs'
ai_search_id: '6b326171-dd1e-40c6-a948-1f9bb6c0ed52'
ai_search_id: '6b326171-dd1e-40c6-a948-1f9bb6c0ed52'
content:
sources:
- url: .
branches: HEAD
start_path: docs
- url: https://github.com/hazelcast/hazelcast-mono
branches: [master]
- url: https://github.com/fantkolja/hazelcast-mono
branches: [feature/swagger-without-collector]
start_path: docs/rest
ui:
bundle:
url: https://github.com/hazelcast/hazelcast-docs-ui/releases/latest/download/ui-bundle.zip #../hazelcast-docs-ui/build/ui-bundle.zip
snapshot: true
antora:
extensions:
- require: '@djencks/antora-aggregate-collector'
trace: true
componentversions:
- name: hazelcast
version: '6.0-snapshot'
mappings:
- module: maintain-cluster
family: attachment
origin:
url:
include:
- '**/hazelcast/hazelcast-mono'
branch:
includes:
- 'master'
asciidoc:
attributes:
# Download images from kroki at build time (does not work for inline images)
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/maintain-cluster/pages/rest-api-swagger.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
:page-enterprise: true
:page-layout: swagger

swagger_ui::{attachmentsdir}/api-docs.yaml[]
swagger_ui::../{attachmentsdir}/api-docs.yaml[]
25 changes: 0 additions & 25 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"@antora/cli": "^3.1.1",
"@antora/site-generator": "^3.1.1",
"@asciidoctor/core": "^2.0.0",
"@djencks/antora-aggregate-collector": "^0.1.0-beta.1",
"@jcahills/antora-link-checker": "^1.0.1",
"asciidoctor-kroki": "^0.10.0",
"ngrok": "^5.0.0-beta.2",
Expand Down

0 comments on commit 55d0fbc

Please sign in to comment.