-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use TypeDoc to generate HTML documentation and upload to sdk.ably.com
This is largely copied from the way we do things in ably-js (as of its commit 76a5475). I’ve made a couple of tweaks to the config, though: - Added all types (except Project, which I have no idea how to document, and TypeLiteral, which would require us to split out every type literal into its own type, which we don’t want) to requiredToBeDocumented. I took the list from [1]. - Excluded internal and private stuff from documentation (see ccafd10). [1] https://github.com/TypeStrong/typedoc/blob/f2d2abe054feca91b89c00c33e1d726bbda85dcb/src/lib/models/reflections/kind.ts#L7
- Loading branch information
1 parent
55d80d4
commit 9d726d8
Showing
6 changed files
with
239 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ node_modules/ | |
.vscode | ||
coverage | ||
.env | ||
docs/typedoc/generated/ | ||
|
||
# Local Netlify folder | ||
.netlify | ||
|
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,5 @@ | ||
# Ably Spaces SDK | ||
|
||
This is the API reference for Ably’s Spaces SDK, generated with [TypeDoc](https://typedoc.org/). | ||
|
||
To find out more about Spaces and how to get started, visit the [Ably documentation website](https://ably.com/docs/spaces). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,34 @@ | ||
{ | ||
"$schema": "https://typedoc.org/schema.json", | ||
"entryPoints": ["dist/mjs/index.d.ts"], | ||
"excludeInternal": true, | ||
"excludePrivate": true, | ||
"includeVersion": true, | ||
"out": "docs/typedoc/generated", | ||
"readme": "docs/typedoc/intro.md", | ||
"requiredToBeDocumented": [ | ||
"Accessor", | ||
"CallSignature", | ||
"Class", | ||
"Constructor", | ||
"ConstructorSignature", | ||
"Enum", | ||
"EnumMember", | ||
"Function", | ||
"GetSignature", | ||
"IndexSignature", | ||
"Interface", | ||
"Method", | ||
"Module", | ||
"Namespace", | ||
"Parameter", | ||
"Property", | ||
"Reference", | ||
"SetSignature", | ||
"TypeAlias", | ||
"TypeParameter", | ||
"Variable", | ||
], | ||
"treatWarningsAsErrors": true, | ||
"validation": true | ||
} |