Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3515685
feat: add a docs website for Coldark
ArmandPhilippot Mar 25, 2026
327730f
feat: add a workflow to deploy to GitHub Pages
ArmandPhilippot Mar 25, 2026
6f5208b
feat: disable pagination on the homepage
ArmandPhilippot Mar 25, 2026
5e5c624
fix: consolidate colors denomination from `coldark00` to `coldark07`
ArmandPhilippot Mar 26, 2026
965d8b4
fix: reorganize website colors to derivate them from Coldark colors
ArmandPhilippot Mar 26, 2026
1bcc036
feat: reorganize colors denomination from `coldark08` to `coldark15`
ArmandPhilippot Mar 26, 2026
0dc586c
docs: add changeset for colors reorganization
ArmandPhilippot Mar 26, 2026
996e6a0
fix: start updating website CSS manually
ArmandPhilippot Mar 27, 2026
1dd88f1
chore: reorganize styles and override more Starlight styles
ArmandPhilippot Mar 28, 2026
73f7176
revert: move color reorganization to dedicated branch
ArmandPhilippot Mar 28, 2026
83e197a
Merge branch 'main' into feat/docs-website
ArmandPhilippot Mar 29, 2026
48bc845
docs: write the about page
ArmandPhilippot Mar 29, 2026
f333c73
fix: consistent wording around variants/ports
ArmandPhilippot Mar 29, 2026
62cdd0d
fix: tweak an about page paragraph
ArmandPhilippot Mar 29, 2026
5800d22
fix: one more sentence tweak in the about page
ArmandPhilippot Mar 29, 2026
15b4af1
fix: rewrite about page description
ArmandPhilippot Mar 29, 2026
0f87c07
feat: add a Swatch component
ArmandPhilippot Apr 5, 2026
1166444
docs: rewrite bat port docs
ArmandPhilippot Apr 5, 2026
aaa41b8
ci: add a GitHub workflow for tests
ArmandPhilippot Apr 5, 2026
c28aae4
fix: use Starlight Steps component
ArmandPhilippot Apr 7, 2026
2708840
feat: introduce a new ColdarkHex component
ArmandPhilippot Apr 7, 2026
42454bc
fix: small adjustements
ArmandPhilippot Apr 7, 2026
7c9a206
feat: add an overview page for ports
ArmandPhilippot Apr 7, 2026
3dfb2c3
fix: convert ports to MDX and use Steps/ColdarkHex components
ArmandPhilippot Apr 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cspell/project-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ cpio
dircolors
dtterm
dvtm
eslintcache
Eterm
flac
gedit
Expand All @@ -20,9 +21,11 @@ MULTIHARDLINK
Nord
objc
pacman
Poldark
prereq
rmvb
rxvt
seti
Stackframe
svgz
tzst
Expand Down
75 changes: 75 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Deploy Website

permissions:
contents: read
pages: write
id-token: write

on:
push:
branches:
- main
paths:
- ".github/workflows/deploy-pages.yml"
- "package.json"
- "pnpm-lock.yaml"
- "pnpm-workspace.yaml"
- "website/**"
workflow_dispatch:

defaults:
run:
shell: bash

env:
CI: true
FORCE_COLOR: true

concurrency:
group: deploy-pages
cancel-in-progress: true

jobs:
build:
name: Build Website
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
cache: pnpm
node-version: 24.14.0

- name: Configure GitHub Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0

- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Build website
run: pnpm run website:build

- name: Upload Pages artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v4.0.0
with:
path: website/dist

deploy:
name: Deploy Website
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@5d6d0c8fb1398208bfc3292a3f2d2f14b574f213 # v4.0.5
44 changes: 44 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Tests
permissions: {}

on:
push:
branches:
- main
pull_request:

defaults:
run:
shell: bash

env:
CI: true
FORCE_COLOR: true

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
name: Tests
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
cache: pnpm
node-version: 24.14.0

- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Run tests
run: pnpm test
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# build output
dist/

# cache
.eslintcache
.npm
Expand All @@ -10,6 +13,9 @@ node_modules/
.env
!.env.example

# generated types
.astro/

# logs
*.log
npm-debug.log*
Expand Down
7 changes: 5 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
CHANGELOG.md
dist
node_modules
pnpm-lock.yaml
README.md

# Prettier adds unwanted line breaks when using html tags in a paragraph... and I don't like tables formatting.
*.md
*.mdx
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
12 changes: 12 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"cwd": "${workspaceFolder}/website",
"name": "Coldark website dev server",
"request": "launch",
"type": "node-terminal"
}
]
}
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@
"lint": "pnpm run \"/^lint:.*/\"",
"lint:formatting": "prettier . --check",
"lint:spelling": "cspell \"**\" --no-progress",
"prepare": "husky install"
"prepare": "husky",
"test": "pnpm -r --if-present test",
"test:coverage": "pnpm -r --if-present test:coverage",
"website:build": "pnpm --filter coldark-website build",
"website:dev": "pnpm --filter coldark-website dev",
"website:test": "pnpm --filter coldark-website test",
"website:test:coverage": "pnpm --filter coldark-website test:coverage"
},
"devDependencies": {
"@arphi/commitlint-config": "^1.0.7",
Expand Down
Loading
Loading