Skip to content
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

ENT-11810: Fixed link target for custom promise type docs #3287

Merged
merged 1 commit into from
May 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion getting-started/developing-modules.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sorting: 50

Modules, such as the one we've used for git promises, are easy to write.
In this tutorial, we will focus on implementing a new promise type in Python, with the provided CFEngine library, since this is the easiest and recommended way.
If you are interested in how modules are implemented, or how you could do it in another programming language, see the [complete documentation](/reference-promise-types-custom.html).
If you are interested in how modules are implemented, or how you could do it in another programming language, see the [complete documentation][custom].

In short, you need to implement 2 functions: `validate_promise()` and `evaluate_promise()`.
_Validation_ should check that the correct attributes are used, and any other constraints you may want to enforce, to determine whether a promise is valid or invalid.
Expand Down
Loading