Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ pnpm-debug.log*
src/pages/writing/*/
src/pages/projects/*/
public/figures/
.pixi/
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
.PHONY: install dev build preview check banner post

# ── npm ───────────────────────────────────────────────────────────────────────
# ── environment ───────────────────────────────────────────────────────────────

install:
npm install
pixi run install

dev:
npm run dev
pixi run dev

build:
npm run build
pixi run build

preview:
npm run preview
pixi run preview

check:
npm run check
pixi run check

# ── assets ────────────────────────────────────────────────────────────────────

banner:
node scripts/gen-banner.mjs
pixi run banner

# ── content ───────────────────────────────────────────────────────────────────
#
Expand All @@ -33,4 +33,4 @@ ifndef TITLE
$(error TITLE is required. make post TITLE="my title" TAG="debugging" TYPE=note)
endif
@chmod +x scripts/new-post.sh
@scripts/new-post.sh "$(TITLE)" "$(or $(TAG),field note)" "$(or $(TYPE),note)"
@pixi run node scripts/new-post.sh "$(TITLE)" "$(or $(TAG),field note)" "$(or $(TYPE),note)"
4 changes: 3 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import tailwindcss from '@tailwindcss/vite';
import path from 'path';
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex';

export default defineConfig({
site: 'https://viniciusdc.github.io',
integrations: [mdx()],
integrations: [mdx({ remarkPlugins: [remarkMath], rehypePlugins: [rehypeKatex] })],
devToolbar: { enabled: false },
vite: {
plugins: [tailwindcss()],
Expand Down
8 changes: 5 additions & 3 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"keycloak", "oidc", "oauth", "saml", "jwt", "jwks",
"fastapi", "pydantic", "scrapy", "uvicorn",
"vinicius", "cerutti", "Ceture", "viniciusdc", "Catarina", "UFSC",
"astro", "tailwind", "shadcn", "fontsource", "lhci",
"astro", "tailwind", "shadcn", "fontsource", "lhci", "lightbox",
"woff", "woff2", "oklch", "rgb", "rgba", "hsl",
"clamp", "minmax", "prefers",
"nebari", "jmespath", "snistrict",
Expand Down Expand Up @@ -39,9 +39,11 @@
"semidefinite", "semidefiniteness",
"Barzilai", "Borwein",
"nonmonotone", "GLL",
"Hessian", "quasi-Newton",
"Hessian", "quasi-Newton", "eigencomponents",
"mathbb", "mathbf", "mathcal", "bigl", "bigr",
"NMR", "PDB", "crystallography",
"Gram"
"Gram", "Schoenberg", "Wüthrich", "ChimeraX", "PIBIC", "RMSD", "MDE", "RCSB",
"PGDm", "Gonçalves", "Birgin", "Martínez", "Raydan", "UCSF"
],
"ignorePaths": [
"node_modules/**",
Expand Down
Loading