Skip to content

Commit 37aebec

Browse files
committed
docs: added LaTeX math notation to scoring methodology and dimensions
- installed remark-math + rehype-katex, configured astro markdown plugins - rewrote methodology doc with verified formulas: composite score, format deduction model, keyword matching (3 strategies), quantification derivation, quirk adjustments - rewrote dimensions doc with per-platform weight tables and formulas - fixed 5 → 6 dimensions (quantification was missing from old docs) - added KaTeX CSS fixes for Starlight SVG conflicts - added Sunny Patel attribution - every formula and number verified with Python (4 separate passes)
1 parent 80e8818 commit 37aebec

File tree

6 files changed

+598
-93
lines changed

6 files changed

+598
-93
lines changed

docs/astro.config.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
// @ts-check
22
import { defineConfig } from 'astro/config';
33
import starlight from '@astrojs/starlight';
4+
import remarkMath from 'remark-math';
5+
import rehypeKatex from 'rehype-katex';
46

57
// https://astro.build/config
68
export default defineConfig({
79
site: 'https://ats-screener.vercel.app',
810
base: '/docs',
11+
markdown: {
12+
remarkPlugins: [remarkMath],
13+
rehypePlugins: [rehypeKatex]
14+
},
915
integrations: [
1016
starlight({
1117
title: 'ATS Screener',
@@ -33,6 +39,14 @@ export default defineConfig({
3339
baseUrl: 'https://github.com/sunnypatell/ats-screener/edit/main/docs/'
3440
},
3541
head: [
42+
{
43+
tag: 'link',
44+
attrs: {
45+
rel: 'stylesheet',
46+
href: 'https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css',
47+
crossorigin: 'anonymous'
48+
}
49+
},
3650
{
3751
tag: 'meta',
3852
attrs: {

docs/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"dependencies": {
1313
"@astrojs/starlight": "^0.37.6",
1414
"astro": "^5.6.1",
15+
"rehype-katex": "^7.0.1",
16+
"remark-math": "^6.0.0",
1517
"sharp": "^0.34.2"
1618
}
1719
}

docs/pnpm-lock.yaml

Lines changed: 97 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)