Description of the bug
group_by_category within a class groups methods as "Functions" so when used with show_category_heading the headings become "Functions" instead of "Methods" as they should be.
To Reproduce
```
git clone https://github.com/easyscience/imaging-lib/tree/documentation
cd imaging-lib
pixi install
pixi docs-serve
```
Expected behavior
I expect the group headings to be called "Methods" instead of "Functions" when the group exists within a class.
Description of the bug
group_by_categorywithin a class groups methods as "Functions" so when used withshow_category_headingthe headings become "Functions" instead of "Methods" as they should be.To Reproduce
Expected behavior
I expect the group headings to be called "Methods" instead of "Functions" when the group exists within a class.