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

Minify HTML & CSS #1351

Merged
merged 1 commit into from
May 29, 2022
Merged

Minify HTML & CSS #1351

merged 1 commit into from
May 29, 2022

Conversation

jonaharagon
Copy link
Member

Closes #1343

@jonaharagon jonaharagon temporarily deployed to preview May 28, 2022 19:00 Inactive
@github-actions
Copy link

github-actions bot commented May 28, 2022

🎊 PR Preview a52770e has been successfully built and deployed to https://privacyguides-privacyguides-org-preview-pr-1351.surge.sh

🕐 Build time: 100.126s

🤖 By surge-preview

jonaharagon added a commit that referenced this pull request May 28, 2022
@jonaharagon jonaharagon force-pushed the jonaharagon/minify branch from fdb6557 to d58d0cb Compare May 28, 2022 19:03
@jonaharagon jonaharagon temporarily deployed to preview May 28, 2022 19:03 Inactive
mkdocs.yml Outdated
remove_comments: true
minify_css: true
css_files:
- assets/stylesheets/extra.css
Copy link

Choose a reason for hiding this comment

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

Suggested change
- assets/stylesheets/extra.css
- assets/stylesheets/extra.css
- overrides/home.css

Copy link
Member Author

@jonaharagon jonaharagon May 28, 2022

Choose a reason for hiding this comment

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

Minifying this file breaks the homepage for some reason because of sprymix/csscompressor#9.

jonaharagon added a commit that referenced this pull request May 28, 2022
@jonaharagon jonaharagon force-pushed the jonaharagon/minify branch from d58d0cb to 47b1c0a Compare May 28, 2022 19:10
@jonaharagon jonaharagon temporarily deployed to preview May 28, 2022 19:10 Inactive
jonaharagon added a commit that referenced this pull request May 28, 2022
@jonaharagon jonaharagon force-pushed the jonaharagon/minify branch from 47b1c0a to 26acb80 Compare May 28, 2022 19:21
@jonaharagon jonaharagon temporarily deployed to preview May 28, 2022 19:21 Inactive
@ghost ghost added the t:bug website bugs or errors label May 28, 2022
dngray pushed a commit that referenced this pull request May 29, 2022
Signed-off-by: Daniel Gray <[email protected]>
@dngray dngray force-pushed the jonaharagon/minify branch from 26acb80 to a539bc8 Compare May 29, 2022 05:15
@dngray dngray temporarily deployed to preview May 29, 2022 05:15 Inactive
dngray
dngray previously requested changes May 29, 2022
Copy link
Member

@dngray dngray left a comment

Choose a reason for hiding this comment

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

I spotted a bug with the downloads button.

Before:

3764658777

After:

287626374

@jonaharagon
Copy link
Member Author

Oh, that is the same issue we had with minifying the homepage CSS. I don't think we'll be able to minify CSS in this PR then, only HTML. I'll push a change later.

jonaharagon added a commit that referenced this pull request May 29, 2022
Signed-off-by: Daniel Gray <[email protected]>
@jonaharagon jonaharagon force-pushed the jonaharagon/minify branch from a539bc8 to a6973b5 Compare May 29, 2022 17:48
@jonaharagon jonaharagon temporarily deployed to preview May 29, 2022 17:48 Inactive
Signed-off-by: Daniel Gray <[email protected]>
@dngray dngray force-pushed the jonaharagon/minify branch from a6973b5 to a52770e Compare May 29, 2022 17:53
@dngray dngray temporarily deployed to preview May 29, 2022 17:53 Inactive
@dngray dngray merged commit a52770e into main May 29, 2022
@dngray dngray deleted the jonaharagon/minify branch May 29, 2022 17:53
@jonaharagon jonaharagon temporarily deployed to production May 29, 2022 17:58 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:bug website bugs or errors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minify HTML & CSS
2 participants