Skip to content

pyOpenSci/pyopensci.github.io

Repository files navigation

pyopensci.github.io

All Contributors

pages-build-deploymentDOI

This repo contains the source code for the pyOpenSci.org website. Contributions are welcome. Thank you pyOpenSci contributors!!

Getting Started

Please explore the site and let us know what your think. If you find a bug or have a suggestion for a new feature, open an issue.

Next Steps

If you are interested in contributing to pyOpenSci, please read about how we work in pyOpenSci's organization-wide contributing guide. This repo's CONTRIBUTING.md file provides more information about contributing to our website, our Python Packaging Guide and our Peer Review Guide.

Installation and Development

Have you decided to contribute? We use the Jekyll framework 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 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 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).

Want to build with new blog posts to be published in the future?

If you are publishing a blog post with a date that is in the future, you can build the site locally using the --future option to view it as follows:

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 the following bash command:

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

or you can convert a single image:

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

Below is an example of how to add figure to a post that supports both .webp and .png formats. Providing both allows the website to be backwards-compatible with older browsers.

<figure><picture><sourcesrcset="/images/image-name.webp" type="image/webp"><imgsrc="/images/image-name.png" alt="Alt text here" /></picture></figure>

How to update blog post last_updated field

We have a bash script that will automatically update the last_updated field in the YAML for all of our blog posts. To run it use:

./scripts/date-updated.sh

Monitoring Automated Tasks

There are a few automated CI tasks in this repository to keep the website data up to date. In order for us to have visibility into when these jobs fail, we have automated a Slack bot to send a message to the #pyos-maintainers-infrastructure channel on Slack using the rtCamp/action-slack-notify GitHub Action step. This action can be used within any repository in the PyOpenSci GitHub organization (as SLACK_NOTIFICATIONS_BOT_TOKEN is an org-wide secret) via:

 - name: Slack Notificationuses: rtCamp/action-slack-notify@v2if: failure()env: SLACK_CHANNEL: pyos-maintainers-infrastructureSLACK_COLOR: '#db540b'SLACK_LINK_NAMES: trueSLACKIFY_MARKDOWN: trueSLACK_MESSAGE: "Notification from GitHub Actions"SLACK_TOKEN: ${{secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

Anita Graser
Anita Graser

๐Ÿ‘€
Niels Bantilan
Niels Bantilan

๐Ÿ‘€
Ivan Ogasawara
Ivan Ogasawara

๐Ÿ‘€
David Nicholson
David Nicholson

๐Ÿ“
Jenny Palomino
Jenny Palomino

๐Ÿค”๐Ÿ‘€๐Ÿ’ป
Alex Batisse
Alex Batisse

๐Ÿค”๐Ÿ‘€
Semidรกn Robaina, Ph.D.
Semidรกn Robaina, Ph.D.

๐Ÿ’ป
Barnabas Bulpett (He/Him)
Barnabas Bulpett (He/Him)

๐Ÿ‘€๐Ÿ’ป๐ŸŽจ
Juanita Gomez
Juanita Gomez

๐Ÿ’ป๐Ÿ‘€
Sarah Kaiser
Sarah Kaiser

๐Ÿ’ป๐Ÿ‘€
C.A.M. Gerlach
C.A.M. Gerlach

๐Ÿ’ป๐ŸŽจ๐Ÿ‘€
Nhat (Jonny) Tran
Nhat (Jonny) Tran

๐Ÿ‘€๐Ÿ’ป
Teddy Groves
Teddy Groves

๐Ÿ’ป๐Ÿ‘€
Mike Sarahan
Mike Sarahan

๐Ÿ’ป๐Ÿ‘€
Thomas J. Fan
Thomas J. Fan

๐Ÿ’ป๐Ÿ‘€
Szabolcs Horvรกt
Szabolcs Horvรกt

๐Ÿ’ป๐Ÿ‘€
Jonny Saunders
Jonny Saunders

๐Ÿ’ป๐Ÿ‘€๐Ÿ“
Kerry McAdams
Kerry McAdams

๐Ÿ’ป๐Ÿ‘€
Ricky Nilsson
Ricky Nilsson

๐Ÿ’ป๐Ÿ‘€
Carol Willing
Carol Willing

๐Ÿ’ป๐Ÿ‘€
Eliot Robson
Eliot Robson

๐Ÿ’ป๐Ÿ‘€
P. L. Lim
P. L. Lim

๐Ÿ’ป๐Ÿ‘€
Andrew Nesbitt
Andrew Nesbitt

๐Ÿ’ป๐Ÿ‘€
Jesse Mostipak
Jesse Mostipak

๐Ÿ’ป๐Ÿ‘€
Felipe Moreno
Felipe Moreno

๐Ÿ’ป๐Ÿ‘€
Sneha Yadav
Sneha Yadav

๐Ÿ’ป๐Ÿ‘€
Emily Zhang
Emily Zhang

๐Ÿ’ป๐Ÿ‘€
Filipe Laรญns
Filipe Laรญns

๐Ÿ’ป๐Ÿ‘€
Steven Silvester
Steven Silvester

๐Ÿ‘€
Megan Sosey
Megan Sosey

๐Ÿ‘€
Patrick J. Roddy
Patrick J. Roddy

๐Ÿ’ป๐Ÿ‘€
Gabriel Stefanini Vicente
Gabriel Stefanini Vicente

๐Ÿ’ป๐Ÿ‘€
SeanAverS
SeanAverS

๐Ÿ’ป๐Ÿ‘€
Han
Han

๐Ÿ’ป๐Ÿ‘€
Jon Kiparsky
Jon Kiparsky

๐Ÿ›๐Ÿค”
Tracy Teal
Tracy Teal

๐Ÿ‘€๐Ÿค”
Inessa Pawson
Inessa Pawson

๐Ÿ’ป๐Ÿ‘€
Seth Michael Larson
Seth Michael Larson

๐Ÿ‘€
Erik Whiting
Erik Whiting

๐Ÿ‘€
Hugo van Kemenade
Hugo van Kemenade

๐Ÿ’ป๐Ÿ‘€
Raktim Mukhopadhyay
Raktim Mukhopadhyay

๐Ÿ’ป๐Ÿ‘€
Hans Moritz Gรผnther
Hans Moritz Gรผnther

๐Ÿ’ป๐Ÿ‘€
Tetsuo Koyama
Tetsuo Koyama

๐Ÿ‘€
Breanna Powell
Breanna Powell

๐Ÿ’ป๐Ÿ‘€
Mandy Moore
Mandy Moore

๐Ÿ’ป๐Ÿ‘€๐Ÿ“–
Tim Dawson
Tim Dawson

๐Ÿ’ป๐Ÿ‘€
Ellie Abrahams
Ellie Abrahams

๐Ÿ‘€๐Ÿ“
Jed Brown
Jed Brown

๐Ÿ‘€๐Ÿ“
Carter Lee Rhea
Carter Lee Rhea

๐Ÿ‘€๐Ÿ“
Nick Hodgskin
Nick Hodgskin

๐Ÿ’ป๐Ÿ›
Yuvi
Yuvi

๐Ÿ‘€
Filipe
Filipe

๐Ÿ‘€
Sebastian Lobentanzer
Sebastian Lobentanzer

๐Ÿ‘€

This project follows the all-contributors specification. Contributions of any kind welcome!

About

This is the website for pyOpenSci. Contributions welcome!!

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published