Skip to content

Commit 6076b2d

Browse files
committed
Documentation update to show how events are been created and removed dummy data from events.json file
1 parent 22e9705 commit 6076b2d

File tree

2 files changed

+38
-25
lines changed

2 files changed

+38
-25
lines changed

CONTRIBUTING.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,39 @@ The diagram below explains how information is generated for the about page, show
166166
![Git push terminal](/assets/images/git_push_terminal.png)
167167

168168
- 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. 🥳
169+
170+
171+
## Creating an event
172+
Events are currently created manually by adding entries to `_data/events.json`. To create a conference, use the following JSON structure:
173+
```
174+
{
175+
"name": "Conference name",
176+
"url": "https://blackpythondevs.com/",
177+
"start_date": "2025-02-10",
178+
"end_date": "2025-09-20",
179+
"location": "Thailand",
180+
"description": "Lorem ipsum dolor sit amet consectetur adipiscing elit ...",
181+
"speaker": "Tim Osahenru"
182+
}
183+
```
184+
185+
### Regular meetups
186+
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:
187+
```
188+
{
189+
"name": "Coffee and Code",
190+
"date": "2023-09-20",
191+
"location": "Online (Discord)",
192+
"description": "A casual meetup for developers to code together.",
193+
"speaker": "Jay Miller",
194+
"topic": "Web Development"
195+
},
196+
{
197+
"name": "Monthly meetup",
198+
"date": "2023-09-20",
199+
"location": "Remote",
200+
"description": "Share ideas, and network over coffee.",
201+
"speaker": "Jay Miller",
202+
"topic": "Open Source"
203+
}
204+
```

_data/events.json

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,9 @@
11
{
22
"meetups": [
3-
{
4-
"name": "Coffee and Code",
5-
"date": "2023-09-20",
6-
"location": "Online (Discord)",
7-
"description": "A casual meetup for developers to code together.",
8-
"speaker": "Jay Miller",
9-
"topic": "Web Development"
10-
},
11-
{
12-
"name": "Monthly meetup",
13-
"date": "2023-09-20",
14-
"location": "Remote",
15-
"description": "Share ideas, and network over coffee.",
16-
"speaker": "Jay Miller",
17-
"topic": "Open Source"
18-
}
3+
194
],
205
"conferences": [
21-
{
22-
"name": "Basics",
23-
"url": "",
24-
"start_date": "2025-02-10",
25-
"end_date": "2025-09-20",
26-
"location": "Thailand",
27-
"description": "... something good",
28-
"speaker": "Tim Osahenru"
29-
}
6+
307
],
318
"partners": []
329
}

0 commit comments

Comments
 (0)