Always include appropriate version annotations when documenting new features or changes in behavior. Use `.. versionadded::` for new features and `.. versionchanged::` for modifications to existing functionality. Place these annotations immediately after the feature's first mention in the documentation.
Always include appropriate version annotations when documenting new features or changes in behavior. Use .. versionadded::
for new features and .. versionchanged::
for modifications to existing functionality. Place these annotations immediately after the feature’s first mention in the documentation.
Example:
.. class:: NewFeature
A new feature added to Django.
.. versionadded:: 6.0
.. class:: ExistingFeature
An existing feature with modified behavior.
.. versionchanged:: 6.0
Added support for new parameter and changed default behavior.
Key guidelines:
This helps users understand when features were introduced or modified, making documentation more maintainable and useful for different Django versions.
Enter the URL of a public GitHub repository