neuroinformatics-unit / movement

Python tools for analysing body movements across space and time
http://movement.neuroinformatics.dev
BSD 3-Clause "New" or "Revised" License
77 stars 7 forks source link

Re-organise API reference #213

Open niksirbi opened 2 weeks ago

niksirbi commented 2 weeks ago

Description

What is this PR

Why is this PR needed? Our API reference started getting a bit out of hand, as we add more and more functions and it's getting harder to find the functions you need at a glance. Moreover, when implementing a new function/class, one has to remember to always add it to the api_index.rst, which is easily forgotten. In some occasions this has resulted in new features being added without them appearing in the API index.

What does this PR do?

It overhauls the auto-documentation of API in some major ways:

Screenshot from 2024-06-12 11-19-11

Screenshot from 2024-06-12 11-20-04

References

178

How has this PR been tested?

The docs were rendered and viewed locally. This is also the recommended way to review the PR.

Is this a breaking change?

No.

Does this PR require an update to the documentation?

It is in itself an update of documentation.

Checklist:

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.70%. Comparing base (2e406e1) to head (32d6c75).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #213 +/- ## ======================================= Coverage 99.70% 99.70% ======================================= Files 12 12 Lines 678 678 ======================================= Hits 676 676 Misses 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 3 days ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud