From 57c5117109fe32061992f4fee6b09cb00d321c0b Mon Sep 17 00:00:00 2001 From: Jay Miller Date: Tue, 27 Aug 2024 07:45:10 -0400 Subject: [PATCH] Update-opensource-program (#395) --- Gemfile | 2 +- Gemfile.lock | 2 +- _data/open_source_program.json | 38 +++++++++++++++++++ _includes/newsletter_form.html | 2 +- .../open_source_program/program_closed.html | 3 ++ .../open_source_program/program_opened.html | 13 +++++++ _layouts/index.html | 2 +- _layouts/open_source_program.html | 14 +++++++ open-source-program.md | 21 +--------- 9 files changed, 74 insertions(+), 23 deletions(-) create mode 100644 _data/open_source_program.json create mode 100644 _includes/open_source_program/program_closed.html create mode 100644 _includes/open_source_program/program_opened.html create mode 100644 _layouts/open_source_program.html diff --git a/Gemfile b/Gemfile index 3a1d5a6..05f6909 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source "https://rubygems.org" ruby RUBY_VERSION -gem "jekyll", "3.9.3" +gem "jekyll" # If you have any plugins, put them here! group :jekyll_plugins do diff --git a/Gemfile.lock b/Gemfile.lock index 248cb86..9c36482 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -273,7 +273,7 @@ PLATFORMS DEPENDENCIES github-pages - jekyll (= 3.9.3) + jekyll jekyll-feed jekyll-remote-theme jemoji diff --git a/_data/open_source_program.json b/_data/open_source_program.json new file mode 100644 index 0000000..261d215 --- /dev/null +++ b/_data/open_source_program.json @@ -0,0 +1,38 @@ +[ + { + "org": { + "name": "Black Python Devs", + "url": "https://github.com/blackpythondevs" + }, + "repos": [ + { + "name": "Black Python Devs", + "url": "https://github.com/blackpythondevs/blackpythondevs", + "description": "This is the base operating Documentation for Black Python Devs" + }, + { + "name": "Black Python Devs Website", + "url": "https://github.com/blackpythondevs/blackpythondevs.github.io", + "description": "The jekyll website that routes to BlackPythonDevs.com" + } + ] + }, + { + "org": { + "name": "DAGWorks-Inc", + "url": "https://github.com/DAGWorks-Inc" + }, + "repos": [ + { + "name": "Hamilton", + "url": "https://github.com/DAGWorks-Inc/hamilton", + "description": "Hamilton helps data scientists and engineers define testable, modular, self-documenting dataflows, that encode lineage/tracing and metadata. Runs and scales everywhere python does." + }, + { + "name": "Burr", + "url": "https://github.com/DAGWorks-Inc/burr", + "description": "Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure." + } + ] + } +] diff --git a/_includes/newsletter_form.html b/_includes/newsletter_form.html index 6cb2cff..a02b98b 100644 --- a/_includes/newsletter_form.html +++ b/_includes/newsletter_form.html @@ -1,5 +1,5 @@
-

Learn what the community and its members are doing from our newsletter!

+

{{include.newsletter_title}}

diff --git a/_includes/open_source_program/program_closed.html b/_includes/open_source_program/program_closed.html new file mode 100644 index 0000000..d29da85 --- /dev/null +++ b/_includes/open_source_program/program_closed.html @@ -0,0 +1,3 @@ +

Applications for the next Cohort are currently closed

+ +We will announce when the program will reopen in our newsletter. Sign up today. {% include newsletter_form.html newsletter_title='Sign Up' %} diff --git a/_includes/open_source_program/program_opened.html b/_includes/open_source_program/program_opened.html new file mode 100644 index 0000000..370f08a --- /dev/null +++ b/_includes/open_source_program/program_opened.html @@ -0,0 +1,13 @@ +

Applications for the next Cohort are now open

+ +

The next cohort is now seeking contributors and mentors to collaborate on the following projects:

+ +{% for org in site.data.open_source_program %} +

{{org.name}}

+ + +{% endfor %} diff --git a/_layouts/index.html b/_layouts/index.html index e981653..a3b4b19 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -13,5 +13,5 @@ {%- include latest-posts.html -%} {%- include join_us.html -%} {%- include partnerships.html -%} - {%- include newsletter_form.html -%} + {%- include newsletter_form.html newsletter_title="Learn what the community and its members are doing from our newsletter!" -%} diff --git a/_layouts/open_source_program.html b/_layouts/open_source_program.html new file mode 100644 index 0000000..c95c3a6 --- /dev/null +++ b/_layouts/open_source_program.html @@ -0,0 +1,14 @@ +--- +layout: article +open: false +--- + +
+{{content}} +
+ +{% if open %} +{% include open_source_program/program_opened.html %} +{% else %} +{% include open_source_program/program_closed.html %} +{% endif %} diff --git a/open-source-program.md b/open-source-program.md index d7be712..6ca9384 100644 --- a/open-source-program.md +++ b/open-source-program.md @@ -1,7 +1,8 @@ --- -layout: default +layout: open_source_program lang: en title: Black Python Devs Open Source Program +open: false --- # The Black Python Devs Open Source Program @@ -11,21 +12,3 @@ The Black Python Devs Open Source Contribution Program is a 2-month running init Participants will work on issues from repositories around Black Python Devs as well as partnered community gaining hands-on experience in real-world projects. The program includes a structured onboarding process, technical and soft skills workshops, regular mentorship, and a final showcase event where participants present their progress. By the end of the program, participants will have enhanced their technical skills, expanded their professional network, and made tangible contributions to the open-source community. - -## Applications for the next Cohort are now open - -The next cohort is now seeking contributors and mentors to collaborate on the following projects: - -**Black Python Devs** - -- [BlackPythonDevs/Blackpythondevs](https://github.com/blackpythondevs/Blackpythondevs) -- [BlackPythonDevs/blackpythondevs.github.io](https://github.com/blackpythondevs/blackpythondevs.github.io) - -**DAGWorks-Inc** - -- [DAGWorks-Inc/burr](https://github.com/DAGWorks-Inc/burr) -- [DAGWorks-Inc/hamilton](https://github.com/DAGWorks-Inc/hamilton) - -If you wish to participate as a **contributor** - [apply here!](https://bit.ly/4d6QXX1) - -If you wish to participate as a **mentor** - [apply here!](https://bit.ly/3W694W0)