-
Notifications
You must be signed in to change notification settings - Fork 330
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
Search cannot be disable in navbar #9905
Comments
So the aim is to control the search box inclusion at the navbar or sidebar level and not at the top level This is the issue here, is this correct understanding ? |
Possibly, at least the documentation implies that it is possible. If you cannot disable at the
Source: https://quarto.org/docs/websites/website-navigation.html#side-navigation The main issue to me is that if you want to disable search, from the documentation, it is very likely, a user will try: website:
navbar:
search: false |
It seems there is indeed a difference in processing For sidebar quarto-cli/src/project/types/website/website-navigation.ts Lines 1015 to 1020 in 0a548a6
for navbar quarto-cli/src/project/types/website/website-navigation.ts Lines 1230 to 1235 in 0a548a6
So in the former, if I believe it has been lost here: 0b86f22#diff-2399e32434824d82d99e49170925185608bab491654180e0426afae839d61ef0L764 Previously, the And the exact same issue has been fixed for So probably we should do the same for navbar. |
It's not possible to disable the search button/bar when in its default location, namely
navbar
.The search will still appear on the right of the navbar.
As a comparison, the same for sidebar works as expected:
Originally posted by @mcanouil in #9836 (comment)
The text was updated successfully, but these errors were encountered: