Technical documentation should always include concrete, working examples that demonstrate the described concepts in action. Examples clarify abstract ideas, illustrate correct usage patterns, and provide templates users can adapt to their needs.
Technical documentation should always include concrete, working examples that demonstrate the described concepts in action. Examples clarify abstract ideas, illustrate correct usage patterns, and provide templates users can adapt to their needs.
When writing documentation:
For example, when documenting a prompt template feature:
# Example prompt template configuration
promptTemplates:
autocomplete:
template: |
Complete the following code in :
File: }
}
# Continue the code here, completing the current statement or function
Examples make documentation more effective by transforming abstract concepts into concrete implementations that users can understand and adapt to their specific needs.
Enter the URL of a public GitHub repository