-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement typedoc in vitepress (#1115)
* feat: implement typedoc in docs * feat: add typedoc to address and interfaces * feat: generate typedoc docs * feat: implment typedoc in vitepress * feat: add api docs readme * chore: linting * chore: changeset * chore: update docs git ignore to exclude built docs * chore: remove api docs files * chore: update typedoc config * docs: update interface typedoc * feat: include typedoc in vitepress dev script * feat: reslove tsdoc linting warnings --------- Co-authored-by: danielbate <--global>
- Loading branch information
1 parent
def4c96
commit 999c641
Showing
16 changed files
with
373 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
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,2 +1,4 @@ | ||
.vitepress/cache | ||
.vitepress/.temp | ||
|
||
src/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,10 @@ | ||
<script setup> | ||
import { data } from '../versions.data' | ||
const { forc, fuels, fuelCore } = data | ||
</script> | ||
|
||
# The Fuel TypeScript SDK API Documentation | ||
|
||
<br/> | ||
|
||
#### Version Notice: Docs generated using Fuels `v{{fuels}}`, Fuel Core `v{{fuelCore}}`, Sway `v{{forc}}`, and Forc `v{{forc}}`. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
// ************** // | ||
// TypeDoc Config | ||
// ************** // | ||
"$schema": "https://typedoc.org/schema.json", | ||
"includeVersion": true, | ||
"entryPointStrategy": "packages", | ||
"entryPoints": ["../../packages/address", "../../packages/interfaces"], | ||
"out": "src/api", | ||
"githubPages": false, | ||
"readme": ".typedoc/api-readme.md", | ||
"categorizeByGroup": true, | ||
"cacheBust": true, | ||
"hideGenerator": true, | ||
"plugin": ["typedoc-plugin-markdown", "typedoc-plugin-merge-modules"], | ||
"filenameSeparator": "-", | ||
// ********************** // | ||
// Markdown Config | ||
// ********************** // | ||
"hideBreadcrumbs": true, | ||
"hideInPageTOC": true, | ||
"entryDocument": "index.md", | ||
// ******************** // | ||
// Merge Modules Config | ||
// ******************** // | ||
"mergeModulesMergeMode": "module" | ||
} |
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
Oops, something went wrong.