Skip to content

Commit

Permalink
docs: copy README to docs index.md and remove QUICKSTART file (not us…
Browse files Browse the repository at this point in the history
…ed anywhere)
  • Loading branch information
whitneypurdum committed May 20, 2022
1 parent 10b7e88 commit 3ac8fbf
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 97 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ Using `iam-client-lib`, Switchboard allows users to:
- Define hierarchical, role-based structures for [organizations](./docs/guides/organization.md), [applications](./docs/guides/application.md) and [assets](./docs/guides/asset.md) that participate in grid activities
- Request and issue Verifiable Credentials that are required to take on roles within an organization or application that is registered on Switchboard

## Documentation
For documentation on `iam-client-lib` modules and API:
- [ReadTheDocs](https://energy-web-foundation-iam-client-lib.readthedocs-hosted.com/)

## Development
The following is for installing and building `iam-client-lib` directly.
For guidance on how to integrate the library into an application, see [**Getting Started**](#getting-started) below.
Expand Down Expand Up @@ -135,10 +139,6 @@ const {
const { didRegistry, claimsService } = await connectToDidRegistry();
```

## Documentation
For further documentation on `iam-client-lib` modules and API:
- [ReadTheDocs](https://energy-web-foundation-iam-client-lib.readthedocs-hosted.com/)

## Contributing Guidelines
Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.

Expand Down
86 changes: 0 additions & 86 deletions docs/Quick_start.md

This file was deleted.

8 changes: 4 additions & 4 deletions docs/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Using `iam-client-lib`, Switchboard allows users to:
- Define hierarchical, role-based structures for [organizations](./docs/guides/organization.md), [applications](./docs/guides/application.md) and [assets](./docs/guides/asset.md) that participate in grid activities
- Request and issue Verifiable Credentials that are required to take on roles within an organization or application that is registered on Switchboard

## Documentation
For documentation on `iam-client-lib` modules and API:
- [ReadTheDocs](https://energy-web-foundation-iam-client-lib.readthedocs-hosted.com/)

## Development
The following is for installing and building `iam-client-lib` directly.
For guidance on how to integrate the library into an application, see [**Getting Started**](#getting-started) below.
Expand Down Expand Up @@ -134,10 +138,6 @@ const {
const { didRegistry, claimsService } = await connectToDidRegistry();
```

## Documentation
For further documentation on `iam-client-lib` modules and API:
- [ReadTheDocs](https://energy-web-foundation-iam-client-lib.readthedocs-hosted.com/)

## Contributing Guidelines
Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ verifiableCredentialsService.createRoleVC(...);

### continueExchange

**continueExchange**(`__namedParameters`): `Promise`<`undefined` \| `VpRequest` \| `VerifiablePresentation`\>
**continueExchange**(`__namedParameters`): `Promise`<`undefined` \| `VerifiablePresentation` \| `VpRequest`\>

**`description`** Sends credentials requested by issuer and returns either issued credentials or next credentials request

Expand All @@ -54,7 +54,7 @@ verifiableCredentialsService.createRoleVC(...);

#### Returns

`Promise`<`undefined` \| `VpRequest` \| `VerifiablePresentation`\>
`Promise`<`undefined` \| `VerifiablePresentation` \| `VpRequest`\>

issued credentials or request of additional credentials

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && rm -rf docs/api && typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs true && git add -A docs/api/"
"pre-commit": "lint-staged && rm -rf docs/api && cp README.md docs/index.md && typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs true && git add -A docs/api/"
}
},
"lint-staged": {
Expand Down

0 comments on commit 3ac8fbf

Please sign in to comment.