Skip to content

Commit

Permalink
Fix docs gen (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass authored Apr 2, 2024
1 parent 4710d9a commit 539e582
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions packages/docsite/src/pages/docs/api/nft-voter-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc

### ProgrammableConfig

| Variant | Fields |
| ------- | ------------------------ |
| V1 | ruleSet: [object Object] |
| Variant | Fields |
| ------- | ------------------------- |
| V1 | rule_set: [object Object] |

### UseMethod

Expand Down
26 changes: 13 additions & 13 deletions packages/docsite/src/pages/docs/api/proposal-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc

#### Accounts

| Name | Mutability | Signer | Docs |
| -------------- | ---------- | ------ | ------------------------------------------------------------------ |
| payer | mut | yes | |
| owner | immut | yes | Every proposal config must have an owner to prevent seed collision |
| proposalConfig | mut | no | |
| systemProgram | immut | no | |
| Name | Mutability | Signer | Docs |
| -------------- | ---------- | ------ | ---- |
| payer | mut | yes | |
| owner | immut | yes | |
| proposalConfig | mut | no | |
| systemProgram | immut | no | |

#### Args

Expand Down Expand Up @@ -159,10 +159,10 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc

### ProposalState

| Variant | Fields |
| --------- | ------------------------------------ |
| Draft | |
| Cancelled | |
| Voting | startTs: i64 |
| Resolved | choices: [object Object], endTs: i64 |
| Custom | name: string, bin: bytes |
| Variant | Fields |
| --------- | ------------------------------------- |
| Draft | |
| Cancelled | |
| Voting | start_ts: i64 |
| Resolved | choices: [object Object], end_ts: i64 |
| Custom | name: string, bin: bytes |
4 changes: 2 additions & 2 deletions packages/docsite/src/pages/docs/api/state-controller-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc
| Variant | Fields |
| ----------------- | ------------------------ |
| Resolved | choices: [object Object] |
| EndTimestamp | endTs: i64 |
| EndTimestamp | end_ts: i64 |
| OffsetFromStartTs | offset: i64 |
| ChoiceVoteWeight | weightThreshold: u128 |
| ChoiceVoteWeight | weight_threshold: u128 |
| ChoicePercentage | percentage: i32 |
| Top | n: u16 |
| NumResolved | n: u16 |
Expand Down

0 comments on commit 539e582

Please sign in to comment.