Skip to content

Commit 9e2b968

Browse files
fantkoljaCopilot
andauthored
DOC-261 dark theme (#286)
Co-authored-by: Copilot <[email protected]>
1 parent fdbe753 commit 9e2b968

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+492
-191
lines changed

gulpfile.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,19 @@ const packTask = createTask({
9191

9292
const buildPreviewPagesTask = createTask({
9393
name: 'preview:build-pages',
94-
call: task.buildPreviewPages(srcDir, previewSrcDir, previewDestDir, livereload),
94+
call: task.buildPreviewPages(srcDir, previewSrcDir, previewDestDir),
9595
})
9696

9797
const previewBuildTask = createTask({
9898
name: 'preview:build',
9999
desc: 'Process and stage the UI assets and generate pages for the preview',
100-
call: parallel(buildTask, buildPreviewPagesTask),
100+
call: livereload
101+
? series(parallel(buildTask, buildPreviewPagesTask), (done) => {
102+
// still not working without a manual reload trigger
103+
livereload()
104+
done()
105+
})
106+
: parallel(buildTask, buildPreviewPagesTask),
101107
})
102108

103109
const previewServeTask = createTask({

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint:style": "stylelint \"**/*.css\"",
1111
"serve": "serve docs",
1212
"expose": "ngrok http 3000",
13-
"dev": "gulp preview"
13+
"dev": "LIVERELOAD=true gulp preview"
1414
},
1515
"license": "MPL-2.0",
1616
"repository": {

preview-src/java.adoc

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,19 @@ The Java client is **the most full featured** Hazelcast native client.
55
It is offered both with Hazelcast IMDG and Hazelcast IMDG Enterprise.
66
The main idea behind the Java client is to provide the same Hazelcast
77
functionality by proxying each operation through a Hazelcast member.
8+
9+
== New Vector Collection for building semantic search (BETA) [.enterprise]*Enterprise*
10+
811
It can access and change distributed data and it can listen to distributed
9-
events of an already established Hazelcast cluster from another Java application.
12+
events of an already established Hazelcast cluster from another Java application the link:https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config[Prometheus configuration documentation].
13+
14+
TIP: For guidance, see the link:https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config[Prometheus configuration documentation].
1015

1116
Content in document.
1217

13-
image:cluster-connected.png[]
18+
terminals in which the members are running or press kbd:[Ctrl+C] in each terminal.
19+
20+
image:cluster-connected.png[Cluster Connected]
1421

1522
Content in document
1623

@@ -230,3 +237,17 @@ Its content is centered horizontally and vertically.
230237
The cell is duplicated in three consecutive rows in the same column.
231238
It's content is aligned to the bottom of the cell.
232239
|===
240+
241+
242+
== Key features and benefits
243+
244+
[cols="<30%,<15%,<15%,<40%", options="header"]
245+
|===
246+
|[align=left]*Core Hazelcast Capabilities*|[align=left]*{enterprise-product-name}*|[align=left]*{open-source-product-name}*|[align=left]*Description*
247+
248+
|Management Center
249+
|&#9989;
250+
|&#10060;
251+
|Get full access to all Management Center features.
252+
253+
|===

preview-src/privacy.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
= Privacy Policy
2+
:page-layout: privacy
3+
:!sectids:
4+
:!toc:

preview-src/ui-model.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ page:
7474
home: true
7575
title: Java Client
7676
attributes:
77-
component-order: '!home, !templates, !imdg, !privacy, hazelcast, management-center, cloud, *'
77+
component-order: '!home, !templates, !imdg, !privacy, management-center, clc, hazelcast, cloud, *'
7878
excluded-versions: 'management-center:4.0'
7979
last-versions-count: 10
8080
component:

src/css/404.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
position: relative;
2121
flex: 1 100%;
2222
margin-top: 10px;
23-
border: 1px solid var(--neutral-light);
23+
border: 1px solid var(--border-color);
2424
padding: 5%;
2525
border-radius: var(--border-radius);
2626
}

src/css/admonition.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
border-left-style: solid;
66
padding: 15px 10px 15px 20px;
77
margin-top: 1rem;
8+
color: var(--text-light);
9+
}
10+
11+
.doc .admonitionblock a {
12+
color: var(--accent);
13+
}
14+
15+
.doc .admonitionblock a[href*="//"]:not([href*="docs.hazelcast.com"])::after {
16+
content: url("/_/img/external-link.svg") !important;
817
}
918

1019
/* to override CSS when admonition is inside a table */

src/css/base.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* :root { */
2-
/* color-scheme: light dark; */
3-
/* } */
4-
51
html,
62
body {
73
height: 100%;
@@ -45,10 +41,6 @@ a:hover {
4541
text-decoration: underline;
4642
}
4743

48-
a:active {
49-
background-color: transparent;
50-
}
51-
5244
code,
5345
kbd,
5446
pre {

src/css/breadcrumbs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.breadcrumbs {
99
display: block;
1010
margin-top: 15px;
11-
font-size: smaller;
11+
font-size: var(--body-font-size-small);
1212
}
1313
}
1414

src/css/clipboard.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pre.highlightjs {
44
}
55

66
pre.highlightjs:hover .copy-code-button {
7-
background-color: var(--neutral-grey);
7+
background-color: var(--code-background);
88
}
99

1010
.copy-code-button {

0 commit comments

Comments
 (0)