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

filter version number #145

Closed
andrewjtech123 opened this issue Nov 24, 2016 · 5 comments
Closed

filter version number #145

andrewjtech123 opened this issue Nov 24, 2016 · 5 comments

Comments

@andrewjtech123
Copy link

Can we filter version number from title? I tried to remove from spec but it is required field.

version number

@RomanHotsiy
Copy link
Member

I will wrap it in a special selector in the next version so you can remove this with css

@RomanHotsiy
Copy link
Member

Will release a new version in a couple hours in which you will be able to hide version number via css

@RomanHotsiy
Copy link
Member

@andrewjtech123 Latest version 1.5.2 has been released.

To filter version, just add the following rules to the site style.

redoc .api-info-version {
    display: none;
}

You can add this after this line

@ben-foster-cko
Copy link

How is this achieved in the latest version?

@katrpilar
Copy link

katrpilar commented Mar 9, 2021

Using <RedocStandalone> from Redoc version 2.0.0-rc.48 I added this to my main css file which hides it for me.

.api-content div h1 span { display: none !important; }

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

4 participants