Skip to content

Commit ca18479

Browse files
Add Editor tutorials
1 parent 5150de7 commit ca18479

File tree

16 files changed

+2720
-1
lines changed

16 files changed

+2720
-1
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: tutorials.groupdocs.cloud(editor)(family)(Production)
4+
5+
# Controls when the action will run.
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ master ]
10+
paths:
11+
- 'content/editor/**'
12+
pull_request:
13+
branches: [ master ]
14+
paths:
15+
- 'content/editor/**'
16+
17+
# Allows you to run this workflow manually from the Actions tab
18+
workflow_dispatch:
19+
20+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
21+
jobs:
22+
# This workflow contains a single job called "build"
23+
build:
24+
# The type of runner that the job will run on
25+
runs-on: ubuntu-latest
26+
27+
# Steps represent a sequence of editor that will be executed as part of the job
28+
steps:
29+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
30+
- name: Checkout
31+
uses: actions/checkout@v2
32+
with:
33+
submodules: true # Fetch Hugo themes
34+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
35+
- name: Checkout theme repo
36+
uses: actions/checkout@main
37+
with:
38+
repository: groupdocs-cloud/tutorials-theme
39+
token: ${{ secrets.REPO_TOKEN }}
40+
fetch-depth: 0
41+
path: themes/tutorials-theme
42+
# Step 2 - Sets up the latest version of Hugo
43+
- name: Setup Hugo
44+
uses: peaceiris/actions-hugo@v2
45+
with:
46+
hugo-version: '0.135.0'
47+
extended: true
48+
- name: Install Dependicies1
49+
run: npm install -D --save autoprefixer
50+
- name: Install Dependicies2
51+
run: npm install -D --save postcss-cli
52+
# Also specifies the theme we want to use
53+
- name: Build
54+
run: hugo --configDir config/editor --environment production --minify
55+
56+
- name: Deploy tutorials.groupdocs.cloud(editor)(family)(Production) to S3
57+
run: hugo --configDir config/editor --environment production deploy --target "Production" --maxDeletes 0
58+
env:
59+
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
60+
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS }}
61+
# Invalidate Cloudfront
62+
- name: invalidate
63+
uses: chetan/invalidate-cloudfront-action@v2
64+
env:
65+
DISTRIBUTION: ${{ secrets.AWS_DISTRIBUTION_PROD }}
66+
PATHS: /editor/*
67+
AWS_REGION: 'us-west-2'
68+
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
69+
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS }}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: qa-tutorials.groupdocs.cloud(editor)(family)(Stage)
4+
5+
# Controls when the action will run.
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ staging ]
10+
paths:
11+
- 'content/editor/**'
12+
pull_request:
13+
branches: [ staging ]
14+
paths:
15+
- 'content/editor/**'
16+
17+
# Allows you to run this workflow manually from the Actions tab
18+
workflow_dispatch:
19+
20+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
21+
jobs:
22+
# This workflow contains a single job called "build"
23+
build:
24+
# The type of runner that the job will run on
25+
runs-on: ubuntu-latest
26+
27+
# Steps represent a sequence of editor that will be executed as part of the job
28+
steps:
29+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
30+
- name: Checkout
31+
uses: actions/checkout@v2
32+
with:
33+
submodules: true # Fetch Hugo themes
34+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
35+
- name: Checkout theme repo
36+
uses: actions/checkout@main
37+
with:
38+
repository: groupdocs-cloud/tutorials-theme
39+
token: ${{ secrets.REPO_TOKEN }}
40+
fetch-depth: 0
41+
path: themes/tutorials-theme
42+
# Step 2 - Sets up the latest version of Hugo
43+
- name: Setup Hugo
44+
uses: peaceiris/actions-hugo@v2
45+
with:
46+
hugo-version: '0.135.0'
47+
extended: true
48+
- name: Install Dependicies1
49+
run: npm install -D --save autoprefixer
50+
- name: Install Dependicies2
51+
run: npm install -D --save postcss-cli
52+
# Also specifies the theme we want to use
53+
- name: Build
54+
run: hugo --configDir config/editor --environment staging --minify
55+
56+
- name: Deploy qa-tutorials.groupdocs.cloud(editor)(family)(Stage) to S3
57+
run: hugo --configDir config/editor --environment staging deploy --target "Stage" --maxDeletes 0
58+
env:
59+
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
60+
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS }}
61+
# Invalidate Cloudfront
62+
- name: invalidate
63+
uses: chetan/invalidate-cloudfront-action@v2
64+
env:
65+
DISTRIBUTION: ${{ secrets.AWS_DISTRIBUTION }}
66+
PATHS: /editor/*
67+
AWS_REGION: 'us-west-2'
68+
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
69+
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS }}

config/editor/_default/config.toml

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
baseURL = "/editor"
2+
title = "GroupDocs Cloud Tutorials"
3+
staticdir = 'content/static'
4+
enableRobotsTXT = true
5+
enableGitInfo = true
6+
disableKinds = ["taxonomy", "taxonomyTerm", "page", "RSS"]
7+
8+
# Hugo allows theme composition (and inheritance). The precedence is from left to right.
9+
theme = ["tutorials-theme"]
10+
11+
[params.menu]
12+
zh = "groupdocscloud-zh"
13+
ru = "groupdocscloud-ru"
14+
ar = "groupdocscloud-ar"
15+
cs = "groupdocscloud-cs"
16+
de = "groupdocscloud-de"
17+
el = "groupdocscloud-el"
18+
es = "groupdocscloud-es"
19+
fr = "groupdocscloud-fr"
20+
hi = "groupdocscloud-hi"
21+
hu = "groupdocscloud-hu"
22+
id = "groupdocscloud-id"
23+
it = "groupdocscloud-it"
24+
ja = "groupdocscloud-ja"
25+
ko = "groupdocscloud-ko"
26+
nl = "groupdocscloud-nl"
27+
pl = "groupdocscloud-pl"
28+
pt = "groupdocscloud-pt"
29+
sv = "groupdocscloud-sv"
30+
th = "groupdocscloud-th"
31+
tr = "groupdocscloud-tr"
32+
vi = "groupdocscloud-vi"
33+
zh-hant = "groupdocscloud-zht"
34+
35+
defaultContentLang = 'en'
36+
[languages]
37+
[languages.en]
38+
contentDir = 'content/editor/english'
39+
languageName = 'English'
40+
languageCode = "en"
41+
flag = "flag-us"
42+
weight = 10
43+
44+
ignoreFiles = ["(?i:readme.md)", '\.spin$']
45+
46+
# Image processing configuration.
47+
[imaging]
48+
resampleFilter = "CatmullRom"
49+
quality = 75
50+
anchor = "smart"
51+
52+
[services]
53+
[services.googleAnalytics]
54+
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
55+
# id = "UA-00000000-0"
56+
57+
[markup]
58+
[markup.tableOfContents]
59+
endLevel = 2
60+
ordered = true
61+
startLevel = 2
62+
[markup.goldmark]
63+
[markup.goldmark.renderer]
64+
unsafe = true
65+
[markup.highlight]
66+
anchorLineNos = false
67+
codeFences = true
68+
guessSyntax = false
69+
hl_Lines = ""
70+
lineAnchors = ""
71+
lineNoStart = 1
72+
lineNos = false
73+
lineNumbersInTable = true
74+
noClasses = false
75+
tabWidth = 4
76+
77+
# Everything below this are Site Params
78+
79+
[params]
80+
copyright = "The GroupDocs Cloud Authors"
81+
privacy_policy = "https://policies.google.com/privacy"
82+
topbar_search_active = false
83+
logo_rel_link = ""
84+
85+
# Containerize Menu
86+
[params.containerize]
87+
menu = "groupdocscloud-en"
88+
89+
[params.meta]
90+
msapplication_TileColor = "#2b5797"
91+
msapplication_config = "https://cms.admin.containerize.com/templates/groupdocscloud/images/browserconfig.xml"
92+
theme_color = "#ffffff"
93+
author = "GroupDocs Cloud"
94+
95+
# Title of 404 page
96+
title_404_page = "404 - Page Not Found | GroupDocs Cloud Tutorials"
97+
98+
# Open Grapgh settings
99+
title = "GroupDocs Cloud Tutorials"
100+
images = ["images/aspose-cloud-image-for-open-graph.jpg"]
101+
description = "REST APIs along with open-source SDKs that allow developers to enhance applications with the capability to display, annotate, convert, e-sign, merge, classify, compare & translate documents in the Cloud"
102+
103+
104+
# Set to true to disable breadcrumb navigation.
105+
breadcrumb_disable = false
106+
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
107+
sidebar_search_disable = true
108+
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
109+
navbar_logo = false
110+
# Set to true to disable the About link in the site footer
111+
footer_about_disable = false
112+
113+
114+
[minify]
115+
disableCSS = false
116+
disableHTML = false
117+
disableJS = false
118+
disableJSON = false
119+
disableSVG = false
120+
disableXML = false
121+
minifyOutput = true
122+
[minify.tdewolff]
123+
[minify.tdewolff.css]
124+
decimals = -1
125+
keepCSS2 = true
126+
[minify.tdewolff.html]
127+
keepConditionalComments = true
128+
keepDefaultAttrVals = true
129+
keepDocumentTags = true
130+
keepEndTags = true
131+
keepQuotes = false
132+
keepWhitespace = false
133+
[minify.tdewolff.js]
134+
[minify.tdewolff.json]
135+
[minify.tdewolff.svg]
136+
decimals = -1
137+
[minify.tdewolff.xml]
138+
keepWhitespace = false
139+
140+
[Taxonomies]
141+
142+
[deployment]
143+
[[deployment.matchers]]
144+
# Set custom content type for /sitemap.xml
145+
#pattern = "^sitemap\\.xml$"
146+
#pattern = "^[a-z]\\.xml$"
147+
pattern = "^.+\\.(xml)$"
148+
contentType = "application/xml"
149+
gzip = true
150+
force = true
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
baseURL = "https://tutorials.groupdocs.cloud/editor"
2+
3+
# Google Tag Manager settings
4+
[params.gtm]
5+
gtm_id = "GTM-T42TVBC"
6+
7+
[[deployment.targets]]
8+
name = "Production"
9+
URL = "s3://tutorials.groupdocs.cloud/?prefix=editor/&region=us-west-2"

config/editor/staging/config.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
baseURL = "https://qa-tutorials.groupdocs.cloud/editor"
2+
3+
[[deployment.targets]]
4+
name = "Stage"
5+
URL = "s3://qa-tutorials.groupdocs.cloud/?prefix=editor /&region=us-west-2"
6+
7+
8+

content/editor/english/_index.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: GroupDocs.Editor Cloud Tutorials - Comprehensive Documentation
3+
url: /editor/
4+
weight: 2
5+
description: Complete tutorial for integrating and implementing GroupDocs.Editor Cloud API in your applications. Learn about authentication, document editing workflows, and advanced editing features.
6+
---
7+
8+
# GroupDocs.Editor Cloud Tutorials
9+
10+
Welcome to the comprehensive tutorial for GroupDocs.Editor Cloud. This guide provides detailed instructions and examples to help you integrate and implement document editing capabilities in your applications using our powerful cloud-based API.
11+
12+
## Getting Started
13+
14+
GroupDocs.Editor Cloud offers a robust, platform-independent document editing solution that enables you to edit documents in various formats without requiring additional software installations on the client side.
15+
16+
### [Document Editing and Update Operations Tutorials](/editor/document-edit-operations/)
17+
18+
Learn how to edit and update various document formats using GroupDocs.Editor Cloud API with these step-by-step tutorials.
19+
20+
### [Document Storage Handling Procedures Tutorials](/editor/storage-handling-procedures/)
21+
22+
Learn step-by-step how to manage document storage using GroupDocs.Editor Cloud API with these comprehensive developer tutorials.
23+
24+
## Basic Workflow
25+
26+
The typical workflow for editing documents with GroupDocs.Editor Cloud involves these steps:
27+
28+
1. Upload your document to the cloud storage
29+
2. Edit the document by loading it into the editor
30+
3. Save the edited document back to cloud storage
31+
32+
### Supported File Formats
33+
34+
GroupDocs.Editor Cloud supports a wide range of document formats including:
35+
36+
- Microsoft Word documents (DOC, DOCX)
37+
- Microsoft Excel spreadsheets (XLS, XLSX)
38+
- Microsoft PowerPoint presentations (PPT, PPTX)
39+
- PDF documents
40+
- Plain text and markup formats (TXT, HTML, XML)
41+
- And many more
42+
43+
## Advanced Features
44+
45+
GroupDocs.Editor Cloud offers advanced editing capabilities:
46+
47+
- Format-specific editing options: Configure editing options tailored to specific document formats
48+
- HTML-based editing: Edit documents in HTML format for seamless integration with WYSIWYG editors
49+
- Document protection: Add or maintain document protection during the editing process
50+
- Responsive design: Edit documents on any device with responsive UI components
51+
- Cross-platform compatibility: Work with documents across different operating systems and browsers
52+
53+
## SDK Integration
54+
55+
GroupDocs.Editor Cloud provides SDKs for various programming languages to simplify integration:
56+
57+
- .NET
58+
- Java
59+
- PHP
60+
- Python
61+
- Ruby
62+
- Node.js
63+
64+
## Best Practices
65+
66+
For optimal performance and user experience, consider these best practices:
67+
68+
- Implement proper error handling for API responses
69+
- Optimize document processing for large files
70+
- Cache frequently accessed documents
71+
- Implement user permissions for collaborative editing
72+
- Regularly update your SDK to the latest version
73+
74+
## Helpful Resources
75+
76+
- [Product Page](https://products.groupdocs.cloud/editor/)
77+
- [Documentation](https://docs.groupdocs.cloud/editor/)
78+
- [Live Demo](https://products.groupdocs.app/editor/family)
79+
- [API Reference](https://reference.groupdocs.cloud/editor/)
80+
- [Blog](https://blog.groupdocs.cloud/categories/groupdocs.editor-cloud-product-family/)
81+
- [Free Support](https://forum.groupdocs.cloud/c/editor/20/)
82+
- [Free Trial](https://dashboard.groupdocs.cloud/#/apps)

0 commit comments

Comments
 (0)