Skip to content

Commit d67ebe1

Browse files
Switched to theme hugo-geekdocs
1 parent 9b46495 commit d67ebe1

59 files changed

Lines changed: 983 additions & 1022 deletions

Some content is hidden

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

.github/workflows/publish-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
run: |
4343
# echo ${{ env.ROOT_DIR }}
4444
cp -r content/* ${{ env.ROOT_DIR }}/content/
45-
hugo --source ${{ env.ROOT_DIR }} --minify --config config.toml
46-
rootUrl=$(sed -n -e '/^baseURL/p' ${{ env.ROOT_DIR }}/config.toml | sed 's/baseURL//; s/\s*//g; s/=//; s/"//g')
45+
hugo --source ${{ env.ROOT_DIR }} --minify --config config-geekdoc.toml
46+
rootUrl=$(sed -n -e '/^baseURL/p' ${{ env.ROOT_DIR }}/config-geekdoc.toml | sed 's/baseURL//; s/\s*//g; s/=//; s/"//g')
4747
# echo $rootUrl
4848
pattern="//*[*[contains(text(),'${rootUrl}storage') or contains(text(),'${rootUrl}total')]]"
4949
# echo $pattern

build_docs.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ call git submodule update --init --recursive docs-cloud-common
22
call git submodule foreach git pull origin master
33
xcopy content docs-cloud-common\content /s /e /Y
44
cd docs-cloud-common
5-
call hugo server
5+
call hugo server --config=config-geekdoc.toml

content/annotation/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ title: "GroupDocs.Annotation Cloud"
55
productName: "GroupDocs.Annotation Cloud"
66
description: ""
77
keywords: ""
8+
toc: True
89
---
9-

content/annotation/developer-guide/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ productName: "GroupDocs.Annotation Cloud"
66
weight: 2
77
description: ""
88
keywords: ""
9-
---
9+
toc: True
10+
---

content/annotation/developer-guide/advanced-usage/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ productName: "GroupDocs.Annotation Cloud"
66
weight: 3
77
description: ""
88
keywords: ""
9+
toc: True
910
---
10-

content/annotation/developer-guide/advanced-usage/add-annotation/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ productName: "GroupDocs.Annotation Cloud"
66
weight: 1
77
description: ""
88
keywords: ""
9+
toc: True
910
---
10-

content/annotation/developer-guide/advanced-usage/add-annotation/area-annotation.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ productName: "GroupDocs.Annotation Cloud"
66
weight: 1
77
description: ""
88
keywords: ""
9+
toc: True
910
---
1011

1112
Area annotation allows to mark up an area within the document page with a rectangle.
1213

13-
### API Usage ###
14+
## API usage
1415

1516
There are steps that usage of GroupDocs.Annotation Cloud consists of:
1617

@@ -24,10 +25,10 @@ HTTP POST ~/annotation/add
2425

2526
[Swagger UI](https://apireference.groupdocs.cloud/annotation/) lets you call this REST API directly from the browser.
2627

27-
### cURL REST Example ###
28+
## cURL example
2829

29-
{{< tabs tabTotal="2" tabID="1" tabName1="Request" tabName2="Response" >}}
30-
{{< tab tabNum="1" >}}
30+
{{< tabs "example1">}}
31+
{{< tab "Request" >}}
3132

3233
```javascript
3334
// First get JSON Web Token
@@ -89,9 +90,9 @@ curl -v "https://api.groupdocs.cloud/v2.0/annotation/add" \
8990
```
9091

9192
{{< /tab >}}
92-
{{< tab tabNum="2" >}}
93+
{{< tab "Response" >}}
9394

94-
```html
95+
```bash
9596
{
9697
"href": "https://api.groupdocs.cloud/v2.0/annotation/storage/file/Output/output.docx",
9798
"rel": "self",
@@ -103,13 +104,11 @@ curl -v "https://api.groupdocs.cloud/v2.0/annotation/add" \
103104
{{< /tab >}}
104105
{{< /tabs >}}
105106

106-
## SDKs ##
107-
108-
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list [here](annotation/available-sdks).
107+
## SDK examples
109108

110-
### SDK Examples ###
109+
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list [here]({{< ref "/annotation/getting-started/available-sdks.md" >}}).
111110

112-
{{< tabs tabTotal="6" tabID="10" tabName1="C#" tabName2="Java & Android" tabName3="PHP" tabName4="Node.js" tabName5="Python" tabName6="Ruby" >}} {{< tab tabNum="1" >}}
111+
{{< tabs "example2">}} {{< tab "C#" >}}
113112

114113
```csharp
115114
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet-samples
@@ -162,7 +161,7 @@ var link = apiInstance.Annotate(new AnnotateRequest(options));
162161
Console.WriteLine("AddAreaAnnotation: Area Annotation added: " + link.Title);
163162
```
164163

165-
{{< /tab >}} {{< tab tabNum="2" >}}
164+
{{< /tab >}} {{< tab "Java & Android" >}}
166165

167166
```java
168167
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java-samples
@@ -217,7 +216,7 @@ AnnotationApiLink result = apiInstance.annotate(request);
217216
System.out.println("AddAreaAnnotation: Area Annotation added: " + result.getTitle());
218217
```
219218

220-
{{< /tab >}} {{< tab tabNum="3" >}}
219+
{{< /tab >}} {{< tab "PHP" >}}
221220

222221
```php
223222
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-php-samples
@@ -267,7 +266,7 @@ $result = $apiInstance->annotate($request);
267266
echo "AddAreaAnnotation: Area Annotation added: " . $result->getHref();
268267
```
269268

270-
{{< /tab >}} {{< tab tabNum="4" >}}
269+
{{< /tab >}} {{< tab "Node.js" >}}
271270

272271
```javascript
273272
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-node-samples
@@ -306,7 +305,7 @@ let result = await annotateApi.annotate(new annotation_cloud.AnnotateRequest(opt
306305
console.log("AddAreaAnnotation: Area Annotation added: " + result.href);
307306
```
308307

309-
{{< /tab >}} {{< tab tabNum="5" >}}
308+
{{< /tab >}} {{< tab "Python" >}}
310309

311310
```python
312311
# For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-python-samples
@@ -348,7 +347,7 @@ result = api.annotate(request)
348347
print("AddAreaAnnotation: Area Annotation added: " + result['href'])
349348
```
350349

351-
{{< /tab >}} {{< tab tabNum="6" >}}
350+
{{< /tab >}} {{< tab "Ruby" >}}
352351

353352
```ruby
354353
# For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby-samples

content/annotation/developer-guide/advanced-usage/add-annotation/arrow-annotation.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ productName: "GroupDocs.Annotation Cloud"
66
weight: 2
77
description: ""
88
keywords: ""
9+
toc: True
910
---
10-
1111
Arrow annotation draws an arrow on the document.
1212

13-
### API Usage ###
13+
## API usage
1414

1515
There are steps that usage of GroupDocs.Annotation Cloud consists of:
1616

@@ -24,10 +24,10 @@ HTTP POST ~/annotation/add
2424

2525
[Swagger UI](https://apireference.groupdocs.cloud/annotation/) lets you call this REST API directly from the browser.
2626

27-
### cURL REST Example ###
27+
## cURL example
2828

29-
{{< tabs tabTotal="2" tabID="1" tabName1="Request" tabName2="Response" >}}
30-
{{< tab tabNum="1" >}}
29+
{{< tabs "example1">}}
30+
{{< tab "Request" >}}
3131

3232
```javascript
3333
// First get JSON Web Token
@@ -89,9 +89,9 @@ curl -v "https://api.groupdocs.cloud/v2.0/annotation/add" \
8989
```
9090

9191
{{< /tab >}}
92-
{{< tab tabNum="2" >}}
92+
{{< tab "Response" >}}
9393

94-
```html
94+
```bash
9595
{
9696
"href": "https://api.groupdocs.cloud/v2.0/annotation/storage/file/Output/output.docx",
9797
"rel": "self",
@@ -103,13 +103,13 @@ curl -v "https://api.groupdocs.cloud/v2.0/annotation/add" \
103103
{{< /tab >}}
104104
{{< /tabs >}}
105105

106-
## SDKs ##
106+
## SDK examples
107+
108+
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list [here]({{< ref "/annotation/getting-started/available-sdks.md" >}}).
107109

108-
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list [here](annotation/available-sdks).
109110

110-
### SDK Examples ###
111111

112-
{{< tabs tabTotal="6" tabID="10" tabName1="C#" tabName2="Java & Android" tabName3="PHP" tabName4="Node.js" tabName5="Python" tabName6="Ruby" >}} {{< tab tabNum="1" >}}
112+
{{< tabs "example2">}} {{< tab "C#" >}}
113113

114114
```csharp
115115
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet-samples
@@ -165,7 +165,7 @@ var link = apiInstance.Annotate(new AnnotateRequest(options));
165165
Console.WriteLine("AddArrowAnnotation: Arrow Annotation added: " + link.Title);
166166
```
167167

168-
{{< /tab >}} {{< tab tabNum="2" >}}
168+
{{< /tab >}} {{< tab "Java & Android" >}}
169169

170170
```java
171171
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java-samples
@@ -220,7 +220,7 @@ AnnotationApiLink result = apiInstance.annotate(request);
220220
System.out.println("AddArrowAnnotation: Arrow Annotation added: " + result.getTitle());
221221
```
222222

223-
{{< /tab >}} {{< tab tabNum="3" >}}
223+
{{< /tab >}} {{< tab "PHP" >}}
224224

225225
```php
226226
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-php-samples
@@ -270,7 +270,7 @@ $result = $apiInstance->annotate($request);
270270
echo "AddArrowAnnotation: Arrow Annotation added: " . $result->getHref();
271271
```
272272

273-
{{< /tab >}} {{< tab tabNum="4" >}}
273+
{{< /tab >}} {{< tab "Node.js" >}}
274274

275275
```javascript
276276
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-node-samples
@@ -309,7 +309,7 @@ let result = await annotateApi.annotate(new annotation_cloud.AnnotateRequest(opt
309309
console.log("AddArrowAnnotation: arrow Annotation added: " + result.href);
310310
```
311311

312-
{{< /tab >}} {{< tab tabNum="5" >}}
312+
{{< /tab >}} {{< tab "Python" >}}
313313

314314
```python
315315
# For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-python-samples
@@ -351,7 +351,7 @@ result = api.annotate(request)
351351
print("AddArrowAnnotation: Arrow Annotation added: " + result['href'])
352352
```
353353

354-
{{< /tab >}} {{< tab tabNum="6" >}}
354+
{{< /tab >}} {{< tab "Ruby" >}}
355355

356356
```ruby
357357
# For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby-samples

content/annotation/developer-guide/advanced-usage/add-annotation/distance-annotation.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ productName: "GroupDocs.Annotation Cloud"
66
weight: 1
77
description: ""
88
keywords: ""
9+
toc: True
910
---
10-
1111
Distance annotation measures a distance between objects in a document.
1212

13-
### API Usage ###
13+
## API usage
1414

1515
There are steps that usage of GroupDocs.Annotation Cloud consists of:
1616

@@ -24,10 +24,10 @@ HTTP POST ~/annotation/add
2424

2525
[Swagger UI](https://apireference.groupdocs.cloud/annotation/) lets you call this REST API directly from the browser.
2626

27-
### cURL REST Example ###
27+
## cURL example
2828

29-
{{< tabs tabTotal="2" tabID="1" tabName1="Request" tabName2="Response" >}}
30-
{{< tab tabNum="1" >}}
29+
{{< tabs "example1">}}
30+
{{< tab "Request" >}}
3131

3232
```javascript
3333
// First get JSON Web Token
@@ -89,9 +89,9 @@ curl -v "https://api.groupdocs.cloud/v2.0/annotation/add" \
8989
```
9090

9191
{{< /tab >}}
92-
{{< tab tabNum="2" >}}
92+
{{< tab "Response" >}}
9393

94-
```html
94+
```bash
9595
{
9696
"href": "https://api.groupdocs.cloud/v2.0/annotation/storage/file/Output/output.docx",
9797
"rel": "self",
@@ -103,13 +103,11 @@ curl -v "https://api.groupdocs.cloud/v2.0/annotation/add" \
103103
{{< /tab >}}
104104
{{< /tabs >}}
105105

106-
## SDKs ##
107-
108-
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list [here](annotation/available-sdks).
106+
## SDK examples
109107

110-
### SDK Examples ###
108+
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list [here]({{< ref "/annotation/getting-started/available-sdks.md" >}}).
111109

112-
{{< tabs tabTotal="6" tabID="10" tabName1="C#" tabName2="Java & Android" tabName3="PHP" tabName4="Node.js" tabName5="Python" tabName6="Ruby" >}} {{< tab tabNum="1" >}}
110+
{{< tabs "example2">}} {{< tab "C#" >}}
113111

114112
```csharp
115113
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet-samples
@@ -165,7 +163,7 @@ var link = apiInstance.Annotate(new AnnotateRequest(options));
165163
Console.WriteLine("AddDistanceAnnotation: Distance Annotation added: " + link.Title);
166164
```
167165

168-
{{< /tab >}} {{< tab tabNum="2" >}}
166+
{{< /tab >}} {{< tab "Java & Android" >}}
169167

170168
```java
171169
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java-samples
@@ -219,7 +217,7 @@ AnnotationApiLink result = apiInstance.annotate(request);
219217
System.out.println("AddDistanceAnnotation: Distance Annotation added: " + result.getTitle());
220218
```
221219

222-
{{< /tab >}} {{< tab tabNum="3" >}}
220+
{{< /tab >}} {{< tab "PHP" >}}
223221

224222
```php
225223
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-php-samples
@@ -269,7 +267,7 @@ $result = $apiInstance->annotate($request);
269267
echo "AddDistanceAnnotation: Distance Annotation added: " . $result->getHref();
270268
```
271269

272-
{{< /tab >}} {{< tab tabNum="4" >}}
270+
{{< /tab >}} {{< tab "Node.js" >}}
273271

274272
```javascript
275273
// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-node-samples
@@ -308,7 +306,7 @@ let result = await annotateApi.annotate(new annotation_cloud.AnnotateRequest(opt
308306
console.log("AddDistanceAnnotation: Distance Annotation added: " + result.href);
309307
```
310308

311-
{{< /tab >}} {{< tab tabNum="5" >}}
309+
{{< /tab >}} {{< tab "Python" >}}
312310

313311
```python
314312
# For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-python-samples
@@ -350,7 +348,7 @@ result = api.annotate(request)
350348
print("AddDistanceAnnotation: Distance Annotation added: " + result['href'])
351349
```
352350

353-
{{< /tab >}} {{< tab tabNum="6" >}}
351+
{{< /tab >}} {{< tab "Ruby" >}}
354352

355353
```ruby
356354
# For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby-samples

0 commit comments

Comments
 (0)