You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+36-20Lines changed: 36 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,19 @@ First off, thank you for considering contributing to the Open Neuromorphic (ONM)
4
4
5
5
This document provides guidelines for contributing to the ONM website. Please read it carefully to ensure a smooth and effective collaboration process.
6
6
7
-
Before you start, please read our [Code of Conduct](./CODE_OF_CONDUCT.md). We expect all contributors to adhere to it in all interactions with the project.
7
+
Before you start, please read our [Code of Conduct](https://github.com/open-neuromorphic/open-neuromorphic.github.io/blob/main/CODE_OF_CONDUCT.md). We expect all contributors to adhere to it in all interactions with the project.
8
8
9
9
## Table of Contents
10
10
-[Ways to Contribute](#ways-to-contribute)
11
11
-[Getting Started: Local Development Setup](#getting-started-local-development-setup)
12
12
-[How to Submit Changes](#how-to-submit-changes)
13
13
-[Reporting Bugs and Suggesting Enhancements](#reporting-bugs-and-suggesting-enhancements)
14
-
-[Your First Code Contribution](#your-first-code-contribution)
15
14
-[Submitting a Pull Request](#submitting-a-pull-request)
@@ -101,48 +101,64 @@ All code and content changes should be submitted via a Pull Request (PR).
101
101
102
102
## Content Contribution Guide
103
103
104
-
Adding new content is one of the best ways to contribute. We use Hugo's [archetypes](https://gohugo.io/content-management/archetypes/) to ensure new content has the correct structure.
104
+
Adding new content is one of the best ways to contribute. We use Hugo's [archetypes](https://gohugo.io/content-management/archetypes/) to ensure new content has the correct structure. This is especially useful for AI assistants creating content, as the archetypes serve as self-documenting templates.
105
+
106
+
### Content Creation Cheat Sheet
107
+
108
+
This table provides the exact commands for creating common content types.
109
+
110
+
| Content Type | Archetype Command | Location |
111
+
| :--- | :--- | :--- |
112
+
|**Blog Post**|`hugo new blog/your-post-slug/index.md`|`content/blog/your-post-slug/`|
113
+
|**Workshop**|`hugo new workshops/your-event-slug/index.md`|`content/workshops/your-event-slug/`|
114
+
|**Student Talk**|`hugo new neuromorphic-computing/student-talks/your-talk-slug/index.md`|`content/neuromorphic-computing/student-talks/your-talk-slug/`|
115
+
|**Hacking Hour**|`hugo new neuromorphic-computing/software/hacking-hours/your-session-slug/index.md`|`content/neuromorphic-computing/software/hacking-hours/your-session-slug/`|
116
+
|**Hardware Page**|`hugo new neuromorphic-computing/hardware/manufacturer-chip/index.md`|`content/neuromorphic-computing/hardware/manufacturer-chip/`|
117
+
|**Software Page**|`hugo new neuromorphic-computing/software/snn-frameworks/software-name/index.md`|`content/neuromorphic-computing/software/snn-frameworks/software-name/`|
118
+
|**Contributor**|`hugo new contributors/full-name-slug/index.md`|`content/contributors/full-name-slug/`|
119
+
|**Initiative**|`hugo new neuromorphic-computing/initiatives/your-initiative-slug/index.md`|`content/neuromorphic-computing/initiatives/your-initiative-slug/`|
105
120
106
121
### General Guidelines
107
122
108
-
***Use Archetypes:** Always create new content with `hugo new <path>`. This pre-fills the necessary front matter. For content that should have its own images and assets, create a page bundle by adding `index.md` to the path.
109
-
* Example: `hugo new blog/my-new-post/index.md`
123
+
***Use Archetypes:** Always create new content with `hugo new <path>`if possible. If you are creating a file manually, copy the relevant file from the `archetypes/` directory to use as a template.
110
124
***Draft Status:** New content is created with `draft: true`. This prevents it from being published. When your content is ready, change this to `draft: false`.
111
125
***SEO is Key:**
112
126
***`title`:** 50-60 characters. Make it descriptive and keyword-rich.
113
127
***`description`:** 120-160 characters. This is the summary shown in search engine results.
114
128
115
129
### Adding Blog Posts
116
130
117
-
1. **Create the file:**
131
+
1. **Create the file:** (template: [archetypes/blog.md](https://github.com/open-neuromorphic/open-neuromorphic.github.io/blob/main/archetypes/blog.md))
3. **Images:** Place images for the post inside the `content/blog/your-post-title-slug/` directory.
123
-
4. **Front Matter:** Fill in the `title`, `description`, `author`, and `image` (for the banner). Remember to add `image_attribution`if the banner image requires credit.
136
+
3. **Front Matter:** Fill in the `title`, `description`, `author`, and `image` (for the banner). Remember to add `image_attribution`if the banner image requires credit.
137
+
4. **Images:** Place images for the post inside the `content/blog/your-post-title-slug/` directory.
Events like workshops, student talks, and hacking hours share a similar structure.
126
142
127
-
1. **Create the file:**
128
-
***Workshop:**`hugo new workshops/your-event-slug/index.md`
129
-
***Student Talk:**`hugo new neuromorphic-computing/student-talks/your-talk-slug/index.md`
130
-
***Hacking Hour:**`hugo new neuromorphic-computing/software/hacking-hours/your-session-slug/index.md`
131
-
2. **Front Matter:** Fill in all event-specific fields: `title`, `author`, `date` (event date), `start_time`, `end_time`, `time_zone`, `upcoming`, `video` (add YouTube ID after the event), `image`, `speaker_photo`, and `speaker_bio`. Ensure the `type` field is set correctly (`workshops`, `student-talks`, or `hacking-hours`).
143
+
1. **Create the file:** Use the appropriate command from the cheat sheet.
2. **Front Matter:** Fill in all event-specific fields: `title`, `author`, `date` (event date), `start_time`, `end_time`, `time_zone`, `upcoming`, `video` (add YouTube ID after the event), `image`, `speaker_photo`, and `speaker_bio`.
132
148
133
149
### Adding Hardware or Software Pages
134
150
135
-
1. **Create the file:**
136
-
***Hardware:**`hugo new neuromorphic-computing/hardware/manufacturer-chip-name/index.md`
137
-
***Software:**`hugo new neuromorphic-computing/software/snn-frameworks/software-name/index.md`
151
+
1. **Create the file:** Use the appropriate command from the cheat sheet.
Copy file name to clipboardExpand all lines: archetypes/blog.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
---
2
-
title: "{{ replace .Name "-" " " | title }}" # Blog Post Title: Aim for 50-60 characters. Make it catchy and keyword-rich.
2
+
title: "{{ replace .Name "-" " " | title }}" # Blog Post Title: Aim for 50-60 characters. What's the most compelling headline that includes your main keywords?
3
3
date: {{ .Date }}
4
-
# Meta description for SEO (120-160 characters).
5
-
#This appears in search results under the title. Summarize the post and highlight key takeaways.
6
-
#Entice users to click by showing the value they'll get from reading.
7
-
description: "Engaging summary of this blog post, highlighting key insights or takeaways."
8
-
image: "your-banner-image.png"#Suggested: place banner (1200x630px) in this post's folder. Used for OG image.
9
-
# Optional: Add image attribution for the banner image.
4
+
# Meta Description for SEO (120-160 characters):
5
+
#What is the single most valuable takeaway for the reader? What problem does this post solve or what question does it answer?
6
+
#Frame it as a promise of value to entice users to click.
7
+
description: "A concise and compelling summary of this blog post, highlighting its key insights and value to the reader."
8
+
image: "your-banner-image.png"#Essential for social sharing (OG Image). Recommended: 1200x630px. Place in this post's folder.
9
+
# Optional: Give credit for the banner image. This helps with copyright and shows good practice.
10
10
# image_attribution:
11
11
# text: "Photo by"
12
12
# author: "Artist Name"
13
13
# url: "https://link.to.source"
14
14
draft: true
15
15
author:
16
-
- "Your Name or Author Slug"# Match with a contributor profile title or slug (see project docs for format)
17
-
showTableOfContents: true # Set to false if the post is short or doesn't need a ToC
16
+
- "Your Name or Author Slug"# Match with a contributor profile to build authoritativeness (E-E-A-T for SEO).
17
+
showTableOfContents: true # Set to false if the post is short or doesn't need a ToC.
Copy file name to clipboardExpand all lines: archetypes/contributors.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: "Full Name"# Contributor's Full Name. This is used for matching in author fields, ensure consistency.
2
+
title: "Full Name"# Contributor's Full Name. This is the key for linking content, ensure it's exact.
3
3
# Meta Description (SEO): 120-160 characters.
4
-
#This shows in search results for the contributor's page.
5
-
#Provide a concise bio highlighting their role/expertise in neuromorphic computing or contributions to ONM.
4
+
#What is this person's main area of expertise or most significant contribution to the neuromorphic field?
5
+
#Frame this to establish their authority and relevance for anyone searching for them.
6
6
description: "Learn more about [Full Name], a valued contributor to Open Neuromorphic, focusing on [area of expertise/contribution such as 'SNN research' or 'open-source tools']."
7
-
image: "profile.jpg"# Profile image (square, e.g., 200x200px). Place in this contributor's folder.
8
-
# slug: "custom-url-slug" # Optional: if default slug from title (Full Name) is not desired or needs sanitization for the URL.
7
+
image: "profile.jpg"# Profile image (square, e.g., 200x200px). Place in this contributor's folder. Essential for visual identity.
8
+
# slug: "custom-url-slug" # Optional: if the auto-generated URL from the title is not ideal.
9
9
social:
10
10
- icon: "fa-brands fa-linkedin"# Font Awesome icon class
11
11
link: "https://www.linkedin.com/in/username"
@@ -16,7 +16,7 @@ social:
16
16
- icon: "fa fa-house"# Or "fa-solid fa-globe" for a personal website/portfolio
17
17
link: "https://personal-website.com"
18
18
title: "website"
19
-
draft: true # Set to false once the profile is complete and ready to publish.
19
+
draft: true # Set to false once the profile is ready to publish.
20
20
---
21
21
22
22
More detailed information about the contributor can go here.
Copy file name to clipboardExpand all lines: archetypes/hacking-hours.md
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,26 @@
1
1
---
2
-
title: "Hacking Hours: {{ replace .Name "-" " " | title }}" #Hacking Hours Title: Clear & concise (50-60 chars). Include speaker/topic if possible for SEO.
2
+
title: "Hacking Hours: {{ replace .Name "-" " " | title }}" # Title: Clear & concise (50-60 chars). What topic and speaker will attract attendees?
3
3
author:
4
-
- "Speaker Name or Slug"# Match with a contributor profile title/slug. Add more authors if needed.
5
-
date: {{ .Date }} # Date of the hacking hours (YYYY-MM-DD).
4
+
- "Speaker Name or Slug"# Match with a contributor profile title/slug.
5
+
date: {{ .Date }} # Date of the event (YYYY-MM-DD).
6
6
start_time: "18:00"# Event start time (24-hour format HH:MM).
7
7
end_time: "19:30"# Event end time (24-hour format HH:MM).
8
8
time_zone: "CET"# Timezone (e.g., CET, CEST, EST, PST).
9
-
description: "Join us for an insightful hacking hours on [Topic] by [Speaker Name]. Discover [Key Takeaway 1] and explore [Key Takeaway 2] in neuromorphic computing."
9
+
# Meta Description (SEO) 120-160 characters:
10
+
# What are the 2-3 most important skills or insights someone will gain from this session?
11
+
# Why should someone invest their time to attend this event?
12
+
description: "Join us for a hands-on hacking hours on [Topic] with [Speaker Name]. You will learn how to [Key Takeaway 1] and explore [Key Takeaway 2]."
10
13
upcoming: true # Set to 'true' for future events. Change to 'false' after the event.
11
14
video: ""# After the event, add the YouTube video ID (e.g., "dQw4w9WgXcQ").
12
-
image: "hacking-hours-banner.png"# Main banner image (1200x630px ideal for sharing). Place in this hacking hours's folder.
13
-
speaker_photo: "speaker-photo.jpg"# Speaker's photo. Place in this hacking hours's folder.
14
-
type: "hacking-hours"# IMPORTANT: Do not change this line for hacking hours events.
15
-
speaker_bio: "A brief biography of the speaker. Highlight their expertise relevant to the hacking hours topic."
15
+
image: "hacking-hours-banner.png"# Main banner image for social sharing (1200x630px). Place in this folder.
16
+
speaker_photo: "speaker-photo.jpg"# Speaker's photo. Place in this folder.
17
+
type: "hacking-hours"# IMPORTANT: Do not change this line.
18
+
speaker_bio: "A brief biography of the speaker. What makes them the right person to talk about this topic?"
16
19
# Optional: Add the file name (slug) of any software pages this event is related to.
17
20
# e.g., ["spyx", "snntorch"]
18
21
software_tags: []
19
-
# Optional: Add links to slides, code, or notebooks if available after the hacking hours.
20
-
# Place these files in this hacking hours's folder and link them:
22
+
# Optional: Add links to slides, code, or notebooks if available after the event.
23
+
# Place these files in this folder and link them:
21
24
# speaker_slides: "slides.pdf"
22
25
# speaker_code: "https://github.com/example/repo" # External link
23
26
# speaker_notebook: "my-notebook.ipynb" # Place in folder
0 commit comments