Skip to content

Commit 657fc6a

Browse files
committed
Move Markdown files to the Documentation folder and subfolders github:14828
and make the documentation accessible in 4D
1 parent da564ee commit 657fc6a

File tree

10 files changed

+23
-16
lines changed

10 files changed

+23
-16
lines changed
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The `OAuth2Provider` class allows you to request authentication tokens to third-
88
2. You call the `OAuth2ProviderObject.getToken()` class function to retrieve a token from the web service provider.
99

1010
Here's a diagram of the authorization process:
11-
![authorization-flow](Assets/authorization.png)
11+
![authorization-flow](../Assets/authorization.png)
1212

1313
This class can be instantiated in two ways:
1414
* by calling the `New OAuth2 provider` method
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## Description
1+
# New OAuth2 provider
22

3-
Click [here](https://github.com/4d/4D-NetKit#oauth2provider) to access the documentation for this method.
3+
See [OAuth2Provider](../Classes/OAuth2Provider.md#new-oauth2-provider) class documentation.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## Description
1+
# New Office365 provider
22

3-
Click [here](https://github.com/4d/4D-NetKit#office365) to access the documentation for this method.
3+
See [Office365](../Classes/Office365.md#new-office365-provider) class documentation.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Tutorials
22

3-
43
4D NetKit is a built-in 4D component that allows you to interact with third-party web services and their APIs, such as [Microsoft Graph](https://docs.microsoft.com/en-us/graph/overview).
54

65
## Table of contents
@@ -56,7 +55,7 @@ $mailList:=$office365.mail.getMails()
5655

5756
## (Archived) Authenticate to the Microsoft Graph API in signedIn mode and send an email with SMTP
5857

59-
> This tutorial has been archived. We recommend using the [Office365.mail.send()](./Office365.md#office365mailsend) method to send emails.
58+
> This tutorial has been archived. We recommend using the [Office365.mail.send()](Classes/Office365.md#office365mailsend) method to send emails.
6059
6160
#### Objectives
6261

Documentation/meta.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"filters": [
3+
{
4+
"from": "Documentation/(.*?)\\.md",
5+
"to": "https://developer.4d.com/4D-NetKit/Documentation/$1.html"
6+
},
7+
{
8+
"from": "LICENSE.md",
9+
"to": "https://github.com/4d/4D-NetKit/blob/main/LICENSE.md"
10+
}
11+
]
12+
}

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22
Version: 20 R9
33
</div>
44
5-
# Documentation
6-
7-
5+
# 4D NetKit
86

97
4D NetKit is a built-in 4D component that allows you to interact with third-party web services and their APIs, such as [Microsoft Graph](https://docs.microsoft.com/en-us/graph/overview).
108

119
## Table of contents
1210

13-
* [OAuth2Provider class](./docs/OAuth2Provider.md)
14-
* [Office365 class](./docs/Office365.md)
15-
* [Google class](./docs/Google.md)
16-
* [Tutorial : Authenticate to the Microsoft Graph API in service mode](./docs/Tutorial.md)
11+
* [OAuth2Provider class](Documentation/Classes/OAuth2Provider.md)
12+
* [Office365 class](Documentation/Classes/Office365.md)
13+
* [Google class](Documentation/Classes/Google.md)
14+
* [Tutorial : Authenticate to the Microsoft Graph API in service mode](Documentation/Tutorial.md)
1715

1816
## Copyrights
1917

make.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"postBuild": {
33
"remove": [
44
"LICENSE.md",
5-
"README.md",
65
"CONTRIBUTING.md",
7-
"docs",
86
"make.json"
97
]
108
}

0 commit comments

Comments
 (0)