-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation updates: Services, Profiles (#27)
* Add sdk concepts and individual services * Insert record PH * Additional search documentation * Separate docs in folders * Profiles section * Profile data format * Add configuration docs for CLI and SDK * Add plugins * Separate concepts * Create wallet docs * Add faq. Reorganize top level links * Provider Service - Onboarding * Change typescript * Installation docs * Available languages * issue credential + insert item * Remove PR trigger * Typo * Cleanup README * Create proof doc * Verify proof + data exchange * SDK clarify * Add PR review comment Co-authored-by: Tomislav Markovski <tomislav@trinsic.id>
- Loading branch information
1 parent
20611b9
commit fb9517e
Showing
17 changed files
with
650 additions
and
209 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,19 @@ | ||
name: PR Review Bot | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: mshick/add-pr-comment@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
message: | | ||
This PR can be [reviewed in Gitpod](https://gitpod.io/#${{ github.event.pull_request.html_url }}) | ||
allow-repeats: false |
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 |
---|---|---|
|
@@ -342,4 +342,5 @@ Cargo.lock | |
**/*.rs.bk | ||
.DS_Store | ||
|
||
.ionide | ||
.ionide | ||
docs-site/ |
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,65 +1,17 @@ | ||
|
||
|
||
# Trinsic SDK | ||
|
||
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/trinsic-id/sdk) | ||
[![NET](https://github.com/trinsic-id/sdk/actions/workflows/dotnet.yml/badge.svg)](https://github.com/trinsic-id/sdk/actions/workflows/dotnet.yml) | ||
[![Rust](https://github.com/trinsic-id/sdk/actions/workflows/rust.yml/badge.svg)](https://github.com/trinsic-id/sdk/actions/workflows/rust.yml) | ||
[![Node](https://github.com/trinsic-id/sdk/actions/workflows/node.yml/badge.svg)](https://github.com/trinsic-id/sdk/actions/workflows/node.yml) | ||
|
||
**Only available for beta customers at this time** | ||
|
||
- .NET | ||
- TS/WASM | ||
- Rust CLI | ||
|
||
dotnet/ | ||
|
||
nodejs/ | ||
|
||
cli/ | ||
|
||
# High Level Features | ||
|
||
- Connect to Trinsic Platform v2 Service | ||
- Generate Proto for each platform | ||
- Write wrappers for each calls | ||
- Use DIDComm v2 features for key/transport management | ||
- Sign, Pack/Unpack | ||
- Generate ED keys | ||
|
||
# CLI | ||
|
||
The cli is built with a rust gRPC library named [tonic](https://github.com/hyperium/tonic) | ||
|
||
# npm | ||
protoc --proto_path=../proto --js_out=library=trinsic,binary:./ ../proto/IssuerService.proto | ||
## gitpod | ||
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/trinsic-id/sdk) | ||
- TypeScript | ||
- Command Line | ||
|
||
## Working with submodules | ||
Immediately after cloning, do `git submodule update --init --recursive` | ||
|
||
## Documentation | ||
We're using [mkdocs](https://www.mkdocs.org/) with [`mkdocs-material`](https://squidfunk.github.io/mkdocs-material/). | ||
*Dependancies*: | ||
- the gitpod environment is already set up with everything need to generate the documentation site. | ||
- Install mkdocs using a package manager: https://www.mkdocs.org/#installation | ||
- Install mkdocs-material with`pip`: https://squidfunk.github.io/mkdocs-material/getting-started/#installation | ||
|
||
**Running Locally**: | ||
- Just `mkdocs serve` in this repo's root is all you need. | ||
|
||
**Editing**: | ||
The docs are easy to edit. Find the `nav` tag in [./mkdocs.yml](.mkdocs.yml) file to change the side bar. | ||
|
||
Write markdown in the `docs` folder. You can use normal markdown, html, or any of our theme's features - [Reference](https://squidfunk.github.io/mkdocs-material-insiders/reference/abbreviations/) | ||
|
||
**Build and deploy** | ||
When finished editing, just make a PR. | ||
They'll be built and deployed automatically using the [`docs.yml`](./.github/workflows/docs.yml) | ||
Docs can be viewed here: https://trinsic-id.github.io/sdk | ||
Immediately after cloning, do `git submodule update --init --recursive` to initialize and update all dependent submodules. | ||
|
||
** Using Insiders Features on Local env (For Trinsineers) ** | ||
- ping @michaeldboyd for shared secret | ||
- run `pip install git+https://<SHARED_SECRET}>@github.com/squidfunk/mkdocs-material-insiders.git` | ||
- use any features included in the [reference guide](https://squidfunk.github.io/mkdocs-material/reference/abbreviations/) with tag `insiders only` |
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,31 @@ | ||
# Documentation | ||
|
||
We're using [mkdocs](https://www.mkdocs.org/) with [`mkdocs-material`](https://squidfunk.github.io/mkdocs-material/). | ||
|
||
### Dependencies | ||
|
||
- the gitpod environment is already set up with everything need to generate the documentation site. | ||
- Install mkdocs using a package manager: https://www.mkdocs.org/#installation | ||
- Install mkdocs-material with `pip`: https://squidfunk.github.io/mkdocs-material/getting-started/#installation | ||
|
||
### Running locally | ||
|
||
Type `mkdocs serve` in this repo's root. The command will start a server at http://127.0.0.0:5000/ with automatic refresh. | ||
|
||
### Editing | ||
|
||
The docs are easy to edit. Find the `nav` tag in [./mkdocs.yml](.mkdocs.yml) file to change the side bar. | ||
|
||
Write markdown in the `docs` folder. You can use normal markdown, html, or any of our theme's features - [Reference](https://squidfunk.github.io/mkdocs-material-insiders/reference/abbreviations/) | ||
|
||
### Build and deploy | ||
|
||
When finished editing, just make a PR. | ||
They'll be built and deployed automatically using the [`docs.yml`](./.github/workflows/docs.yml) | ||
Docs can be viewed here: https://trinsic-id.github.io/sdk | ||
|
||
### Using Insiders Features on Local env (For Trinsineers) | ||
|
||
- ping @michaeldboyd for shared secret | ||
- run `pip install git+https://<SHARED_SECRET>@github.com/squidfunk/mkdocs-material-insiders.git` | ||
- use any features included in the [reference guide](https://squidfunk.github.io/mkdocs-material/reference/abbreviations/) with tag `insiders only` |
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.
Oops, something went wrong.