-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added loads of documentation, better organization, openapi for …
…flyte-api
- Loading branch information
Showing
44 changed files
with
651 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,39 @@ | ||
# Flyte Documentation | ||
# Flyte Documentation Home | ||
|
||
<!--Writerside adds this topic when you create a new documentation project. | ||
You can use it as a sandbox to play with Writerside features, and remove it from the TOC when you don't need it anymore.--> | ||
|
||
## Add new topics | ||
You can create empty topics, or choose a template for different types of content that contains some boilerplate structure to help you get started: | ||
## Start By Clicking A Topic On The Left | ||
You will find all the topics in the left sidebar. These topics are organized in a tree structure. Click on a topic to see its subtopics. | ||
|
||
|
||
## Major Changes | ||
## October 2023 | ||
|
||
<table> | ||
<tr> | ||
<td>Topic</td> | ||
<td>Changes</td> | ||
</tr> | ||
<tr> | ||
<td>Documentation Release</td> | ||
<td>Documentation has been deployed publicly</td> | ||
</tr> | ||
<tr> | ||
<td><a href="Get-Flyte-Status.md">Flyte <code>/status</code> Endpoints Added</a></td> | ||
<td> | ||
<list> | ||
<li>added the <code>status</code> field</li> | ||
</list> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
## Write content | ||
%product% supports two types of markup: Markdown and XML. | ||
When you create a new help article, you can choose between two topic types, but this doesn't mean you have to stick to a single format. | ||
You can author content in Markdown and extend it with semantic attributes or inject entire XML elements. | ||
|
||
## Inject XML | ||
For example, this is how you inject a procedure: | ||
|
||
## Add interactive elements | ||
|
||
### Tabs | ||
To add switchable content, you can make use of tabs (inject them by starting to type `tab` on a new line): | ||
|
||
### Collapsible blocks | ||
Apart from injecting entire XML elements, you can use attributes to configure the behavior of certain elements. | ||
For example, you can collapse a chapter that contains non-essential information: | ||
|
||
#### Supplementary info {collapsible="true"} | ||
Content under such header will be collapsed by default, but you can modify the behavior by adding the following attribute: | ||
`default-state="expanded"` | ||
|
||
### Convert selection to XML | ||
If you need to extend an element with more functions, you can convert selected content from Markdown to semantic markup. | ||
For example, if you want to merge cells in a table, it's much easier to convert it to XML than do this in Markdown. | ||
Position the caret anywhere in the table and press <shortcut>Alt+Enter</shortcut>: | ||
|
||
## Feedback and support | ||
Please report any issues, usability improvements, or feature requests to our | ||
<a href="https://youtrack.jetbrains.com/newIssue?project=WRS">YouTrack project</a> | ||
(you will need to register). | ||
|
||
You are welcome to join our | ||
<a href="https://join.slack.com/t/writerside/shared_invite/zt-1hnvxnl0z-Nc6RWXTppRI2Oc566vumYw">public Slack workspace</a>. | ||
Before you do, please read our [Code of conduct](https://plugins.jetbrains.com/plugin/20158-writerside/docs/writerside-code-of-conduct.html). | ||
We assume that you’ve read and acknowledged it before joining. | ||
|
||
You can also always send an email to [[email protected]](mailto:[email protected]). | ||
|
||
<seealso> | ||
<category ref="wrs"> | ||
<a href="https://plugins.jetbrains.com/plugin/20158-writerside/docs/markup-reference.html">Markup reference</a> | ||
<a href="https://plugins.jetbrains.com/plugin/20158-writerside/docs/manage-table-of-contents.html">Reorder topics in the TOC</a> | ||
<a href="https://plugins.jetbrains.com/plugin/20158-writerside/docs/local-build.html">Build and publish</a> | ||
<a href="https://plugins.jetbrains.com/plugin/20158-writerside/docs/configure-search.html">Configure Search</a> | ||
<category ref="home"> | ||
<a href="https://flyte.gg">Flyte GitHub Page</a> | ||
<a href="https://github.com/flytegg/flyte-docs">Documentation GitHub Repository</a> | ||
<a href="mailto:[email protected]">Send An Email</a> | ||
</category> | ||
</seealso> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Flyte API | ||
|
||
<!-- This document describes how to start using your API: authorization, authentication, accessing API resources. --> | ||
In this section, you'll find a step-by-step guide to quickly start using the API. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Guilds Endpoint | ||
|
2 changes: 1 addition & 1 deletion
2
Writerside/topics/automation-scripts.md → ...e/topics/flyte/flyteapi/Users-Endpoint.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Automation Scripts | ||
# Users Endpoint | ||
|
||
Start typing here... |
4 changes: 4 additions & 0 deletions
4
Writerside/topics/flyte/flyteapi/endpoints/status/Get-Flyte-Status.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Get status of all Flyte services | ||
|
||
<api-endpoint openapi-path="./openapi.yaml" endpoint="/status" method="get"/> | ||
<api-endpoint openapi-path="./openapi.yaml" endpoint="/status" method="post"/> |
74 changes: 74 additions & 0 deletions
74
Writerside/topics/flyte/flyteapi/endpoints/status/openapi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
openapi: 3.0.1 | ||
info: | ||
title: Flyte API | ||
description: API description in Markdown. | ||
version: 0.0.1 | ||
servers: | ||
- url: 'https://api.flyte.gg/v1' | ||
paths: | ||
/status: | ||
get: | ||
summary: View status of all Flyte services. | ||
description: View status of all Flyte services in one endpoint. | ||
responses: | ||
'200': | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/StatusCheck' | ||
|
||
post: | ||
summary: Update status of a Flyte service. | ||
description: Update status of a Flyte service. | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/IndividualStatus' | ||
|
||
responses: | ||
'201': | ||
description: Created | ||
|
||
components: | ||
schemas: | ||
IndividualStatus: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
name: | ||
type: string | ||
healthy: | ||
type: boolean | ||
|
||
StatusCheck: | ||
type: object | ||
properties: | ||
healthy: | ||
type: boolean | ||
dependencies: | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
name: | ||
type: string | ||
healthy: | ||
type: boolean | ||
|
||
|
||
securitySchemes: | ||
bearerAuth: | ||
type: http | ||
scheme: bearer | ||
bearerFormat: JWT | ||
|
||
security: | ||
- bearerAuth: [] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Other-Projects | ||
|
||
This topic contains projects under Flyte which do not fit inside a larger category. | ||
These consist of GitHub Actions, Libraries for Spigot, API Wrappers, etc. | ||
|
||
All documentation is open source, please see: [Flyte Documentation Repo](https://github.com/flytegg/flyte-docs) |
Oops, something went wrong.