-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: set up guide #155
base: main
Are you sure you want to change the base?
docs: set up guide #155
Conversation
dcb49e7
to
5ef9a29
Compare
d5d0e60
to
cca2e7a
Compare
In a strongly-typed language, this requirement is being both implemented and tested by the compiler. | ||
|
||
```rust | ||
//= my-spec.md#section |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this have //= type=implication
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! good catch :)
guide/src/annotations.md
Outdated
Implementations MAY panic on invalid arguments. | ||
``` | ||
|
||
In our example here, we've chosen _not_ to panic, but instead return an error. Annotations with the `exception` type are expected to provide a reason as to why the requirement is not being implemented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Annotations with the
exception type are expected
I forget if "reason" is required for this, maybe make it clear one way or the other if its optional or required
cca2e7a
to
b698dc0
Compare
Description of changes:
This change sets up a guide to describe some of the concepts in duvet and how to configure the workflow. While it's not exhaustive, it's a lot better than what we have no, which is nothing.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.