Prompt
Always include clear, contextual examples when documenting APIs, interfaces, or command-line functionality. Examples significantly improve understanding and reduce ambiguity, particularly for new or complex features. Maintain consistent terminology throughout documentation, avoiding unexplained jargon or abbreviations.
For changelog entries:
- * Added"force-unlock" support for the HTTP backend: ([#2381](https://github.com/opentofu/opentofu/pull/2381))
+ * "force-unlock" option is now supported by the HTTP backend. ([#2381](https://github.com/opentofu/opentofu/pull/2381))
- * Provider defined functions are now available. They may be referenced via `provider::alias::funcname(args)`.
+ * Provider defined functions are now available. They may be referenced via `provider::provider_alias::funcname(args)`. Example: `aws::default::vpc_id(region)`.
For API/protocol documentation:
- Provide examples for common use cases
- Show exact request/response formats
- Explain each parameter’s purpose and constraints
- Include links to related concepts for additional context
- Use consistent terminology when referring to similar concepts (e.g., clarify differences between “plugin” vs “provider”)