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

[end of jan merge] feat(blog): 2024 recap blog #545

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 32 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ about contributing to our website, our **Python Packaging Guide** and our
Have you decided to contribute? We use the [Jekyll framework](https://jekyllrb.org)
for creating this site. To set up a **development environment** and **run the site locally**, follow these steps:

1. Install ruby and bundler on your machine. See [the Jekyll docs](https://jekyllrb.com/docs/installation/) for instructions, if needed.
1. Install ruby and bundler on your machine. See [the Jekyll docs](https://jekyllrb.com/docs/installation/) for instructions.
2. Fork and clone this repository.
3. Run `bundle install` in the root of the cloned repository directory. This will
install the gems needed to run the site locally.
4. Run `bundle exec jekyll serve` to start the jekyll web server.
NOTE: if you want the page to automagically reload use: `bundle exec jekyll serve --livereload`. this requires Jekyll 3.7 or higher.
NOTE: if you want the page to automatically reload, use: `bundle exec jekyll serve --live reload.` This requires Jekyll 3.7 or higher.
5. Open your browser and navigate to `http://127.0.0.1:4000/`.

Please test your changes locally prior to submitting a pull request (PR).
Expand All @@ -43,6 +43,36 @@ If you are publishing a blog post with a date that is in the future, you can bui

`bundle exec jekyll serve --future`.

### Images and webp

We try to keep the image size of our graphics as small/compressed as possible. To enable webp on your system, you first need to install it:

For MAC:
`brew install webp`

Linux:
`sudo apt-get install imagemagick`

You can convert a directory of PNG images associated with a
blog post that you write using:

`for file in *.png; do cwebp "$file" -o "${file%.*}.webp"; done`

or a single image

`cwebp input-image.png -o output-image.webp`

Below is an example of adding a figure to a post that has both webp and .png formats to support older and newer browsers.

```html
<figure>
<picture>
<source srcset="/images/image-name.webp" type="image/webp">
<img src="/images/image-name.png" alt="Alt text here" />
</picture>
</figure>
```

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Expand Down
234 changes: 234 additions & 0 deletions _posts/2025-01-06-pyopensci-2024-a-year-in-review.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions _sass/minimal-mistakes/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,10 @@ body {
}
}

.page__content figure {
max-width: 40rem;
}

.page__related {
@include breakpoint($large) {
padding-right: 0;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added images/events/fall-festival-thank-you.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/events/fall-festival-thank-you.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added images/peer-review/pyos-eic-rotation-2024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/peer-review/pyos-eic-rotation-2024.webp
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading