Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to prevent multiple h1 tags for basic openapi definition #2513

Closed
maxkrumpe opened this issue Apr 17, 2024 · 0 comments
Closed

Option to prevent multiple h1 tags for basic openapi definition #2513

maxkrumpe opened this issue Apr 17, 2024 · 0 comments

Comments

@maxkrumpe
Copy link
Contributor

Problem:
We use the ReactStandalone component in our next.js application and found the issue for multiple h1 tags in the rendered page.
For seo reasons it is bad to have multiple h1 tags in one page.

Solution
We would like to have a configuration option to only apply one h1 html tag as the title of the openapi definition but not for the underlying openapi tags.
The underlying openapi tags should have the h2 html tags.

We also tried to use the redocly cli instead and added a custom plugin with decorators but this did not work because we can only interact with the content but not the build html itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant