-
Notifications
You must be signed in to change notification settings - Fork 398
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
@docsearch/css: Provide Sass files too #2006
Comments
Is there any chance someone looks at this? It would greatly help us. I understand you are using postcss, but there's no other way to include the CSS with Hugo unless it's a .scss file. |
@XhmikosR let me know if the addition in this PR would be sufficient! #2201 Though unless I'm mistaken, its possible to import a plain |
@levimichael thank you, yes! I just tested it locally by copying the style.css to style.scss.
Unfortunately, that works only with Dart Sass. By default, Hugo bundles the (deprecated) libsass. But libsass requires no extra installation steps and is included with the hugo extended version. So, this issue is the only one blocking us in twbs/bootstrap#38993 and this way we don't need to switch to Dart Sass for our docs yet. |
Ah okay, got it! I'm having a little trouble getting the release going (my first time triggering it on our side). It might be next week by the time I can get it sorted, FYI. |
@XhmikosR we just realeased Feel free to check out the rest of the release in the notes: https://github.com/algolia/docsearch/releases/tag/v3.6.0 |
Describe the problem
We are building our docs with Hugo, which by default is using libsass. I'm having trouble including styles.css in our docs Sass from node_modules, probably because of a libsass issue.
Describe the solution
Include the source files too with a
scss
extension.It would greatly help us build and include docsearch CSS instead of using a CDN or instead of trying to switch to Dart Sass in Hugo.
Thanks in advance!
The text was updated successfully, but these errors were encountered: