Skip to content

Commit

Permalink
Merge branch 'hazelcast:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
fantkolja authored Nov 12, 2024
2 parents 93d353b + b34dc81 commit 3737463
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 28 deletions.
2 changes: 1 addition & 1 deletion _redirects
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/clc/latest-dev/* /clc/latest/:splat 200!

# Redirect latest clc alias to the latest version
/clc/latest/* /clc/5.4.1/:splat 200!
/clc/latest/* /clc/5.5.0/:splat 200!

# Redirect legacy /4 version to the /4.0 version
/imdg/4/* /imdg/4.0/:splat 301!
Expand Down
43 changes: 16 additions & 27 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
site:
# https://docs.antora.org/antora/latest/playbook/set-up-playbook/#configure-your-sites-properties
title: Documentation
start_page: home::index.adoc
url: https://docs.hazelcast.com
keys:
google_analytics: 'GTM-MQ59XD6'
# The following 3 parameters: id, api and index are used for
# Algolia docsearch setup in the hazelcast-docs-ui repo
docsearch_id: 'QK2EAH8GB0'
docsearch_api: 'ef7bd9485eafbd75d6e8425949eda1f5'
docsearch_index: 'prod_hazelcast_docs'
ai_search_id: '6b326171-dd1e-40c6-a948-1f9bb6c0ed52'
urls:
# https://docs.antora.org/antora/latest/playbook/urls-html-extension-style/
html_extension_style: drop
content:
sources:
Expand All @@ -19,7 +24,7 @@ content:
start_path: docs
- url: https://github.com/hazelcast/hz-flow-docs
branches: [main]
start_path: docs
start_path: docs
- url: https://github.com/hazelcast/imdg-docs
branches: [v/*]
start_path: docs
Expand Down Expand Up @@ -224,19 +229,15 @@ content:
ui:
bundle:
url: https://github.com/hazelcast/hazelcast-docs-ui/releases/latest/download/ui-bundle.zip
# https://docs.antora.org/antora/latest/playbook/set-up-playbook/#configure-your-sites-ui-bundle
# When snapshot is set to true, Antora will download the UI bundle
# whenever fetch is activated in the playbook or from the CLI.
snapshot: true
# Needed for API calls from Cloud Web App (Learning Centre page)
supplemental_files:
- path: netlify.toml
contents: >
[[headers]]
for = "/api/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Expand All @@ -261,7 +262,7 @@ antora:
includes:
- 'master'
- name: management-center
version: "5.6"
version: '5.6'
mappings:
- module: integrate
family: attachment
Expand All @@ -271,10 +272,7 @@ antora:
- '**/hazelcast/management-center'
branch:
includes:
- 5.6.0
- require: '@djencks/antora-aggregate-collector'
trace: true
componentversions:
- '5.6.0'
- name: hazelcast
version: '5.5'
mappings:
Expand All @@ -288,7 +286,7 @@ antora:
includes:
- '5.5.z'
- name: management-center
version: '5.6-snapshot'
version: '6.0-snapshot'
mappings:
- module: integrate
family: attachment
Expand Down Expand Up @@ -359,18 +357,6 @@ antora:
branch:
includes:
- '5.4.0'
- name: management-center
version: "5.6"
mappings:
- module: integrate
family: attachment
origin:
url:
include:
- '**/hazelcast/management-center'
branch:
includes:
- 5.6.0
- require: ./lib/api_json.js
tags:
- Favorites
Expand Down Expand Up @@ -401,9 +387,12 @@ asciidoc:
# Order the products in the version selector dropdown.
# Use * to list all remaining products in alphabetical order.
page-component-order: 'hazelcast, management-center, cloud, *'
# https://docs.antora.org/antora/latest/playbook/asciidoc-attributes/#precedence-rules
# page-pagination is soft-set to true
page-pagination: true@
# Allows us to use UI macros. See https://docs.asciidoctor.org/asciidoc/latest/macros/ui-macros/
page-experimental: true
# AsciiDoc ID settings https://docs.asciidoctor.org/asciidoc/latest/sections/id-prefix-and-separator/
idprefix: ''
idseparator: '-'
imdg-javadoc: https://docs.hazelcast.org/docs/latest-dev/javadoc
Expand Down

0 comments on commit 3737463

Please sign in to comment.