Skip to content

Commit 83537f0

Browse files
committed
[WIP] API docs contrib guide
1 parent e67b879 commit 83537f0

File tree

11 files changed

+1673
-0
lines changed

11 files changed

+1673
-0
lines changed

docs/_docset.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ toc:
3232
- file: index.md
3333
- file: locally.md
3434
- file: on-the-web.md
35+
- folder: api-docs-contribution
36+
children:
37+
- file: index.md
38+
- file: overview.md
39+
- file: checklist.md
40+
- file: guidelines.md
41+
- file: organize-annotate.md
42+
- file: workflows.md
43+
- file: quickstart.md
44+
- file: help.md
3545
- file: move.md
3646
- file: redirects.md
3747
- file: cumulative-docs.md
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
navigation_title: Checklist
3+
---
4+
5+
# API docs checklist
6+
7+
Use this checklist to verify the quality, completeness, and consistency of your API docs contributions.
8+
9+
## Content quality and completeness
10+
11+
12+
- ☑️ Write clear [summaries](./guidelines.md#write-summaries) (30 characters max, start with a verb)
13+
- ☑️ Write detailed [descriptions](./guidelines.md#write-descriptions) that explain purpose, context, and usage
14+
- ☑️ Document all [path parameters](./guidelines.md#document-path-parameters) with constraints and formats
15+
- ☑️ Provide descriptions for non-obvious [enum values](./guidelines.md#document-enum-values)
16+
- ☑️ Specify [default values](./organize-annotate.md#set-default-values) for optional parameters
17+
- ☑️ Include realistic [examples](./guidelines.md#add-examples) with helpful descriptions
18+
- ☑️ Add [links](./guidelines.md#add-links) to related operations and documentation
19+
20+
## Structure, organization, and metadata
21+
- ☑️ Include required [OpenAPI document info](./organize-annotate.md#add-open-api-document-info)
22+
- ☑️ Include [OpenAPI specification version](./organize-annotate.md#add-openapi-specification-version)
23+
- ☑️ Define unique [operation identifiers](./organize-annotate.md#add-operation-identifiers) using camelCase
24+
- ☑️ Use consistent [tags](./organize-annotate.md#group-apis-with-tags) to group related operations
25+
- ☑️ Document [API lifecycle status](./organize-annotate.md#specify-api-lifecycle-status) (availability, stability, version information)
26+
- ☑️ Mark deprecated APIs and properties with appropriate notices
27+
- ☑️ Document [required permissions](./organize-annotate.md#document-required-permissions) for each operation
28+
29+
## Quality assurance
30+
31+
- ☑️ Preview your changes locally before submitting
32+
- ☑️ [Lint your API docs](guidelines.md#lint-your-api-docs) to identify and fix issues
33+
- ☑️ Check all links to ensure they work correctly
34+
- ☑️ Ensure examples are realistic and error-free
35+
- ☑️ Validate that your OpenAPI document is well-formed

0 commit comments

Comments
 (0)