Skip to content

Commit

Permalink
DEX-132: change macro script src (#1151)
Browse files Browse the repository at this point in the history
https://hazelcast.atlassian.net/browse/DEX-132

Align script src with MC and hazelcast-docs
  • Loading branch information
fantkolja committed Jul 1, 2024
1 parent 9201ff6 commit 391ab8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ antora:
- name: hazelcast
version: '5.5-snapshot'
mappings:
- module: integrate
- module: maintain-cluster
family: attachment
origin:
url:
Expand Down
3 changes: 2 additions & 1 deletion docs/modules/maintain-cluster/partials/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
** xref:maintain-cluster:member-attributes.adoc[Filtering Members with Attributes]
** xref:maintain-cluster:lite-members.adoc[Lite Members]
** xref:maintain-cluster:shutdown.adoc[Shutting Down]
** xref:management:cluster-utilities.adoc[Cluster Utilities]
** xref:management:cluster-utilities.adoc[Cluster Utilities]
** xref:maintain-cluster:rest-api-swagger.adoc[REST API]
2 changes: 1 addition & 1 deletion lib/swagger-ui-block-macro.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const buildSwaggerUi = ({ specUrl }) => `
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
<redoc spec-url='${specUrl}'></redoc>
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script>`
<script src="https://cdn.jsdelivr.net/npm/redoc@latest/bundles/redoc.standalone.js"> </script>`

function blockSwaggerUiMacro ({ file }) {
return function () {
Expand Down

0 comments on commit 391ab8f

Please sign in to comment.