Generate - Fix broken documentation links
# What does this PR do?

Fixes #22077

`main_classes` is not on the same level as `generation_strategies`, hence the broken link.

EDIT: confirmed that it works in the CI docs.
_The documentation is not available anymore as the PR was closed or merged._<|||||>_The documentation is not available anymore as the PR was closed or merged._