Move \author tags to \file \brief (backport #870) #876
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Generated-by: Portions of this commit may include code completion from github.copilot version 1.372.0 or later
Description
This is a somewhat subtle (and optional) PR. You won't break my heart if you decide it is not worth the effort.
There are two related issues here.
appearing right after the license boilerplate. The problem is that these are interpreted as being applied to the namespace, whose definition starts soon afterwards. The original intention, I am reasonably sure, is to apply to the file, not the namespace.
The result is that, currently, this generates a section in the Namespace that looks like this:
Namespace tf2
...
Detailed Description
Tully Foote
After this PR, the author entry no longer appears in the Namespace section. Instead, it appears under the File section, like this:
File buffer_core.hpp
...
Author: Tully Foote.
The downside (other than the effort to do this PR at all) is that in the Doxygen output, the author tag does not appear even though it could. But we do not display the Doxygen result by default.
Is this user-facing behavior change?
No, it only affects documentation.
Did you use Generative AI?
See the header.
This is an automatic backport of pull request #870 done by [Mergify](https://mergify.com).