Auto-generated GraphQL docs indent sections beyond h6
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=352504) </details> <!--IssueSummary end--> When GraphQL reference is generated ([script](https://gitlab.com/gitlab-org/gitlab/blob/master/lib/tasks/gitlab/graphql.rake) | [template](https://gitlab.com/gitlab-org/gitlab/blob/master/tooling/graphql/docs/templates/default.md.haml)), some sections are nested too deep, beyond six levels - there's no heading 7. For example: | Raw Markdown | In GitLab Markdown preview | In rendered documentation | | ------ | ------ |--| | `####### Arguments` | `####### Arguments` | `# Arguments` (as heading 6) | - Generated docs page: https://docs.gitlab.com/api/graphql/reference/ - Source: https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/graphql/reference/_index.md?plain=1 --- The following discussion from !79327 should be addressed: - [ ] @msedlakjakubowski started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/79327#note_838715466): (+1 comment) > Hmmm, I need to check how this renders on the doc :thinking: There's no heading 7: > > ```md > # h1 > > ## h2 > > ### h3 > > #### h4 > > ##### h5 > > ###### h6 > > ####### h7? > ``` > > ![image](/uploads/9ecd39a10a2e1125062fbbfb44e55463/image.png)
issue