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

chore: remove sass from website #11229

Merged
merged 3 commits into from
Apr 21, 2021
Merged

chore: remove sass from website #11229

merged 3 commits into from
Apr 21, 2021

Conversation

SimenB
Copy link
Member

@SimenB SimenB commented Mar 23, 2021

Summary

It causes build failures on Windows due to the native dependency (sometimes, usually 1 out of the 5 Windows builds we have per commit).

image

/cc @slorber

Test plan

Website should be identical

path.resolve('src/css/docusaurusTheme.css'),
path.resolve('src/css/algoliaDocSearchTheme.css'),
path.resolve('static/css/custom.css'),
path.resolve('static/css/jest.css'),
path.resolve('src/components/v1/legacyCSS.css'),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renamed from scss to css and moved the legacy one to the bottom as it overrides some of the others (and for some reason, webpack produces a different order in the css now)

}
}
/* Temporary fix for not ideal Docusaurus 2 layout */
/* May be removed when we close https://github.com/facebook/docusaurus/issues/4083 */
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@slorber this is closed - any idea if we can remove the overrides here now?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It depends on whether the default Docusaurrus blog layout satisfy you or not: https://docusaurus.io/blog/2021/01/19/docusaurus-2020-recap

We improved but you may still want to keep custom CSS. Worth removing this and see if it looks good to you.

@SimenB
Copy link
Member Author

SimenB commented Mar 24, 2021

currently stuck on different css in dev mode and after building. Might just combine into a single css file since the bundling is inconsistent

@SimenB
Copy link
Member Author

SimenB commented Apr 21, 2021

This blocks adding v16 to CI, so merging even though some styling has changed

@SimenB SimenB merged commit 22845c7 into jestjs:master Apr 21, 2021
@SimenB SimenB deleted the remove-sass branch April 21, 2021 08:10
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants