Contribute: Content

Write series, chapters, or articles that make STEM accessible for learners in SEA.

Adding content

Recommended: Use the CLI Wizard

We have a built-in tool that handles file creation and configuration for you. Run this command in your terminal:

pnpm run compose

(Make sure you have pnpm installed)

If you prefer to work manually, follow the steps below.

New series

  1. Create src/data/series/<series-slug>.ts. Export seriesSlug, title and description (each { en, bn }), and chapters. Copy contributing-to-open-source-a-practical-guide.ts as a template.
  2. In src/data/series/index.ts: add one import and one line to the seriesList array: { slug, title, description, chapters }. Done—hub and landing pages appear automatically.

Chapters in an existing series

  1. Edit src/data/series/<series-slug>.ts and append a new entry to the chapters array with slug, title, titleBn, description, descriptionBn. Use kebab-case for slug.
  2. Chapter body content: create a file at src/content/series/<series-slug>/<chapter-slug>.mdx. This will automatically replace the placeholder on the chapter page.

Updating content

  • Series or chapter metadata (title, description, order): edit the corresponding file in src/data/series/. Reorder by changing the order of items in the chapters array.
  • Series title or description (EN/BN): edit the title or description export in that series’ file under src/data/series/.
  • Chapter body: once MDX/content is wired, edit the matching .mdx file under src/content/series/<series-slug>/.

Fork the repo, make your changes, and open a PR. For large new series, an issue or discussion first can help align with the roadmap.