Mirror of
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

use lunaria integration

+35 -50
+4 -6
pnpm-lock.yaml
··· 29 29 '@fontsource-variable/jetbrains-mono': 30 30 specifier: ^5.0.21 31 31 version: 5.1.1 32 + '@lunariajs/core': 33 + specifier: ^0.1.1 34 + version: 0.1.1 32 35 '@lunariajs/starlight': 33 36 specifier: ^0.1.1 34 37 version: 0.1.1(@astrojs/starlight@0.32.5(astro@5.5.6(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)))(astro@5.5.6(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) ··· 2198 2201 typescript: ^4.9.4 || ^5.0.2 2199 2202 zod: ^3 2200 2203 2201 - zod@3.23.8: 2202 - resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} 2203 - 2204 2204 zod@3.24.2: 2205 2205 resolution: {integrity: sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==} 2206 2206 ··· 2623 2623 picocolors: 1.1.1 2624 2624 simple-git: 3.27.0 2625 2625 ultramatter: 0.0.4 2626 - zod: 3.23.8 2626 + zod: 3.24.2 2627 2627 transitivePeerDependencies: 2628 2628 - supports-color 2629 2629 ··· 4930 4930 dependencies: 4931 4931 typescript: 5.7.2 4932 4932 zod: 3.24.2 4933 - 4934 - zod@3.23.8: {} 4935 4933 4936 4934 zod@3.24.2: {} 4937 4935
+4
starlight/astro.config.mjs
··· 1 1 import starlight from "@astrojs/starlight"; 2 + import lunaria from "@lunariajs/starlight"; 2 3 import { defineConfig } from "astro/config"; 3 4 import rehypeMathjax from "rehype-mathjax"; 4 5 import remarkMath from "remark-math"; ··· 52 53 TableOfContents: "./src/components/TableOfContents.astro", 53 54 }, 54 55 plugins: [ 56 + lunaria({ 57 + sync: true, 58 + }), 55 59 starlightViewModes({ 56 60 zenModeSettings: { 57 61 keyboardShortcut: "Ctrl+Shift+Z",
+25 -21
starlight/lunaria.config.json
··· 4 4 "name": "trueberryless-org/mutanuq", 5 5 "rootDir": "starlight" 6 6 }, 7 - "files": [ 8 - { 9 - "location": "src/content/docs/**/*.{md,mdx}", 10 - "pattern": "src/content/docs/@lang/@path", 11 - "type": "universal" 12 - } 13 - ], 14 - "defaultLocale": { 15 - "label": "English", 16 - "lang": "en" 17 - }, 18 - "locales": [ 19 - { 20 - "label": "Deutsch", 21 - "lang": "de" 22 - } 23 - ], 24 7 "dashboard": { 25 8 "title": "Mutanuq Translation Status", 26 9 "description": "Translation progress tracker for the Mutanuq site. See how much has been translated in your language and get involved!", ··· 32 15 } 33 16 ] 34 17 }, 35 - "customCss": ["./lunaria/styles.css"], 36 - "basesToHide": ["src/content/docs/"], 18 + "customCss": [ 19 + "./lunaria/styles.css" 20 + ], 21 + "basesToHide": [ 22 + "src/content/docs/" 23 + ], 37 24 "ui": { 38 25 "statusByLocale.heading": "Translation progress by locale", 39 26 "statusByLocale.incompleteLocalizationLink": "incomplete translation", ··· 50 37 "i18nReady", 51 38 "i18nIgnore" 52 39 ], 53 - "renderer": "./lunaria/renderer.config.ts" 54 - } 40 + "renderer": "./lunaria/renderer.config.ts", 41 + "files": [ 42 + { 43 + "location": "src/content/docs/**/*.{md,mdx}", 44 + "pattern": "src/content/docs/@lang/@path", 45 + "type": "universal" 46 + } 47 + ], 48 + "locales": [ 49 + { 50 + "label": "English", 51 + "lang": "en" 52 + } 53 + ], 54 + "defaultLocale": { 55 + "label": "Deutsch", 56 + "lang": "de" 57 + } 58 + }
-6
starlight/lunaria/Dockerfile
··· 1 - FROM nginx:latest AS runtime 2 - COPY /starlight/lunaria/nginx.conf /etc/nginx/nginx.conf 3 - COPY /starlight/dist/lunaria /usr/share/nginx/html 4 - EXPOSE 80 5 - EXPOSE 443 6 - CMD ["nginx", "-g", "daemon off;"]
-13
starlight/lunaria/nginx.conf
··· 1 - events {} 2 - 3 - http { 4 - server { 5 - listen 80; 6 - server_name _; 7 - 8 - location / { 9 - root /usr/share/nginx/html; 10 - try_files $uri $uri/ /index.html; 11 - } 12 - } 13 - }
+2 -4
starlight/package.json
··· 7 7 "build": "astro build", 8 8 "dev": "astro dev --port 4444", 9 9 "devo": "npm run open-browser && astro dev --port 4444", 10 - "lunaria:build": "lunaria build", 11 - "lunaria:preview": "lunaria preview", 12 10 "open-browser": "start http://localhost:4444", 13 - "preview": "astro preview", 14 - "start": "astro dev" 11 + "preview": "astro preview --port 4444" 15 12 }, 16 13 "dependencies": { 17 14 "@11ty/eleventy-fetch": "^4.0.1", 18 15 "@astrojs/starlight": "^0.32.5", 19 16 "@fontsource-variable/jetbrains-mono": "^5.0.21", 17 + "@lunariajs/core": "^0.1.1", 20 18 "@lunariajs/starlight": "^0.1.1", 21 19 "@zachleat/table-saw": "^1.0.6", 22 20 "astro": "^5.5.6",