Split contracts API doc into multiple files #149
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 isrsyncDelete
setting - we'll have it set totrue
, in order to delete documentation of contracts which get removed from the repo. As we're not working directly on amain
branch, this isn't dangerous (we'll see all the deletions in the PR diff).As part of this PR we also unify the naming convention for the YAML files - we want to use
.yml
everywhere. With.yaml
used in contracts-docs workflow, the filter job was misconfigured.Refs:
keep-network/keep-core#3657
keep-network/tbtc-v2#640
threshold-network/threshold#36