Molbap HF Staff commited on
Commit
b565d01
·
1 Parent(s): 2bc6c5c

migrate template

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. app/.astro/astro/content.d.ts +174 -0
  2. app/.astro/settings.json +5 -0
  3. app/.astro/types.d.ts +2 -0
  4. app/astro.config.mjs +62 -0
  5. app/dist/Bloatedness_visualizer.png +3 -0
  6. app/dist/_astro/KaTeX_AMS-Regular.BQhdFMY1.woff2 +0 -0
  7. app/dist/_astro/KaTeX_AMS-Regular.DMm9YOAa.woff +0 -0
  8. app/dist/_astro/KaTeX_AMS-Regular.DRggAlZN.ttf +0 -0
  9. app/dist/_astro/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf +0 -0
  10. app/dist/_astro/KaTeX_Caligraphic-Bold.BEiXGLvX.woff +0 -0
  11. app/dist/_astro/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2 +0 -0
  12. app/dist/_astro/KaTeX_Caligraphic-Regular.CTRA-rTL.woff +0 -0
  13. app/dist/_astro/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2 +0 -0
  14. app/dist/_astro/KaTeX_Caligraphic-Regular.wX97UBjC.ttf +0 -0
  15. app/dist/_astro/KaTeX_Fraktur-Bold.BdnERNNW.ttf +0 -0
  16. app/dist/_astro/KaTeX_Fraktur-Bold.BsDP51OF.woff +0 -0
  17. app/dist/_astro/KaTeX_Fraktur-Bold.CL6g_b3V.woff2 +0 -0
  18. app/dist/_astro/KaTeX_Fraktur-Regular.CB_wures.ttf +0 -0
  19. app/dist/_astro/KaTeX_Fraktur-Regular.CTYiF6lA.woff2 +0 -0
  20. app/dist/_astro/KaTeX_Fraktur-Regular.Dxdc4cR9.woff +0 -0
  21. app/dist/_astro/KaTeX_Main-Bold.Cx986IdX.woff2 +0 -0
  22. app/dist/_astro/KaTeX_Main-Bold.Jm3AIy58.woff +0 -0
  23. app/dist/_astro/KaTeX_Main-Bold.waoOVXN0.ttf +0 -0
  24. app/dist/_astro/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2 +0 -0
  25. app/dist/_astro/KaTeX_Main-BoldItalic.DzxPMmG6.ttf +0 -0
  26. app/dist/_astro/KaTeX_Main-BoldItalic.SpSLRI95.woff +0 -0
  27. app/dist/_astro/KaTeX_Main-Italic.3WenGoN9.ttf +0 -0
  28. app/dist/_astro/KaTeX_Main-Italic.BMLOBm91.woff +0 -0
  29. app/dist/_astro/KaTeX_Main-Italic.NWA7e6Wa.woff2 +0 -0
  30. app/dist/_astro/KaTeX_Main-Regular.B22Nviop.woff2 +0 -0
  31. app/dist/_astro/KaTeX_Main-Regular.Dr94JaBh.woff +0 -0
  32. app/dist/_astro/KaTeX_Main-Regular.ypZvNtVU.ttf +0 -0
  33. app/dist/_astro/KaTeX_Math-BoldItalic.B3XSjfu4.ttf +0 -0
  34. app/dist/_astro/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2 +0 -0
  35. app/dist/_astro/KaTeX_Math-BoldItalic.iY-2wyZ7.woff +0 -0
  36. app/dist/_astro/KaTeX_Math-Italic.DA0__PXp.woff +0 -0
  37. app/dist/_astro/KaTeX_Math-Italic.flOr_0UB.ttf +0 -0
  38. app/dist/_astro/KaTeX_Math-Italic.t53AETM-.woff2 +0 -0
  39. app/dist/_astro/KaTeX_SansSerif-Bold.CFMepnvq.ttf +0 -0
  40. app/dist/_astro/KaTeX_SansSerif-Bold.D1sUS0GD.woff2 +0 -0
  41. app/dist/_astro/KaTeX_SansSerif-Bold.DbIhKOiC.woff +0 -0
  42. app/dist/_astro/KaTeX_SansSerif-Italic.C3H0VqGB.woff2 +0 -0
  43. app/dist/_astro/KaTeX_SansSerif-Italic.DN2j7dab.woff +0 -0
  44. app/dist/_astro/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf +0 -0
  45. app/dist/_astro/KaTeX_SansSerif-Regular.BNo7hRIc.ttf +0 -0
  46. app/dist/_astro/KaTeX_SansSerif-Regular.CS6fqUqJ.woff +0 -0
  47. app/dist/_astro/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2 +0 -0
  48. app/dist/_astro/KaTeX_Script-Regular.C5JkGWo-.ttf +0 -0
  49. app/dist/_astro/KaTeX_Script-Regular.D3wIWfF6.woff2 +0 -0
  50. app/dist/_astro/KaTeX_Script-Regular.D5yQViql.woff +0 -0
app/.astro/astro/content.d.ts ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ declare module 'astro:content' {
2
+ interface Render {
3
+ '.mdx': Promise<{
4
+ Content: import('astro').MarkdownInstance<{}>['Content'];
5
+ headings: import('astro').MarkdownHeading[];
6
+ remarkPluginFrontmatter: Record<string, any>;
7
+ components: import('astro').MDXInstance<{}>['components'];
8
+ }>;
9
+ }
10
+ }
11
+
12
+ declare module 'astro:content' {
13
+ interface RenderResult {
14
+ Content: import('astro/runtime/server/index.js').AstroComponentFactory;
15
+ headings: import('astro').MarkdownHeading[];
16
+ remarkPluginFrontmatter: Record<string, any>;
17
+ }
18
+ interface Render {
19
+ '.md': Promise<RenderResult>;
20
+ }
21
+
22
+ export interface RenderedContent {
23
+ html: string;
24
+ metadata?: {
25
+ imagePaths: Array<string>;
26
+ [key: string]: unknown;
27
+ };
28
+ }
29
+ }
30
+
31
+ declare module 'astro:content' {
32
+ type Flatten<T> = T extends { [K: string]: infer U } ? U : never;
33
+
34
+ export type CollectionKey = keyof AnyEntryMap;
35
+ export type CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>;
36
+
37
+ export type ContentCollectionKey = keyof ContentEntryMap;
38
+ export type DataCollectionKey = keyof DataEntryMap;
39
+
40
+ type AllValuesOf<T> = T extends any ? T[keyof T] : never;
41
+ type ValidContentEntrySlug<C extends keyof ContentEntryMap> = AllValuesOf<
42
+ ContentEntryMap[C]
43
+ >['slug'];
44
+
45
+ /** @deprecated Use `getEntry` instead. */
46
+ export function getEntryBySlug<
47
+ C extends keyof ContentEntryMap,
48
+ E extends ValidContentEntrySlug<C> | (string & {}),
49
+ >(
50
+ collection: C,
51
+ // Note that this has to accept a regular string too, for SSR
52
+ entrySlug: E,
53
+ ): E extends ValidContentEntrySlug<C>
54
+ ? Promise<CollectionEntry<C>>
55
+ : Promise<CollectionEntry<C> | undefined>;
56
+
57
+ /** @deprecated Use `getEntry` instead. */
58
+ export function getDataEntryById<C extends keyof DataEntryMap, E extends keyof DataEntryMap[C]>(
59
+ collection: C,
60
+ entryId: E,
61
+ ): Promise<CollectionEntry<C>>;
62
+
63
+ export function getCollection<C extends keyof AnyEntryMap, E extends CollectionEntry<C>>(
64
+ collection: C,
65
+ filter?: (entry: CollectionEntry<C>) => entry is E,
66
+ ): Promise<E[]>;
67
+ export function getCollection<C extends keyof AnyEntryMap>(
68
+ collection: C,
69
+ filter?: (entry: CollectionEntry<C>) => unknown,
70
+ ): Promise<CollectionEntry<C>[]>;
71
+
72
+ export function getEntry<
73
+ C extends keyof ContentEntryMap,
74
+ E extends ValidContentEntrySlug<C> | (string & {}),
75
+ >(entry: {
76
+ collection: C;
77
+ slug: E;
78
+ }): E extends ValidContentEntrySlug<C>
79
+ ? Promise<CollectionEntry<C>>
80
+ : Promise<CollectionEntry<C> | undefined>;
81
+ export function getEntry<
82
+ C extends keyof DataEntryMap,
83
+ E extends keyof DataEntryMap[C] | (string & {}),
84
+ >(entry: {
85
+ collection: C;
86
+ id: E;
87
+ }): E extends keyof DataEntryMap[C]
88
+ ? Promise<DataEntryMap[C][E]>
89
+ : Promise<CollectionEntry<C> | undefined>;
90
+ export function getEntry<
91
+ C extends keyof ContentEntryMap,
92
+ E extends ValidContentEntrySlug<C> | (string & {}),
93
+ >(
94
+ collection: C,
95
+ slug: E,
96
+ ): E extends ValidContentEntrySlug<C>
97
+ ? Promise<CollectionEntry<C>>
98
+ : Promise<CollectionEntry<C> | undefined>;
99
+ export function getEntry<
100
+ C extends keyof DataEntryMap,
101
+ E extends keyof DataEntryMap[C] | (string & {}),
102
+ >(
103
+ collection: C,
104
+ id: E,
105
+ ): E extends keyof DataEntryMap[C]
106
+ ? Promise<DataEntryMap[C][E]>
107
+ : Promise<CollectionEntry<C> | undefined>;
108
+
109
+ /** Resolve an array of entry references from the same collection */
110
+ export function getEntries<C extends keyof ContentEntryMap>(
111
+ entries: {
112
+ collection: C;
113
+ slug: ValidContentEntrySlug<C>;
114
+ }[],
115
+ ): Promise<CollectionEntry<C>[]>;
116
+ export function getEntries<C extends keyof DataEntryMap>(
117
+ entries: {
118
+ collection: C;
119
+ id: keyof DataEntryMap[C];
120
+ }[],
121
+ ): Promise<CollectionEntry<C>[]>;
122
+
123
+ export function render<C extends keyof AnyEntryMap>(
124
+ entry: AnyEntryMap[C][string],
125
+ ): Promise<RenderResult>;
126
+
127
+ export function reference<C extends keyof AnyEntryMap>(
128
+ collection: C,
129
+ ): import('astro/zod').ZodEffects<
130
+ import('astro/zod').ZodString,
131
+ C extends keyof ContentEntryMap
132
+ ? {
133
+ collection: C;
134
+ slug: ValidContentEntrySlug<C>;
135
+ }
136
+ : {
137
+ collection: C;
138
+ id: keyof DataEntryMap[C];
139
+ }
140
+ >;
141
+ // Allow generic `string` to avoid excessive type errors in the config
142
+ // if `dev` is not running to update as you edit.
143
+ // Invalid collection names will be caught at build time.
144
+ export function reference<C extends string>(
145
+ collection: C,
146
+ ): import('astro/zod').ZodEffects<import('astro/zod').ZodString, never>;
147
+
148
+ type ReturnTypeOrOriginal<T> = T extends (...args: any[]) => infer R ? R : T;
149
+ type InferEntrySchema<C extends keyof AnyEntryMap> = import('astro/zod').infer<
150
+ ReturnTypeOrOriginal<Required<ContentConfig['collections'][C]>['schema']>
151
+ >;
152
+
153
+ type ContentEntryMap = {
154
+
155
+ };
156
+
157
+ type DataEntryMap = {
158
+ "assets": Record<string, {
159
+ id: string;
160
+ collection: "assets";
161
+ data: any;
162
+ }>;
163
+ "embeds": Record<string, {
164
+ id: string;
165
+ collection: "embeds";
166
+ data: any;
167
+ }>;
168
+
169
+ };
170
+
171
+ type AnyEntryMap = ContentEntryMap & DataEntryMap;
172
+
173
+ export type ContentConfig = never;
174
+ }
app/.astro/settings.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "_variables": {
3
+ "lastUpdateCheck": 1759311745643
4
+ }
5
+ }
app/.astro/types.d.ts ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ /// <reference types="astro/client" />
2
+ /// <reference path="astro/content.d.ts" />
app/astro.config.mjs ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { defineConfig } from 'astro/config';
2
+ import mdx from '@astrojs/mdx';
3
+ import svelte from '@astrojs/svelte';
4
+ import mermaid from 'astro-mermaid';
5
+ import compressor from 'astro-compressor';
6
+ import remarkMath from 'remark-math';
7
+ import rehypeKatex from 'rehype-katex';
8
+ import rehypeSlug from 'rehype-slug';
9
+ import rehypeAutolinkHeadings from 'rehype-autolink-headings';
10
+ import rehypeCodeCopy from './plugins/rehype/code-copy.mjs';
11
+ import remarkDirective from 'remark-directive';
12
+ import remarkOutputContainer from './plugins/remark/output-container.mjs';
13
+ import rehypeWrapTables from './plugins/rehype/wrap-tables.mjs';
14
+ import rehypeWrapOutput from './plugins/rehype/wrap-outputs.mjs';
15
+ // Built-in Shiki (dual themes) — no rehype-pretty-code
16
+
17
+ // Plugins moved to app/plugins/*
18
+
19
+ export default defineConfig({
20
+ output: 'static',
21
+ integrations: [
22
+ mermaid({ theme: 'forest', autoTheme: true }),
23
+ mdx(),
24
+ svelte(),
25
+ // Precompress output with Gzip only (Brotli disabled due to server module mismatch)
26
+ compressor({ brotli: false, gzip: true })
27
+ ],
28
+ devToolbar: {
29
+ enabled: false
30
+ },
31
+ markdown: {
32
+ shikiConfig: {
33
+ themes: {
34
+ light: 'github-light',
35
+ dark: 'github-dark'
36
+ },
37
+ defaultColor: false,
38
+ wrap: false,
39
+ langAlias: {
40
+ // Map MDX fences to TSX for better JSX tokenization
41
+ mdx: 'tsx'
42
+ }
43
+ },
44
+ remarkPlugins: [
45
+ remarkMath,
46
+ remarkDirective,
47
+ remarkOutputContainer
48
+ ],
49
+ rehypePlugins: [
50
+ rehypeSlug,
51
+ [rehypeAutolinkHeadings, { behavior: 'wrap' }],
52
+ [rehypeKatex, {
53
+ trust: true,
54
+ }],
55
+ rehypeCodeCopy,
56
+ rehypeWrapOutput,
57
+ rehypeWrapTables
58
+ ]
59
+ }
60
+ });
61
+
62
+
app/dist/Bloatedness_visualizer.png ADDED

Git LFS Details

  • SHA256: ea224af69bd6c008c670b4db7049c4c29e6447309a2353e48978756895e8f0be
  • Pointer size: 131 Bytes
  • Size of remote file: 474 kB
app/dist/_astro/KaTeX_AMS-Regular.BQhdFMY1.woff2 ADDED
Binary file (28.1 kB). View file
 
app/dist/_astro/KaTeX_AMS-Regular.DMm9YOAa.woff ADDED
Binary file (33.5 kB). View file
 
app/dist/_astro/KaTeX_AMS-Regular.DRggAlZN.ttf ADDED
Binary file (63.6 kB). View file
 
app/dist/_astro/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf ADDED
Binary file (12.4 kB). View file
 
app/dist/_astro/KaTeX_Caligraphic-Bold.BEiXGLvX.woff ADDED
Binary file (7.72 kB). View file
 
app/dist/_astro/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2 ADDED
Binary file (6.91 kB). View file
 
app/dist/_astro/KaTeX_Caligraphic-Regular.CTRA-rTL.woff ADDED
Binary file (7.66 kB). View file
 
app/dist/_astro/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2 ADDED
Binary file (6.91 kB). View file
 
app/dist/_astro/KaTeX_Caligraphic-Regular.wX97UBjC.ttf ADDED
Binary file (12.3 kB). View file
 
app/dist/_astro/KaTeX_Fraktur-Bold.BdnERNNW.ttf ADDED
Binary file (19.6 kB). View file
 
app/dist/_astro/KaTeX_Fraktur-Bold.BsDP51OF.woff ADDED
Binary file (13.3 kB). View file
 
app/dist/_astro/KaTeX_Fraktur-Bold.CL6g_b3V.woff2 ADDED
Binary file (11.3 kB). View file
 
app/dist/_astro/KaTeX_Fraktur-Regular.CB_wures.ttf ADDED
Binary file (19.6 kB). View file
 
app/dist/_astro/KaTeX_Fraktur-Regular.CTYiF6lA.woff2 ADDED
Binary file (11.3 kB). View file
 
app/dist/_astro/KaTeX_Fraktur-Regular.Dxdc4cR9.woff ADDED
Binary file (13.2 kB). View file
 
app/dist/_astro/KaTeX_Main-Bold.Cx986IdX.woff2 ADDED
Binary file (25.3 kB). View file
 
app/dist/_astro/KaTeX_Main-Bold.Jm3AIy58.woff ADDED
Binary file (29.9 kB). View file
 
app/dist/_astro/KaTeX_Main-Bold.waoOVXN0.ttf ADDED
Binary file (51.3 kB). View file
 
app/dist/_astro/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2 ADDED
Binary file (16.8 kB). View file
 
app/dist/_astro/KaTeX_Main-BoldItalic.DzxPMmG6.ttf ADDED
Binary file (33 kB). View file
 
app/dist/_astro/KaTeX_Main-BoldItalic.SpSLRI95.woff ADDED
Binary file (19.4 kB). View file
 
app/dist/_astro/KaTeX_Main-Italic.3WenGoN9.ttf ADDED
Binary file (33.6 kB). View file
 
app/dist/_astro/KaTeX_Main-Italic.BMLOBm91.woff ADDED
Binary file (19.7 kB). View file
 
app/dist/_astro/KaTeX_Main-Italic.NWA7e6Wa.woff2 ADDED
Binary file (17 kB). View file
 
app/dist/_astro/KaTeX_Main-Regular.B22Nviop.woff2 ADDED
Binary file (26.3 kB). View file
 
app/dist/_astro/KaTeX_Main-Regular.Dr94JaBh.woff ADDED
Binary file (30.8 kB). View file
 
app/dist/_astro/KaTeX_Main-Regular.ypZvNtVU.ttf ADDED
Binary file (53.6 kB). View file
 
app/dist/_astro/KaTeX_Math-BoldItalic.B3XSjfu4.ttf ADDED
Binary file (31.2 kB). View file
 
app/dist/_astro/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2 ADDED
Binary file (16.4 kB). View file
 
app/dist/_astro/KaTeX_Math-BoldItalic.iY-2wyZ7.woff ADDED
Binary file (18.7 kB). View file
 
app/dist/_astro/KaTeX_Math-Italic.DA0__PXp.woff ADDED
Binary file (18.7 kB). View file
 
app/dist/_astro/KaTeX_Math-Italic.flOr_0UB.ttf ADDED
Binary file (31.3 kB). View file
 
app/dist/_astro/KaTeX_Math-Italic.t53AETM-.woff2 ADDED
Binary file (16.4 kB). View file
 
app/dist/_astro/KaTeX_SansSerif-Bold.CFMepnvq.ttf ADDED
Binary file (24.5 kB). View file
 
app/dist/_astro/KaTeX_SansSerif-Bold.D1sUS0GD.woff2 ADDED
Binary file (12.2 kB). View file
 
app/dist/_astro/KaTeX_SansSerif-Bold.DbIhKOiC.woff ADDED
Binary file (14.4 kB). View file
 
app/dist/_astro/KaTeX_SansSerif-Italic.C3H0VqGB.woff2 ADDED
Binary file (12 kB). View file
 
app/dist/_astro/KaTeX_SansSerif-Italic.DN2j7dab.woff ADDED
Binary file (14.1 kB). View file
 
app/dist/_astro/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf ADDED
Binary file (22.4 kB). View file
 
app/dist/_astro/KaTeX_SansSerif-Regular.BNo7hRIc.ttf ADDED
Binary file (19.4 kB). View file
 
app/dist/_astro/KaTeX_SansSerif-Regular.CS6fqUqJ.woff ADDED
Binary file (12.3 kB). View file
 
app/dist/_astro/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2 ADDED
Binary file (10.3 kB). View file
 
app/dist/_astro/KaTeX_Script-Regular.C5JkGWo-.ttf ADDED
Binary file (16.6 kB). View file
 
app/dist/_astro/KaTeX_Script-Regular.D3wIWfF6.woff2 ADDED
Binary file (9.64 kB). View file
 
app/dist/_astro/KaTeX_Script-Regular.D5yQViql.woff ADDED
Binary file (10.6 kB). View file