From 710f1617a9180869a31afa504fba6a3f8737e19a Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Sun, 2 Feb 2025 02:48:06 +0000 Subject: [PATCH 01/17] removed issue template for generating conferences --- .github/ISSUE_TEMPLATE/add_conference.yml | 95 ----------------------- 1 file changed, 95 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/add_conference.yml diff --git a/.github/ISSUE_TEMPLATE/add_conference.yml b/.github/ISSUE_TEMPLATE/add_conference.yml deleted file mode 100644 index f37b9ae..0000000 --- a/.github/ISSUE_TEMPLATE/add_conference.yml +++ /dev/null @@ -1,95 +0,0 @@ -name: Add Conference -description: Add Conference dates, location, speaking and other information that you would like shared -title: "[CONFERENCE] YYYY" -labels: ["conference", "CFP"] -body: - - type: input - id: conference_name - attributes: - label: Conference Name - description: The name of the conference. - placeholder: - validations: - required: true - - type: input - attributes: - label: URL - description: The full URL of the conference (make sure to include `https://`). - placeholder: https://example.com - validations: - required: true - - type: input - id: conference_start_date - attributes: - label: Conference Start Date - description: The start date of the conference. Use `YEAR-MONTH-DAY` - placeholder: "2024-12-31" - - type: input - id: conference_end_date - attributes: - label: Conference End Date - description: The end date of the conference. The website will no longer show the conference after this date. Use `YEAR-MONTH-DAY` format. - placeholder: "2024-12-31" - - type: dropdown - id: conference_type - attributes: - label: Conference Type - description: Is the conference in-person online or both? - options: ["both", "in-person", "online"] - validations: - required: true - - type: input - id: conference_location - attributes: - label: Conference Location - description: The location of the conference. Leave blank if online only - placeholder: "CITY, , COUNTRY" - validations: - required: false - - type: input - id: cfp_link - attributes: - label: CFP Link - description: Provide the URL for the Call for Proposals (CFP) (make sure to include `https://`). - placeholder: "https://example.com/cfp" - validations: - required: false - - type: input - id: cfp_deadline - attributes: - label: CFP Deadline - description: Enter the deadline for submitting CFPs (YYYY-MM-DD). - placeholder: "YYYY-MM-DD" - validations: - required: false - - type: textarea - id: conference_description - attributes: - label: Summary - description: Summary of the news you're sharing about this conference. - placeholder: | - DjangoCon US has been announced alongside it's [website](url). - The conference is 16-20 October, is a five-day international - conference for the community by the community about the Django - web framework, held each year in North America. - validations: - required: false - - type: textarea - id: conference_speaking - attributes: - label: Speaking - description: Person - Talk or Role - placeholder: | - * Dawn Wages - Supercharge your Python and Django Development Environment with VS Code and Dev Containers - * Kojo Idrissa - Orientation/Welcome & Lightning Talks Host - * Jay Miller - Panel Discussion: Who put me in charge? Moving beyond day-to-day coding in Django - validations: - required: false - - type: checkboxes - id: terms - attributes: - label: Code of Conduct - description: By submitting this form, you agree to follow our [Code of Conduct](https://github.com/BlackPythonDevs/.github/blob/main/CODE_OF_CONDUCT.md) - options: - - label: I agree to follow this project's Code of Conduct - required: true From f6e2ac754e8a964f518a758b6300cd5f52472cf6 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Sun, 2 Feb 2025 02:54:26 +0000 Subject: [PATCH 02/17] removed automating workflow for generating conferences --- .github/workflows/conference.yml | 56 -------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 .github/workflows/conference.yml diff --git a/.github/workflows/conference.yml b/.github/workflows/conference.yml deleted file mode 100644 index e5b9bb9..0000000 --- a/.github/workflows/conference.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Conference Workflow - -on: - schedule: - - cron: "0 0 * * 0" # This will run the workflow every Sunday at midnight - push: - branches: - - "**/issue**" - issues: - types: [opened, closed, edited, deleted] - workflow_dispatch: - -permissions: - contents: write - pull-requests: write - -jobs: - conference-job: - runs-on: ubuntu-latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - if: ${{ github.event.action == 'opened' && startsWith(github.event.issue.title, '[CONFERENCE]') && contains(github.event.issue.labels.*.name, 'conference_accepted') }} - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - token: ${{ env.GITHUB_TOKEN }} - - - name: Setup Python environment - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - - name: Install dependencies - run: pip install -r requirements-dev.txt - - - name: Run script - env: - GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }} - run: | - python _conferences - pre-commit run --all-files --show-diff-on-failure - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - token: ${{ env.GITHUB_TOKEN }} - commit-message: Update conferences - committer: GitHub Action - author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> - branch: update-conferences - delete-branch: true - title: "[CONFERENCE] Update Conferences" - labels: | - automated pr - conference From c2eee1f7a08934d452dec44bad489f16b41c9dfe Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Sun, 2 Feb 2025 03:02:21 +0000 Subject: [PATCH 03/17] removed auto responder giving feedback after conference submission --- .github/workflows/conference_auto_respond.yml | 44 ------------------- 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/conference_auto_respond.yml diff --git a/.github/workflows/conference_auto_respond.yml b/.github/workflows/conference_auto_respond.yml deleted file mode 100644 index c735c8d..0000000 --- a/.github/workflows/conference_auto_respond.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Conference AutoResponder - -on: - issues: - types: [opened] - -permissions: - issues: write - -jobs: - add_comment: - runs-on: ubuntu-latest - - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - steps: - - name: Add initial comment to the issue - uses: actions/github-script@v6 - if: ${{ github.event.action == 'opened' && startsWith(github.event.issue.title, '[CONFERENCE]') && contains(github.event.issue.labels.*.name, 'conference') }} - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const issueNumber = context.issue.number; - const comment = "Thank you for submitting this issue. A member of the triage team will review the information and followup on this request. There is no code action to be taken."; - github.rest.issues.createComment({ - ...context.repo, - issue_number: issueNumber, - body: comment - }); - - - name: Add approved comment - uses: actions/github-script@v6 - if: ${{ github.event.action == 'opened' && startsWith(github.event.issue.title, '[CONFERENCE]') && contains(github.event.issue.labels.*.name, 'conference_accepted') }} - with: - script: | - const issueNumber = context.issue.number; - const comment = "Your conference submission has been accepted. You will shortly see your conference on the website." - - github.rest.issues.createComment({ - ...context.repo, - issue_number: issueNumber, - body: comment - }); From b1ea4ed6ce1728d3506139850baf130dacb2cd6f Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Sun, 2 Feb 2025 03:07:39 +0000 Subject: [PATCH 04/17] removed href link for creating conference issues --- _includes/conferences.html | 1 - 1 file changed, 1 deletion(-) diff --git a/_includes/conferences.html b/_includes/conferences.html index 54818ff..cb39bfc 100644 --- a/_includes/conferences.html +++ b/_includes/conferences.html @@ -28,4 +28,3 @@

Speaking:

{% endif %}
-

Have a Conference to Add - Submit an Issue

From 04bc619a8c76e2002f62dabe9738b893ddd985b1 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 17:48:23 +0000 Subject: [PATCH 05/17] remove all conferences that have passed --- _data/conferences.json | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/_data/conferences.json b/_data/conferences.json index b47d577..3b9973e 100644 --- a/_data/conferences.json +++ b/_data/conferences.json @@ -1,12 +1,3 @@ [ - { - "conference_name": "DELSU Tech Invasion 2.0", - "url": "https://dti.hamplustech.com/", - "conference_start_date": "2024-12-04", - "conference_end_date": "2024-12-05", - "conference_type": "in-person", - "conference_location": "Abraka, Delta State, Nigeria", - "summary": "This is the second edition of DELSU Tech Invasion (DTI) with the theme: Learn . Innovate . Earn. The subject or focus area is Python for Academics: Spreadsheet and Data Manipulation, Data Analytics and Visualization.", - "speaking": "- Developing lite web apps using Flask and Python - [Michael Oghenerukevwe Edward](http://linkedin.com/in/airdward/)\n- Transitioning in Tech Ecosystem as a Female - [Precious Ogbuka](https://www.linkedin.com/in/precious-ogbuka)\n- Rapid Development of Desktop Apps using Tkinter and Python - [Azubuike Uche Nathan](https://x.com/NathanAzub10827)\n- Why Learn, Innovate and Earn - [Naomi Apomejevwe Egbe](https://x.com/IamNaomiEgbe)\n- Gender diversity and inclusion in the tech ecosystem - [Elozino Onorie](https://x.com/_hush_7)\n- others can be found in the links below:\n - https://dti.hamplustech.com/pages/speaker/\n - https://dti.hamplustech.com/pages/schedule/" - } + ] From f941229db36e710f42415dbdc05270fbe8e8d697 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 17:52:52 +0000 Subject: [PATCH 06/17] renamed _data/conferences.json to _data/events.json --- _data/conferences.json | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 _data/conferences.json diff --git a/_data/conferences.json b/_data/conferences.json deleted file mode 100644 index 3b9973e..0000000 --- a/_data/conferences.json +++ /dev/null @@ -1,3 +0,0 @@ -[ - -] From 7849c894dbac806c056a6f04665893d08eefdd2f Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 18:39:13 +0000 Subject: [PATCH 07/17] expanded _data/events.json structure, included dummy data --- _data/events.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 _data/events.json diff --git a/_data/events.json b/_data/events.json new file mode 100644 index 0000000..ce00237 --- /dev/null +++ b/_data/events.json @@ -0,0 +1,26 @@ +{ + "meetups": [ + { + "name": "Coffee and Code", + "date": "2023-09-20", + "location": "Online (Discord)", + "description": "A casual meetup for developers to code together.", + "organizer": "Jay Miller", + "topic": "Web Development" + }, + { + "name": "Monthly meetup", + "date": "2023-09-20", + "location": "Remote", + "description": "Share ideas, and network over coffee.", + "organizer": "Jay Miller", + "topic": "Open Source" + } + ], + "conferences": [ + + ], + "partners": [ + + ] + } \ No newline at end of file From 66f0d47729ee63bf47238e5d91af511e90541f49 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 19:23:01 +0000 Subject: [PATCH 08/17] HTML template for meetups --- _data/events.json | 4 ++-- _includes/meetups.html | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 _includes/meetups.html diff --git a/_data/events.json b/_data/events.json index ce00237..76ddfcf 100644 --- a/_data/events.json +++ b/_data/events.json @@ -5,7 +5,7 @@ "date": "2023-09-20", "location": "Online (Discord)", "description": "A casual meetup for developers to code together.", - "organizer": "Jay Miller", + "speaker": "Jay Miller", "topic": "Web Development" }, { @@ -13,7 +13,7 @@ "date": "2023-09-20", "location": "Remote", "description": "Share ideas, and network over coffee.", - "organizer": "Jay Miller", + "speaker": "Jay Miller", "topic": "Open Source" } ], diff --git a/_includes/meetups.html b/_includes/meetups.html new file mode 100644 index 0000000..dcf254b --- /dev/null +++ b/_includes/meetups.html @@ -0,0 +1,24 @@ +{% if site.data.events.meetups.size > 0 %} +
+ {% for meetup in site.data.events.meetups %} +
+

+ {{ meetup.name }} +

+
Speaking: {{ meetup.speaker }}
+

+ {{ meetup.date }}
+ {{ meetup.location }} +

+

{{ meetup.description }}

+ +

{{ conference.topic }}

+ +
+ {% endfor %} +
+{% else %} +No Meetups +{% endif %} + +
From b3e8a8d22afdf9f3b913fb4f7098a826fb7368f8 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 19:31:21 +0000 Subject: [PATCH 09/17] Linting test passing --- _data/events.json | 46 +++++++++++++++++++----------------------- _includes/meetups.html | 9 ++++----- 2 files changed, 25 insertions(+), 30 deletions(-) diff --git a/_data/events.json b/_data/events.json index 76ddfcf..82c996a 100644 --- a/_data/events.json +++ b/_data/events.json @@ -1,26 +1,22 @@ { - "meetups": [ - { - "name": "Coffee and Code", - "date": "2023-09-20", - "location": "Online (Discord)", - "description": "A casual meetup for developers to code together.", - "speaker": "Jay Miller", - "topic": "Web Development" - }, - { - "name": "Monthly meetup", - "date": "2023-09-20", - "location": "Remote", - "description": "Share ideas, and network over coffee.", - "speaker": "Jay Miller", - "topic": "Open Source" - } - ], - "conferences": [ - - ], - "partners": [ - - ] - } \ No newline at end of file + "meetups": [ + { + "name": "Coffee and Code", + "date": "2023-09-20", + "location": "Online (Discord)", + "description": "A casual meetup for developers to code together.", + "speaker": "Jay Miller", + "topic": "Web Development" + }, + { + "name": "Monthly meetup", + "date": "2023-09-20", + "location": "Remote", + "description": "Share ideas, and network over coffee.", + "speaker": "Jay Miller", + "topic": "Open Source" + } + ], + "conferences": [], + "partners": [] +} diff --git a/_includes/meetups.html b/_includes/meetups.html index dcf254b..c014ca5 100644 --- a/_includes/meetups.html +++ b/_includes/meetups.html @@ -7,13 +7,12 @@

Speaking: {{ meetup.speaker }}

- {{ meetup.date }}
+ {{ meetup.date }}
{{ meetup.location }} -

+

{{ meetup.description }}

- -

{{ conference.topic }}

- + +

{{ conference.topic }}

{% endfor %} From 0212b38e960ba201a2cb2bf20d8b0b33aaab57e4 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 20:35:54 +0000 Subject: [PATCH 10/17] modified events.json to include conferences --- _data/events.json | 54 +++++++++++++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 21 deletions(-) diff --git a/_data/events.json b/_data/events.json index 82c996a..6b24db8 100644 --- a/_data/events.json +++ b/_data/events.json @@ -1,22 +1,34 @@ { - "meetups": [ - { - "name": "Coffee and Code", - "date": "2023-09-20", - "location": "Online (Discord)", - "description": "A casual meetup for developers to code together.", - "speaker": "Jay Miller", - "topic": "Web Development" - }, - { - "name": "Monthly meetup", - "date": "2023-09-20", - "location": "Remote", - "description": "Share ideas, and network over coffee.", - "speaker": "Jay Miller", - "topic": "Open Source" - } - ], - "conferences": [], - "partners": [] -} + "meetups": [ + { + "name": "Coffee and Code", + "date": "2023-09-20", + "location": "Online (Discord)", + "description": "A casual meetup for developers to code together.", + "speaker": "Jay Miller", + "topic": "Web Development" + }, + { + "name": "Monthly meetup", + "date": "2023-09-20", + "location": "Remote", + "description": "Share ideas, and network over coffee.", + "speaker": "Jay Miller", + "topic": "Open Source" + } + ], + "conferences": [ + { + "name": "Basics", + "url": "", + "start_date": "2025-02-10", + "end_date": "2025-09-20", + "location": "Thailand", + "description": "... something good", + "speaker": "Tim Osahenru" + } + ], + "partners": [ + + ] + } \ No newline at end of file From dda4985e923d96f9b6b0c0fea793158cb98f1d30 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 20:45:50 +0000 Subject: [PATCH 11/17] modified events.json to include conferences --- _data/events.json | 64 +++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/_data/events.json b/_data/events.json index 6b24db8..b001112 100644 --- a/_data/events.json +++ b/_data/events.json @@ -1,34 +1,32 @@ { - "meetups": [ - { - "name": "Coffee and Code", - "date": "2023-09-20", - "location": "Online (Discord)", - "description": "A casual meetup for developers to code together.", - "speaker": "Jay Miller", - "topic": "Web Development" - }, - { - "name": "Monthly meetup", - "date": "2023-09-20", - "location": "Remote", - "description": "Share ideas, and network over coffee.", - "speaker": "Jay Miller", - "topic": "Open Source" - } - ], - "conferences": [ - { - "name": "Basics", - "url": "", - "start_date": "2025-02-10", - "end_date": "2025-09-20", - "location": "Thailand", - "description": "... something good", - "speaker": "Tim Osahenru" - } - ], - "partners": [ - - ] - } \ No newline at end of file + "meetups": [ + { + "name": "Coffee and Code", + "date": "2023-09-20", + "location": "Online (Discord)", + "description": "A casual meetup for developers to code together.", + "speaker": "Jay Miller", + "topic": "Web Development" + }, + { + "name": "Monthly meetup", + "date": "2023-09-20", + "location": "Remote", + "description": "Share ideas, and network over coffee.", + "speaker": "Jay Miller", + "topic": "Open Source" + } + ], + "conferences": [ + { + "name": "Basics", + "url": "", + "start_date": "2025-02-10", + "end_date": "2025-09-20", + "location": "Thailand", + "description": "... something good", + "speaker": "Tim Osahenru" + } + ], + "partners": [] +} From 25f6fc89e533a5c1d97de12296460090481d66f1 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 21:11:36 +0000 Subject: [PATCH 12/17] Modified the conferences.html file --- _includes/conferences.html | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/_includes/conferences.html b/_includes/conferences.html index cb39bfc..8318206 100644 --- a/_includes/conferences.html +++ b/_includes/conferences.html @@ -1,25 +1,20 @@ -{% if site.data.conferences.size > 0 %} +{% if site.data.events.conferences.size > 0 %}
- {% for conference in site.data.conferences %} + {% for conference in site.data.events.conferences %}

- {{ conference.conference_name }} + {{ conference.name }}

+
{{ conference.speaker }}

- {{ conference.conference_start_date }} - {{ conference.conference_end_date }} + {{ conference.start_date }} - {{ conference.end_date }} {% if conference.conference_location != "_No response_" %}
- {{ conference.conference_location }} + {{ conference.location }}

{% endif %} -

Type: {{ conference.conference_type }}

- {% if conference.summary != "_No response_" %} - {{ conference.summary | markdownify }} - {% endif %} - {% if conference.speaking %} -

Speaking:

- {{ conference.speaking | markdownify }} - {% endif %} +

{{ conference.description }}

+
{% endfor %}
From 5240bd2a84d3620e6669c795af81e62be7d9957e Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 21:34:04 +0000 Subject: [PATCH 13/17] restructured events.md to reflect the new changes and also removed commented code --- events.md | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/events.md b/events.md index 06bfc28..89560cc 100644 --- a/events.md +++ b/events.md @@ -6,34 +6,19 @@ title: Events # Black Python Devs Events -## Coffee and Code - -Join us every Friday for a cup of coffee and a chance to code with fellow Python enthusiasts. Our community is open to all levels of experience, from beginners to experts. - -We’ll be discussing the latest trends in Python development, sharing tips and tricks, and working on projects together. Whether you’re looking to learn something new or just want to hang out with like-minded people, this is the perfect opportunity to do so. We look forward to seeing you there! # Upcoming Conferences Black Python Devs aims to partner with Python conferences around the world to increase the visibility and opportunities for Black leadership in the Python community. We understand that when you put qualified individuals on stage and at conferences it increases their value and opportunities for employment. - +## Regular Meetups -Here are some highlighted upcoming conferences where you can find Black Python Developers involved on stage or behind the scenes +Join us every Friday for a cup of coffee and a chance to code with fellow Python enthusiasts. Our community is open to all levels of experience, from beginners to experts. -{% include conferences.html %} +We’ll be discussing the latest trends in Python development, sharing tips and tricks, and working on projects together. Whether you’re looking to learn something new or just want to hang out with like-minded people, this is the perfect opportunity to do so. We look forward to seeing you there! +{% include meetups.html %} From 5d7907e88030f9fa274e839665388ae84b868b24 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 21:39:04 +0000 Subject: [PATCH 14/17] restructured events.md to reflect the new changes and also removed commented code --- events.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/events.md b/events.md index 89560cc..372adbb 100644 --- a/events.md +++ b/events.md @@ -6,12 +6,10 @@ title: Events # Black Python Devs Events - # Upcoming Conferences Black Python Devs aims to partner with Python conferences around the world to increase the visibility and opportunities for Black leadership in the Python community. We understand that when you put qualified individuals on stage and at conferences it increases their value and opportunities for employment. - Here are some highlighted upcoming conferences where you can find Black Python Developers involved on stage or behind the scenes {% include conferences.html %} From 903817d4fbcccb878253f2934d525963de8a767e Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Mon, 10 Feb 2025 21:46:51 +0000 Subject: [PATCH 15/17] restructured events.md to reflect the new changes and also removed commented code --- events.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/events.md b/events.md index 372adbb..f64ed16 100644 --- a/events.md +++ b/events.md @@ -4,8 +4,6 @@ lang: en title: Events --- -# Black Python Devs Events - # Upcoming Conferences Black Python Devs aims to partner with Python conferences around the world to increase the visibility and opportunities for Black leadership in the Python community. We understand that when you put qualified individuals on stage and at conferences it increases their value and opportunities for employment. From 6076b2dce4a134063a37629133db073f464fdde8 Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Wed, 12 Feb 2025 02:04:00 +0000 Subject: [PATCH 16/17] Documentation update to show how events are been created and removed dummy data from events.json file --- CONTRIBUTING.md | 36 ++++++++++++++++++++++++++++++++++++ _data/events.json | 27 ++------------------------- 2 files changed, 38 insertions(+), 25 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6065c71..caaf5ae 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -166,3 +166,39 @@ The diagram below explains how information is generated for the about page, show ![Git push terminal](/assets/images/git_push_terminal.png) - Once you’ve committed and pushed all of your changes to GitHub, go to the page for your fork on GitHub, select your development branch, and click the pull request button. Please ensure that you compare your feature branch to the desired branch of the repo you are supposed to make a PR to. If you need to make any adjustments to your pull request, just push the updates to GitHub. Your pull request will automatically track the changes in your development branch and update it. 🥳 + + +## Creating an event +Events are currently created manually by adding entries to `_data/events.json`. To create a conference, use the following JSON structure: +``` +{ + "name": "Conference name", + "url": "https://blackpythondevs.com/", + "start_date": "2025-02-10", + "end_date": "2025-09-20", + "location": "Thailand", + "description": "Lorem ipsum dolor sit amet consectetur adipiscing elit ...", + "speaker": "Tim Osahenru" +} +``` + +### Regular meetups +We have two recurring meetups: **Coffee and Code** and our **Monthly Meetup**. These events remain consistent in format, with only the **date, time, and speaker** subject to change. Updates can be made within the `meetups` list: +``` + { + "name": "Coffee and Code", + "date": "2023-09-20", + "location": "Online (Discord)", + "description": "A casual meetup for developers to code together.", + "speaker": "Jay Miller", + "topic": "Web Development" + }, + { + "name": "Monthly meetup", + "date": "2023-09-20", + "location": "Remote", + "description": "Share ideas, and network over coffee.", + "speaker": "Jay Miller", + "topic": "Open Source" + } +``` diff --git a/_data/events.json b/_data/events.json index b001112..bcea00a 100644 --- a/_data/events.json +++ b/_data/events.json @@ -1,32 +1,9 @@ { "meetups": [ - { - "name": "Coffee and Code", - "date": "2023-09-20", - "location": "Online (Discord)", - "description": "A casual meetup for developers to code together.", - "speaker": "Jay Miller", - "topic": "Web Development" - }, - { - "name": "Monthly meetup", - "date": "2023-09-20", - "location": "Remote", - "description": "Share ideas, and network over coffee.", - "speaker": "Jay Miller", - "topic": "Open Source" - } + ], "conferences": [ - { - "name": "Basics", - "url": "", - "start_date": "2025-02-10", - "end_date": "2025-09-20", - "location": "Thailand", - "description": "... something good", - "speaker": "Tim Osahenru" - } + ], "partners": [] } From 28edf6e679ee88a25c972712e6229bd9379c107e Mon Sep 17 00:00:00 2001 From: TimOsahenru Date: Wed, 12 Feb 2025 02:05:10 +0000 Subject: [PATCH 17/17] Documentation update to show how events are been created and removed dummy data from events.json file --- CONTRIBUTING.md | 5 ++++- _data/events.json | 8 ++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index caaf5ae..f5a9baa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -167,9 +167,10 @@ The diagram below explains how information is generated for the about page, show - Once you’ve committed and pushed all of your changes to GitHub, go to the page for your fork on GitHub, select your development branch, and click the pull request button. Please ensure that you compare your feature branch to the desired branch of the repo you are supposed to make a PR to. If you need to make any adjustments to your pull request, just push the updates to GitHub. Your pull request will automatically track the changes in your development branch and update it. 🥳 - ## Creating an event + Events are currently created manually by adding entries to `_data/events.json`. To create a conference, use the following JSON structure: + ``` { "name": "Conference name", @@ -183,7 +184,9 @@ Events are currently created manually by adding entries to `_data/events.json`. ``` ### Regular meetups + We have two recurring meetups: **Coffee and Code** and our **Monthly Meetup**. These events remain consistent in format, with only the **date, time, and speaker** subject to change. Updates can be made within the `meetups` list: + ``` { "name": "Coffee and Code", diff --git a/_data/events.json b/_data/events.json index bcea00a..6643419 100644 --- a/_data/events.json +++ b/_data/events.json @@ -1,9 +1,5 @@ { - "meetups": [ - - ], - "conferences": [ - - ], + "meetups": [], + "conferences": [], "partners": [] }