Add profiles and localization for Björn Blomberg's CV

- Created new profile files for various programming languages (embedded, Go, Java, web, C++, C#, etc.) in both English and Swedish.
- Added localization support with YAML files for English and Swedish, including meta information, sections, labels, and sidebar content.
- Developed a template for rendering the CV with a structured layout, including sections for profile, experience, education, and skills.
- Implemented build scripts for compiling Typst files into PDF format for both PowerShell and shell environments.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Björn Blomberg
2026-05-08 13:41:14 +02:00
parent 849b98614a
commit 4d4ce3469d
56 changed files with 285276 additions and 1 deletions

24
tools/build-all.ps1 Normal file
View File

@@ -0,0 +1,24 @@
$repoRoot = Split-Path -Parent $PSScriptRoot
$typstPath = (Get-Command typst -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty Source)
if (-not $typstPath) {
$fallback = Get-ChildItem "$env:LOCALAPPDATA\Microsoft\WinGet\Packages\Typst.Typst_*" -Recurse -Filter typst.exe -ErrorAction SilentlyContinue |
Select-Object -First 1 -ExpandProperty FullName
$typstPath = $fallback
}
if (-not $typstPath) {
throw "Typst CLI hittades inte. Installera Typst och kör sedan skriptet igen."
}
$files = Get-ChildItem (Join-Path $repoRoot "publishing") -Recurse -Filter *.typ | Sort-Object FullName
foreach ($file in $files) {
$output = [System.IO.Path]::ChangeExtension($file.FullName, ".pdf")
Write-Host "Compiling $($file.FullName)"
& $typstPath compile --root $repoRoot $file.FullName $output
if ($LASTEXITCODE -ne 0) {
exit $LASTEXITCODE
}
}

17
tools/build-all.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env sh
set -eu
REPO_ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
if command -v typst >/dev/null 2>&1; then
TYPST=typst
else
echo "Typst CLI was not found in PATH." >&2
exit 1
fi
find "$REPO_ROOT/publishing" -type f -name '*.typ' | sort | while IFS= read -r file; do
output="${file%.typ}.pdf"
echo "Compiling $file"
"$TYPST" compile --root "$REPO_ROOT" "$file" "$output"
done