Skip to content

Commit 0048d3c

Browse files
authored
Merge pull request #233 from Danielle9897/RDoc-3540-fixLinksInDemo
RDoc-3540 [Demo] Fix links to compare-exchange
2 parents 7380625 + 7c16469 commit 0048d3c

File tree

10 files changed

+287
-136
lines changed

10 files changed

+287
-136
lines changed

DemoServer/AdditionalLanguages/java/src/main/java/net/ravendb/demo/compareExchange/createCompareExchange/metadata.json

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,18 @@
3131
{
3232
"Title": "Compare-Exchange overview",
3333
"Type" : "link",
34-
"Url" : "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/overview"
34+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
3535
},
3636
{
37-
"Title": "Put Compare-Exchange",
37+
"Title": "Create Compare-Exchange",
3838
"Type" : "link",
39-
"Url" : "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/put-compare-exchange-value"
39+
"Url" : "https://docs.ravendb.net/compare-exchange/create-cmpxchg-items"
40+
},
41+
{
42+
"Title": "Get Compare-Exchange",
43+
"Type" : "link",
44+
"Url" : "https://docs.ravendb.net/compare-exchange/get-cmpxchg-item"
4045
},
41-
// TODO
42-
// {
43-
// "Title": "Get Compare-Exchange",
44-
// "Type": "link",
45-
// "Url": "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/get-compare-exchange-value"
46-
// },
4746
{
4847
"Title": "Compare-Exchange operations - Blog",
4948
"Type" : "link",
@@ -82,13 +81,13 @@
8281
"Assets": [
8382
{
8483
"Title": "Compare-Exchange overview",
85-
"Type": "link",
86-
"Url": "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/overview"
84+
"Type" : "link",
85+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
8786
},
8887
{
89-
"Title": "Put Compare-Exchange",
90-
"Type": "link",
91-
"Url": "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/put-compare-exchange-value"
88+
"Title": "Create Compare-Exchange",
89+
"Type" : "link",
90+
"Url" : "https://docs.ravendb.net/compare-exchange/create-cmpxchg-items"
9291
},
9392
{
9493
"Title": "What are Operations",
@@ -109,13 +108,13 @@
109108
"Assets": [
110109
{
111110
"Title": "Compare-Exchange overview",
112-
"Type": "link",
113-
"Url": "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/overview"
111+
"Type" : "link",
112+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
114113
},
115114
{
116-
"Title": "Put Compare-Exchange",
117-
"Type": "link",
118-
"Url": "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/put-compare-exchange-value"
115+
"Title": "Create Compare-Exchange",
116+
"Type" : "link",
117+
"Url" : "https://docs.ravendb.net/compare-exchange/create-cmpxchg-items"
119118
}
120119
]
121120
},
@@ -132,15 +131,14 @@
132131
"Assets": [
133132
{
134133
"Title": "Compare-Exchange overview",
135-
"Type": "link",
136-
"Url": "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/overview"
134+
"Type" : "link",
135+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
136+
},
137+
{
138+
"Title": "Get Compare-Exchange",
139+
"Type" : "link",
140+
"Url" : "https://docs.ravendb.net/compare-exchange/get-cmpxchg-item"
137141
},
138-
// TODO
139-
// {
140-
// "Title": "Get Compare-Exchange",
141-
// "Type": "link",
142-
// "Url": "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/get-compare-exchange-value"
143-
// },
144142
{
145143
"Title": "What are Operations",
146144
"Type": "link",
@@ -161,7 +159,7 @@
161159
{
162160
"Title": "Compare-Exchange overview",
163161
"Type" : "link",
164-
"Url" : "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/overview"
162+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
165163
}
166164
]
167165
}

DemoServer/AdditionalLanguages/java/src/main/java/net/ravendb/demo/compareExchange/indexCompareExchange/metadata.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
{
1919
"Title": "Compare-Exchange overview",
2020
"Type" : "link",
21-
"Url" : "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/overview"
21+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
2222
},
2323
{
2424
"Title": "Index Compare-Exchange values",
2525
"Type" : "link",
26-
"Url" : "https://ravendb.net/docs/article-page/latest/java/indexes/indexing-compare-exchange-values#querying-the-index"
26+
"Url" : "https://docs.ravendb.net/compare-exchange/indexing-cmpxchg-values"
2727
},
2828
{
2929
"Title": "Distributed Compare-Exchange operations",
@@ -142,12 +142,12 @@
142142
{
143143
"Title": "Compare-Exchange overview",
144144
"Type" : "link",
145-
"Url" : "https://ravendb.net/docs/article-page/latest/java/client-api/operations/compare-exchange/overview"
145+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
146146
},
147147
{
148148
"Title": "Index Compare-Exchange values",
149149
"Type" : "link",
150-
"Url" : "https://ravendb.net/docs/article-page/latest/java/indexes/indexing-compare-exchange-values#querying-the-index"
150+
"Url" : "https://docs.ravendb.net/compare-exchange/indexing-cmpxchg-values"
151151
},
152152
{
153153
"Title": "Querying an index",

DemoServer/AdditionalLanguages/nodejs/demo/compareExchange/createCompareExchange/metadata.json

Lines changed: 60 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,21 @@
2828
"Type" : "link",
2929
"Url" : "https://ravendb.net/learn/inside-ravendb-book/reader/4.0/6-ravendb-clusters#distributed-atomic-compare-exchange-operations"
3030
},
31-
//TODO
32-
// {
33-
// "Title": "Compare-Exchange overview",
34-
// "Type" : "link",
35-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/overview"
36-
// },
37-
// {
38-
// "Title": "Put Compare-Exchange",
39-
// "Type" : "link",
40-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/put-compare-exchange-value"
41-
// },
42-
// {
43-
// "Title": "Get Compare-Exchange",
44-
// "Type" : "link",
45-
// "Url" : "https://ravendb.net/docs/article-page/5.3/nodejs/client-api/operations/compare-exchange/get-compare-exchange-values"
46-
// },
31+
{
32+
"Title": "Compare-Exchange overview",
33+
"Type" : "link",
34+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
35+
},
36+
{
37+
"Title": "Create Compare-Exchange",
38+
"Type" : "link",
39+
"Url" : "https://docs.ravendb.net/compare-exchange/create-cmpxchg-items"
40+
},
41+
{
42+
"Title": "Get Compare-Exchange",
43+
"Type" : "link",
44+
"Url" : "https://docs.ravendb.net/compare-exchange/get-cmpxchg-item"
45+
},
4746
{
4847
"Title": "Compare-Exchange operations - Blog",
4948
"Type" : "link",
@@ -80,22 +79,21 @@
8079
" This is a cluster-level operation and will only be applied after a majority of the cluster nodes confirm its acceptance."
8180
],
8281
"Assets": [
83-
//TODO
84-
// {
85-
// "Title": "Compare-Exchange overview",
86-
// "Type" : "link",
87-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/overview"
88-
// },
89-
// {
90-
// "Title": "Put Compare-Exchange",
91-
// "Type" : "link",
92-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/put-compare-exchange-value"
93-
// },
94-
// {
95-
// "Title": "What are Operations",
96-
// "Type" : "link",
97-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/what-are-operations"
98-
// }
82+
{
83+
"Title": "Compare-Exchange overview",
84+
"Type" : "link",
85+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
86+
},
87+
{
88+
"Title": "Create Compare-Exchange",
89+
"Type" : "link",
90+
"Url" : "https://docs.ravendb.net/compare-exchange/create-cmpxchg-items"
91+
},
92+
{
93+
"Title": "What are Operations",
94+
"Type" : "link",
95+
"Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/what-are-operations"
96+
}
9997
]
10098
},
10199
{
@@ -108,17 +106,16 @@
108106
" which is a unique sequential number assigned to the value per any change."
109107
],
110108
"Assets": [
111-
//TODO
112-
// {
113-
// "Title": "Compare-Exchange overview",
114-
// "Type" : "link",
115-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/overview"
116-
// },
117-
// {
118-
// "Title": "Put Compare-Exchange",
119-
// "Type" : "link",
120-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/put-compare-exchange-value"
121-
// }
109+
{
110+
"Title": "Compare-Exchange overview",
111+
"Type" : "link",
112+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
113+
},
114+
{
115+
"Title": "Create Compare-Exchange",
116+
"Type" : "link",
117+
"Url" : "https://docs.ravendb.net/compare-exchange/create-cmpxchg-items"
118+
}
122119
]
123120
},
124121
{
@@ -132,22 +129,21 @@
132129
"* Variable _getCmpXchgResult_ will contain the matching CmpXchg item.<br>"
133130
],
134131
"Assets": [
135-
//TODO
136-
// {
137-
// "Title": "Compare-Exchange overview",
138-
// "Type" : "link",
139-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/overview"
140-
// },
141-
// {
142-
// "Title": "Get Compare-Exchange",
143-
// "Type" : "link",
144-
// "Url" : "https://ravendb.net/docs/article-page/5.3/nodejs/client-api/operations/compare-exchange/get-compare-exchange-values"
145-
// },
146-
// {
147-
// "Title": "What are Operations",
148-
// "Type" : "link",
149-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/what-are-operations"
150-
// }
132+
{
133+
"Title": "Compare-Exchange overview",
134+
"Type" : "link",
135+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
136+
},
137+
{
138+
"Title": "Get Compare-Exchange",
139+
"Type" : "link",
140+
"Url" : "https://docs.ravendb.net/compare-exchange/get-cmpxchg-item"
141+
},
142+
{
143+
"Title": "What are Operations",
144+
"Type" : "link",
145+
"Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/what-are-operations"
146+
}
151147
]
152148
},
153149
{
@@ -160,12 +156,11 @@
160156
"* metadata - Metadata dictionary for this key"
161157
],
162158
"Assets": [
163-
//TODO
164-
// {
165-
// "Title": "Compare-Exchange overview",
166-
// "Type" : "link",
167-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/overview"
168-
// }
159+
{
160+
"Title": "Compare-Exchange overview",
161+
"Type" : "link",
162+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
163+
}
169164
]
170165
}
171166
]

DemoServer/AdditionalLanguages/nodejs/demo/compareExchange/indexCompareExchange/metadata.json

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@
1414
"Type" : "demo",
1515
"Url" : "/nodejs/compare-exchange/create-compare-exchange"
1616
},
17-
//TODO
18-
// {
19-
// "Title": "Compare-Exchange overview",
20-
// "Type" : "link",
21-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/overview"
22-
// },
17+
{
18+
"Title": "Compare-Exchange overview",
19+
"Type" : "link",
20+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
21+
},
2322
{
2423
"Title": "Index Compare-Exchange values",
2524
"Type" : "link",
26-
"Url" : "https://ravendb.net/docs/article-page/latest/nodejs/indexes/indexing-compare-exchange-values#querying-the-index"
25+
"Url" : "https://docs.ravendb.net/compare-exchange/indexing-cmpxchg-values"
2726
},
2827
{
2928
"Title": "Distributed Compare-Exchange operations",
@@ -110,16 +109,15 @@
110109
"* In this example, the resulting Product documents are only those for which a matching CmpXchg Key has a Value above minValue."
111110
],
112111
"Assets": [
113-
//TODO
114-
// {
115-
// "Title": "Compare-Exchange overview",
116-
// "Type" : "link",
117-
// "Url" : "https://ravendb.net/docs/article-page/latest/nodejs/client-api/operations/compare-exchange/overview"
118-
// },
112+
{
113+
"Title": "Compare-Exchange overview",
114+
"Type" : "link",
115+
"Url" : "https://docs.ravendb.net/compare-exchange/overview"
116+
},
119117
{
120118
"Title": "Index Compare-Exchange values",
121119
"Type" : "link",
122-
"Url" : "https://ravendb.net/docs/article-page/latest/nodejs/indexes/indexing-compare-exchange-values#querying-the-index"
120+
"Url" : "https://docs.ravendb.net/compare-exchange/indexing-cmpxchg-values"
123121
},
124122
{
125123
"Title": "Querying an index",

0 commit comments

Comments
 (0)