The website for C3 made with Astro! https://c3-lang.org/
  • Astro 49.6%
  • MDX 40.9%
  • CSS 6.5%
  • JavaScript 1.9%
  • TypeScript 0.7%
  • Other 0.4%
Find a file
Christoffer Lerno bb8f17cb81 Fix typo
2026-03-05 14:12:59 +01:00
.github/workflows Astro workflow for github pages build 2024-01-07 17:41:45 +03:00
.vscode Update settings.json 2024-02-18 12:41:29 +03:00
public adjusting image paths 2025-07-11 12:56:57 +01:00
src Fix typo 2026-03-05 14:12:59 +01:00
.gitignore Update .gitignore 2025-01-20 14:47:25 +01:00
astro.config.mjs docs redirect 2025-06-29 23:28:45 +01:00
c3-grammar.json updatea any syntax in function vaarg section, fix discrepancies in the Standard Library page, and update syntax highlighter grammar (#171) 2025-12-03 01:15:15 +01:00
CNAME Create CNAME 2024-02-18 12:42:04 +03:00
flake.lock Added flake.nix for any users using Nix or NixOS. (#114) 2025-03-05 17:41:34 +01:00
flake.nix Added flake.nix for any users using Nix or NixOS. (#114) 2025-03-05 17:41:34 +01:00
LICENSE Initial commit 2024-01-07 17:40:27 +03:00
package-lock.json preparing for blog feature (#128) 2025-05-27 23:15:46 +02:00
package.json preparing for blog feature (#128) 2025-05-27 23:15:46 +02:00
README.md preparing for blog feature (#128) 2025-05-27 23:15:46 +02:00
tailwind.config.cjs preparing for blog feature (#128) 2025-05-27 23:15:46 +02:00
tsconfig.json preparing for blog feature (#128) 2025-05-27 23:15:46 +02:00

Essence logo

C3-Web

The C3 Website made with Astro, TailwindCSS and Starlight.

Get Started

After cloning the repository with git clone, you can run npm run dev and that's it!

Project Structure

📦c3
 ┣ 📂public
 ┣ 📂src
 ┃ ┣ 📂components
 ┃ ┣ 📂content
 ┃ ┃ ┣ 📂docs
 ┃ ┃ ┃ ┗ 📂guide
 ┃ ┃ ┗ 📜config.js
 ┃ ┣ 📂pages
 ┃ ┃ ┗ 📜index.astro
 ┃ ┗ 📜env.d.ts
 ┣ 📜.gitignore
 ┣ 📜astro.config.mjs
 ┣ 📜package.json
 ┣ 📜tailwind.config.cjs
 ┗ 📜tsconfig.json

Contribution

If you want to contribute to this project, you can do so by forking this repository and creating a pull request.

Adding Documentation content

Navigate to one of the following folders: src/content/docs/guide or src/content/docs/references

create a file ending in .mdx (or .md) (or edit one that already exists)

and lastly add a little bit of a header on top of whatever markdown content you have, one that looks like this (for SEO and visibility on the website)

---
title: the C3 Handbook
description: A guide to the C3 Programming Language
---
and after the `---` everything else is just plain old markdown!

Please visit the Starlight Docs for more info.