Skip to content

Commit fc33748

Browse files
author
rakeshAlgo
committed
Merge branch 'nav-menu-ui' of https://github.com/rakeshAlgo/docs-ui-sandbox-1 into nav-menu-ui
2 parents 6fbe15c + e89b756 commit fc33748

14 files changed

+350
-676
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Couchbase Documentation UI
22
// Variables:
3-
:current-release: cloud-3
3+
:current-release: cloud-6
44
// Settings:
55
:!example-caption:
66
:experimental:

preview-src/database-icon.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 121 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,124 @@
11
= Couchbase Core Concept
22
:page-layout: landing-page-core-concept
33
:page-role: tiles
4-
:!sectids:
4+
:!sectids:
5+
6+
= Core Concept
7+
++++
8+
<div class="card-row">
9+
++++
10+
11+
[.column]
12+
====== {empty}
13+
[.content]
14+
Couchbase Server is an open source, distributed, NoSQL document-oriented engagement database. It exposes a fast key-value store with managed cache for sub-millisecond data operations, purpose-built indexers for fast queries and a powerful query engine for executing SQL-like queries
15+
16+
[.column]
17+
====== {empty}
18+
[.media-left]
19+
image::database-icon.svg[]
20+
21+
++++
22+
</div>
23+
++++
24+
25+
26+
27+
== Install and Deploy
28+
++++
29+
<div class="card-row three-column-row">
30+
++++
31+
32+
[.column]
33+
.Before You Begin
34+
* xref:#[System Requirements]
35+
* xref:#[ Production Checklist]
36+
37+
[.column]
38+
.Installation
39+
[.content]
40+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam
41+
42+
[.column]
43+
.Deployment
44+
* xref:#[ Sizing a Cluster ]
45+
* xref:#[ Create a Cluster ]
46+
47+
48+
++++
49+
</div>
50+
++++
51+
52+
== Learn
53+
++++
54+
<div class="card-row three-column-row">
55+
++++
56+
57+
[.column]
58+
.Data
59+
* xref:#[Introduction to Couchbase Server]
60+
* xref:#[Buckets and Collections]
61+
* xref:#[ Data Model ]
62+
63+
64+
[.column]
65+
.Buckets and Storage
66+
[.content]
67+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
68+
69+
70+
[.column]
71+
.Security
72+
[.content]
73+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
74+
75+
++++
76+
</div>
77+
++++
78+
79+
== Lorem ipsum
80+
++++
81+
<div class="card-row two-column-row">
82+
++++
83+
84+
[.column]
85+
====== {empty}
86+
.Lorem ipsum
87+
88+
[.content]
89+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
90+
[]
91+
xref:#[Lorem ipsum]
92+
93+
[.column]
94+
====== {empty}
95+
96+
.Lorem ipsum
97+
[.content]
98+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet
99+
[]
100+
xref:#[Lorem ipsum]
101+
102+
[.column]
103+
====== {empty}
104+
.Lorem ipsum
105+
106+
[.content]
107+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
108+
109+
[]
110+
xref:#[Lorem ipsum]
111+
112+
[.column]
113+
====== {empty}
114+
.Lorem ipsum
115+
116+
video::n1e6kV_kPKo[youtube]
117+
118+
Lorem ipsum dolor sit amet, consetetur
119+
xref:#[sadipscing elitr]
120+
121+
122+
++++
123+
</div>
124+
++++

preview-src/landing-page-sdk.adoc

Lines changed: 103 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,106 @@
11
= Couchbase SDK
22
:page-layout: landing-page-sdk
33
:page-role: tiles
4-
:!sectids:
4+
:!sectids:
5+
6+
7+
= SDK
8+
++++
9+
<div class="card-row">
10+
++++
11+
12+
[.column]
13+
====== {empty}
14+
[.content]
15+
The Couchbase SDK allows applications to access a Couchbase cluster. It offers traditional synchronous APIs as well as scalable asynchronous APIs to maximize performance.
16+
17+
[.column]
18+
====== {empty}
19+
[.media-left]
20+
image::sdk-icon.svg[]
21+
22+
++++
23+
</div>
24+
++++
25+
26+
== Languages
27+
++++
28+
<div class="card-row two-column-row">
29+
++++
30+
31+
[.column]
32+
====== {empty}
33+
.C SDK
34+
35+
[.content]
36+
The Couchbase C SDK (libcouchbase) enables C and C++ programs to access a Couchbase Server cluster. The C SDK is also commonly used as a core dependency of SDKs written in other language to provide a common implementation and high performance.
37+
[]
38+
xref:#[Start Using the C SDK]
39+
40+
[.column]
41+
====== {empty}
42+
43+
..NET SDK
44+
[.content]
45+
The .NET SDK enables you to interact with a Couchbase Server cluster from the .NET Framework using any Common Language Runtime (CLR) language, including C#, F#, and VB.NET. It offers both a traditional synchronous API and an asynchronous API based on the Task-based Asynchronous Pattern (TAP).
46+
[]
47+
xref:#[Start Using the .NET SDK]
48+
49+
[.column]
50+
====== {empty}
51+
.Go SDK
52+
53+
[.content]
54+
The Couchbase Go SDK allows you to connect to a Couchbase Server cluster from Go. The Go SDK is a native Go library and uses the high-performance gocbcore to handle communicating to the cluster over Couchbase’s binary protocols.
55+
[]
56+
xref:#[Start Using the Go SDK]
57+
58+
[.column]
59+
====== {empty}
60+
.Java SDK
61+
62+
[.content]
63+
The Java SDK allows Java applications to access a Couchbase Server cluster. The Java SDK offers traditional synchronous APIs as well as scalable asynchronous APIs to maximize performance.
64+
[]
65+
xref:#[Start Using the Java SDK]
66+
67+
[.column]
68+
====== {empty}
69+
.Node.js SDK
70+
71+
[.content]
72+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
73+
[]
74+
xref:#[Start Using the Node.js SDK]
75+
76+
[.column]
77+
====== {empty}
78+
.PHP SDK
79+
80+
[.content]
81+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
82+
[]
83+
xref:#[Start Using the PHP SDK]
84+
85+
[.column]
86+
====== {empty}
87+
.Python SDK
88+
89+
[.content]
90+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
91+
[]
92+
xref:#[Start Using the Python SDK]
93+
94+
[.column]
95+
====== {empty}
96+
.Scala SDK
97+
98+
[.content]
99+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
100+
[]
101+
xref:#[Start Using the Scala SDK]
102+
103+
104+
++++
105+
</div>
106+
++++

preview-src/sdk-icon.svg

Lines changed: 1 addition & 0 deletions
Loading

src/css/doc.css

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.doc {
2+
padding: var(--base-space) 0;
3+
}
4+
15
.doc p {
26
margin: 0;
37
}
@@ -83,8 +87,8 @@
8387
.doc h4 a.anchor::before,
8488
.doc h5 a.anchor::before,
8589
.doc h6 a.anchor::before {
86-
content: '\f0c1';
87-
font-family: 'Font Awesome 5 Free', sans-serif;
90+
content: "\f0c1";
91+
font-family: "Font Awesome 5 Free", sans-serif;
8892
font-weight: 900;
8993
}
9094

@@ -417,12 +421,12 @@
417421

418422
.doc ul {
419423
margin: 0;
420-
padding: 0 0 0 8px;
424+
padding: 0 0 0 1rem;
421425
}
422426

423427
.doc ol {
424428
margin: 0;
425-
padding: 0 0 0 8px;
429+
padding: 0 0 0 1rem;
426430
}
427431

428432
.doc ul.checklist {
@@ -489,7 +493,8 @@
489493
.doc pre.highlight code {
490494
/* background-color: #151514; */
491495
color: var(--color-brand-gray1);
492-
font-weight: var(--weight-normal); /* needed to override third-party styles */
496+
font-weight: var(--weight-normal);
497+
/* needed to override third-party styles */
493498
padding-left: var(--base-small-space);
494499
padding-right: var(--base-small-space);
495500
padding-top: var(--base-large-space);
@@ -585,8 +590,7 @@
585590
content: "";
586591
display: inline-block;
587592
background:
588-
transparent
589-
linear-gradient(
593+
transparent linear-gradient(
590594
180deg,
591595
#f1f7fe0d 0%,
592596
#f1f7fe40 18%,
@@ -875,6 +879,7 @@ code.language-console.hljs.shell {
875879
.doc .tab-pane > :first-child {
876880
margin-top: 0;
877881
}
882+
878883
/* Media css */
879884

880885
@media screen and (min-width: 840px) {
@@ -913,7 +918,7 @@ code.language-console.hljs.shell {
913918
font-weight: var(--weight-bold);
914919
min-height: 2.5rem;
915920
line-height: 1;
916-
margin-right: 0.25rem;
921+
/* margin-right: 0.25rem; */
917922
padding: 0 1.5rem 5px;
918923
position: relative;
919924
text-decoration: none;
@@ -942,6 +947,8 @@ code.language-console.hljs.shell {
942947
display: flex;
943948
align-items: center;
944949
color: #333;
950+
border-bottom: 1px solid var(--color-border);
951+
padding-left: 0.5rem;
945952
}
946953

947954
.doc .tabs .dropddown-btn .fas {
@@ -998,3 +1005,48 @@ code.language-console.hljs.shell {
9981005
display: block;
9991006
}
10001007
}
1008+
1009+
@media screen and (max-width: 767px) {
1010+
.doc h1 {
1011+
font-size: var(--heading-h1-sm);
1012+
}
1013+
1014+
.doc h1.page {
1015+
font-size: var(--heading-h1-sm);
1016+
margin-bottom: 10px;
1017+
}
1018+
1019+
.doc h2 {
1020+
font-size: var(--heading-h2-sm);
1021+
margin: 1rem 0 1rem;
1022+
}
1023+
1024+
.doc h3 {
1025+
font-size: var(--heading-h3-sm);
1026+
}
1027+
1028+
.doc h4 {
1029+
font-size: var(--heading-h4-sm);
1030+
}
1031+
1032+
.doc h5 {
1033+
font-size: var(--heading-h4-sm);
1034+
}
1035+
1036+
.doc .admonitionblock td.content {
1037+
padding-left: 1rem;
1038+
}
1039+
1040+
.doc .sidebarblock > .content {
1041+
padding: 1.5rem;
1042+
}
1043+
1044+
.doc h1 > a.anchor,
1045+
.doc h2 > a.anchor,
1046+
.doc h3 > a.anchor,
1047+
.doc h4 > a.anchor,
1048+
.doc h5 > a.anchor,
1049+
.doc h6 > a.anchor {
1050+
font-size: 18px;
1051+
}
1052+
}

0 commit comments

Comments
 (0)