-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split contracts API doc into multiple files (#3657)
Having all the contracts documented in one common file turned out to be hard to render by the GitBook. We're switching to documenting each contract file in a separate Markdown file. As the generated files will be much smaller now and GitBook has its own file ON THIS PAGE section, we don't need to generate Table of Contents. The one thing that we also change as part of this PR is rsyncDelete setting - we'll have it set to true, in order to delete documentation of contracts which get removed from the repo. As we're not working directly on a main branch, this isn't dangerous (we'll see all the deletions in the PR diff).
- Loading branch information
Showing
4 changed files
with
8 additions
and
2 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 |
---|---|---|
|
@@ -46,6 +46,7 @@ jobs: | |
with: | ||
projectDir: /solidity/ecdsa | ||
publish: false | ||
addTOC: false | ||
commentPR: true | ||
exportAsGHArtifacts: true | ||
|
||
|
@@ -74,12 +75,14 @@ jobs: | |
with: | ||
projectDir: /solidity/ecdsa | ||
publish: true | ||
addTOC: false | ||
verifyCommits: true | ||
destinationRepo: threshold-network/threshold | ||
destinationFolder: ./docs/app-development/tbtc-v2/ecdsa-api | ||
destinationBaseBranch: main | ||
userEmail: [email protected] | ||
userName: Valkyrie | ||
rsyncDelete: true | ||
secrets: | ||
githubToken: ${{ secrets.THRESHOLD_DOCS_GITHUB_TOKEN }} | ||
gpgPrivateKey: ${{ secrets.THRESHOLD_DOCS_GPG_PRIVATE_KEY_BASE64 }} | ||
|
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 |
---|---|---|
|
@@ -46,6 +46,7 @@ jobs: | |
with: | ||
projectDir: /solidity/random-beacon | ||
publish: false | ||
addTOC: false | ||
commentPR: true | ||
exportAsGHArtifacts: true | ||
|
||
|
@@ -63,12 +64,14 @@ jobs: | |
with: | ||
projectDir: /solidity/random-beacon | ||
publish: true | ||
addTOC: false | ||
verifyCommits: true | ||
destinationRepo: threshold-network/threshold | ||
destinationFolder: ./docs/app-development/random-beacon/random-beacon-api | ||
destinationBaseBranch: main | ||
userEmail: [email protected] | ||
userName: Valkyrie | ||
rsyncDelete: true | ||
secrets: | ||
githubToken: ${{ secrets.THRESHOLD_DOCS_GITHUB_TOKEN }} | ||
gpgPrivateKey: ${{ secrets.THRESHOLD_DOCS_GPG_PRIVATE_KEY_BASE64 }} | ||
|
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