mirror of
https://github.com/c3lang/c3-web.git
synced 2026-03-06 21:46:51 -06:00
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%
| .github/workflows | ||
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| astro.config.mjs | ||
| c3-grammar.json | ||
| CNAME | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
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.