@lupinum/ginko-docs 0.3.0-rc.3 → 0.3.0-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Matthias Amon
3
+ Copyright (c) 2024-present Lupinum OG and contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,169 +1,78 @@
1
- # Ginko Docs
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/lupinum-dev/ginko-docs/main/docs/public/web-app-manifest-512x512.png" width="128" alt="Ginko Docs icon">
3
+ </p>
2
4
 
3
- Ginko Docs is a Nuxt layer for focused documentation sites. It combines Ginko Content collections with a documentation shell, navigation, search, localization, SEO, social images, optional blog routes, and agent-readable Markdown surfaces.
5
+ <h1 align="center">@lupinum/ginko-docs</h1>
4
6
 
5
- ## Requirements
7
+ <p align="center">Add a complete documentation experience to a Nuxt application through one reusable layer.</p>
6
8
 
7
- - Node.js `^22.18.0 || ^24.11.0 || >=26.0.0`
8
- - Nuxt `>=4.4.7 <5`
9
- - Vue `^3.5.35`
10
- - Vue Router `^5.1.0`
11
- - Ginko Content `>=0.4.0-rc.1 <0.5.0`
9
+ <p align="center">
10
+ <a href="https://www.npmjs.com/package/@lupinum/ginko-docs"><img src="https://img.shields.io/npm/v/@lupinum/ginko-docs?color=00DC82" alt="npm version"></a>
11
+ <a href="https://github.com/lupinum-dev/ginko-docs/actions/workflows/ci.yml"><img src="https://github.com/lupinum-dev/ginko-docs/actions/workflows/ci.yml/badge.svg" alt="CI status"></a>
12
+ <a href="https://github.com/lupinum-dev/ginko-docs/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT license"></a>
13
+ </p>
12
14
 
13
- ## Install
15
+ > [!WARNING]
16
+ > This package is pre-1.0. Install `0.3.0-rc.5` from the npm `next` channel for evaluation.
14
17
 
15
- Install the layer and its Ginko Content peer:
18
+ ## Purpose
16
19
 
17
- ```bash
18
- pnpm add -D @lupinum/ginko-docs@0.3.0-rc.3 @lupinum/ginko-content@0.4.0-rc.1
19
- ```
20
+ Use this package when a Nuxt application needs documentation routes, navigation, search, localization, metadata, social images, feedback, and agent-readable content. The layer provides the interface while the consuming application keeps ownership of its content and identity.
20
21
 
21
- Keep the public identity in one shared value:
22
+ ## Requirements
22
23
 
23
- ```json [site.json]
24
- {
25
- "name": "Example Docs",
26
- "description": "Documentation for Example.",
27
- "url": "https://docs.example.com"
28
- }
29
- ```
24
+ - Node.js 22.18, 24.11, or 26 and later maintenance releases
25
+ - Nuxt 4.5.1 or later in the Nuxt 4 line
26
+ - Vue 3.5.35 or later
27
+ - Ginko Content 0.4 prerelease or later in the 0.4 line
30
28
 
31
- Extend the layer and configure the canonical origin:
29
+ ## Installation
32
30
 
33
- ```ts [nuxt.config.ts]
34
- import site from "./site.json" with { type: "json" };
31
+ ```bash
32
+ pnpm add -D @lupinum/ginko-docs@0.3.0-rc.5 @lupinum/ginko-content@0.4.0-rc.2
33
+ ```
35
34
 
35
+ ```ts
36
36
  export default defineNuxtConfig({
37
37
  extends: ["@lupinum/ginko-docs"],
38
- site: { url: site.url },
39
- i18n: { baseUrl: site.url },
38
+ site: { url: "https://docs.example.com" },
39
+ i18n: { baseUrl: "https://docs.example.com" },
40
40
  });
41
41
  ```
42
42
 
43
- Define the content collections in `content.config.ts`:
43
+ ## Quick start
44
44
 
45
- ```ts [content.config.ts]
45
+ ```ts
46
46
  import { defineGinkoDocsConfig } from "@lupinum/ginko-docs/content";
47
- import site from "./site.json" with { type: "json" };
48
47
 
49
48
  export default defineGinkoDocsConfig({
50
- site,
49
+ site: {
50
+ name: "Example Docs",
51
+ description: "Documentation for Example.",
52
+ url: "https://docs.example.com",
53
+ },
51
54
  locales: ["en"],
52
55
  blog: false,
53
56
  });
54
57
  ```
55
58
 
56
- Single-locale documentation belongs in `content/docs`. Add a first page:
57
-
58
- ```md [content/docs/1.introduction.md]
59
- ---
60
- title: Introduction
61
- description: Learn what Example does and how to use it.
62
- ---
63
-
64
- Example solves ...
65
- ```
66
-
67
- The bare `/docs` route redirects to the first navigable document.
68
-
69
- ## Set the public identity
70
-
71
- Presentation settings live in `app/app.config.ts`:
72
-
73
- ```ts [app/app.config.ts]
74
- import site from "../site.json";
75
-
76
- export default defineAppConfig({
77
- ginkoDocs: {
78
- site: {
79
- name: { en: site.name },
80
- description: { en: site.description },
81
- url: site.url,
82
- logo: { light: "/logo.svg", dark: "/logo-dark.svg" },
83
- docsSidebarSwitcher: "tabs",
84
- lupinumAttribution: true,
85
- },
86
- nav: { links: "auto" },
87
- banner: { enabled: false, id: "default", showOnLanding: true },
88
- feedback: { enabled: false },
89
- toc: { depth: 3 },
90
- },
91
- });
92
- ```
93
-
94
- Localized values use `{ en, de? }`. Use English as the default locale; supported content layouts are English-only and bilingual English/German.
95
-
96
- Set the production URL once in `site.json`, then pass it to the content configuration, app configuration, Nuxt Site configuration, and Nuxt i18n `baseUrl`. JSON keeps the shared identity portable across each configuration loader. The layer uses it for canonical links, structured data, social cards, and agent catalogs.
97
-
98
- ## Enable the blog
99
-
100
- Set `blog: true` in `defineGinkoDocsConfig`. That single option creates the `blog` and `authors` collections and keeps the blog routes in the generated Nuxt application.
101
-
102
- Blog posts are flat Markdown files under `content/2.blog` for an English-only site, or the corresponding locale directory for a bilingual site. Each post requires `title`, `description`, `date`, `readingTime`, and an `author` reference. Author records live under `authors` and require `slug`, `name`, `role`, `bio`, and `avatar`.
103
-
104
- ## Customize presentation
105
-
106
- Use Nuxt's normal application directories. A consumer can replace `app/pages/index.vue`, layouts, or a stable shell component by providing the same component name:
107
-
108
- - `SiteHeader`, `SiteFooter`, `SiteBanner`, `SiteLogoMark`
109
- - `SiteLocaleSwitcher`, `SiteInteractionLayer`, `DocsSidebar`
110
-
111
- Load consumer theme CSS from an app plugin so it follows the layer styles without replacing Nuxt's merged `css` array.
112
-
113
- To add an authored MDC component, extend the exported tag map and declare its static render policy:
114
-
115
- ```ts [nuxt.config.ts]
116
- import { ginkoDocsComponentTags } from "@lupinum/ginko-docs/components";
117
-
118
- export default defineNuxtConfig({
119
- content: {
120
- componentPolicy: {
121
- components: {
122
- "api-playground": {
123
- kind: "block",
124
- props: {
125
- method: { type: "string", required: true },
126
- path: { type: "string", required: true },
127
- },
128
- slots: ["default"],
129
- media: null,
130
- },
131
- },
132
- },
133
- markdown: {
134
- tags: {
135
- ...ginkoDocsComponentTags,
136
- "api-playground": "MdcApiPlayground",
137
- },
138
- },
139
- },
140
- });
141
- ```
142
-
143
- Register the Vue component globally because Markdown resolves component targets dynamically. Register a serializer through `@lupinum/ginko-content/agent-registry` when copied and raw Markdown needs a representation other than the default XML-style component output.
144
-
145
- ## Agent and discovery surfaces
59
+ Put Markdown files in `content/docs`. Open `/docs` after the Nuxt server starts.
146
60
 
147
- Every deployment can include the prerendered routes and assets:
61
+ ## Exports
148
62
 
149
- - `/raw/**.md`
150
- - `/llms.txt` and `/llms-full.txt`
151
- - localized LLM catalogs
152
- - sitemap, robots, and PNG social images
63
+ - `@lupinum/ginko-docs` is the Nuxt layer entry.
64
+ - `@lupinum/ginko-docs/content` exports `defineGinkoDocsConfig`.
65
+ - `@lupinum/ginko-docs/app-config` exports application configuration types.
66
+ - `@lupinum/ginko-docs/components` exports the public MDC component contract.
153
67
 
154
- A Nitro server also provides request-time `Accept: text/markdown` negotiation, response link headers, and `/mcp`. The MCP server exposes read-only `list-pages` and `get-page` tools. Plain static hosting cannot provide those request-time behaviors.
68
+ ## Documentation
155
69
 
156
- The `markdownActions` app settings change the page menu only; they do not disable agent routes.
70
+ Read the [Ginko Docs documentation](https://ginko-docs.lupinum.com) and the [root README](https://github.com/lupinum-dev/ginko-docs#readme).
157
71
 
158
- ## Public exports
72
+ ## Support and security
159
73
 
160
- | Export | Contents |
161
- | -------------------------------- | ------------------------------------------------------------- |
162
- | `@lupinum/ginko-docs` | Nuxt layer entry |
163
- | `@lupinum/ginko-docs/content` | `defineGinkoDocsConfig` |
164
- | `@lupinum/ginko-docs/app-config` | App-configuration types |
165
- | `@lupinum/ginko-docs/components` | Tag map, component names, component policy, and related types |
74
+ Use [GitHub issues](https://github.com/lupinum-dev/ginko-docs/issues) or the [Lupinum OSS Discord](https://discord.gg/RPH6SeA36N) for support. Report vulnerabilities through the [private security process](https://github.com/lupinum-dev/ginko-docs/security/policy).
166
75
 
167
76
  ## License
168
77
 
169
- [MIT](./LICENSE)
78
+ Released by [Lupinum OG](https://lupinum.com) under the [MIT License](https://github.com/lupinum-dev/ginko-docs/blob/main/LICENSE).
package/app/app.config.ts CHANGED
@@ -18,6 +18,7 @@ export default {
18
18
  logo: { light: "/logo.svg", dark: "/logo-dark.svg" },
19
19
  docsSidebarSwitcher: "tabs",
20
20
  lupinumAttribution: true,
21
+ legalLinks: [],
21
22
  },
22
23
  nav: { links: "auto", socialIcons: false },
23
24
  banner: {
@@ -61,17 +61,29 @@ const resources = computed(() => [
61
61
  © <NuxtTime :datetime="currentYearDate" year="numeric" /> {{ site.name }}.
62
62
  {{ t("site.footer") }}
63
63
  </p>
64
- <p v-if="site.lupinumAttribution">
65
- {{ t("site.openSourceBy") }}
66
- <a
67
- href="https://lupinum.com"
68
- target="_blank"
69
- rel="noopener noreferrer"
70
- class="font-medium text-foreground underline decoration-border underline-offset-4 transition-colors hover:decoration-foreground"
64
+ <div class="flex flex-wrap items-center justify-center gap-x-4 gap-y-2 sm:justify-end">
65
+ <NuxtLink
66
+ v-for="link in site.legalLinks"
67
+ :key="link.href"
68
+ :to="link.href"
69
+ :target="link.external ? '_blank' : undefined"
70
+ :rel="link.external ? 'noopener noreferrer' : undefined"
71
+ class="underline decoration-border underline-offset-4 transition-colors hover:text-foreground hover:decoration-foreground"
71
72
  >
72
- Lupinum<span class="sr-only"> ({{ t("nav.externalLink") }})</span> </a
73
- >.
74
- </p>
73
+ {{ link.label }}
74
+ </NuxtLink>
75
+ <p v-if="site.lupinumAttribution">
76
+ {{ t("site.openSourceBy") }}
77
+ <a
78
+ href="https://lupinum.com"
79
+ target="_blank"
80
+ rel="noopener noreferrer"
81
+ class="font-medium text-foreground underline decoration-border underline-offset-4 transition-colors hover:decoration-foreground"
82
+ >
83
+ Lupinum<span class="sr-only"> ({{ t("nav.externalLink") }})</span> </a
84
+ >.
85
+ </p>
86
+ </div>
75
87
  </div>
76
88
  </div>
77
89
  </footer>
@@ -22,6 +22,14 @@ export const useSiteNavigation = () => {
22
22
  logo: config.site.logo,
23
23
  url: config.site.url,
24
24
  lupinumAttribution: config.site.lupinumAttribution,
25
+ legalLinks: config.site.legalLinks.map((link) => {
26
+ const href = getLocalizedSiteText(link.to, locale.value);
27
+ return {
28
+ label: getLocalizedSiteText(link.label, locale.value),
29
+ href,
30
+ external: /^https?:\/\//.test(href),
31
+ };
32
+ }),
25
33
  }));
26
34
 
27
35
  const blogPath = computed(() => path("blog"));
@@ -0,0 +1,23 @@
1
+ import { defineNuxtModule } from "@nuxt/kit";
2
+
3
+ function componentDirectoryPath(entry: string | { path: string }) {
4
+ return (typeof entry === "string" ? entry : entry.path).replaceAll("\\", "/");
5
+ }
6
+
7
+ export function isNuxtScriptsComponentDirectory(entry: string | { path: string }) {
8
+ const path = componentDirectoryPath(entry);
9
+ return (
10
+ (path.includes("/node_modules/@nuxt/scripts/") || path.includes("/@nuxt+scripts@")) &&
11
+ path.endsWith("/node_modules/@nuxt/scripts/dist/runtime/components")
12
+ );
13
+ }
14
+
15
+ export default defineNuxtModule({
16
+ meta: { name: "ginko-docs-analytics-boundary" },
17
+ setup(_options, nuxt) {
18
+ nuxt.hook("components:dirs", (dirs) => {
19
+ const usedDirectories = dirs.filter((entry) => !isNuxtScriptsComponentDirectory(entry));
20
+ dirs.splice(0, dirs.length, ...usedDirectories);
21
+ });
22
+ },
23
+ });
@@ -1,6 +1,6 @@
1
- import { defineNuxtModule } from "@nuxt/kit";
1
+ import { defineNuxtModule, installModule } from "@nuxt/kit";
2
2
  import type {} from "@lupinum/ginko-content";
3
- import { localeCodes, localizedPath } from "../i18n/locales";
3
+ import { defaultLocale, localeCodes, locales, localizedPath } from "../i18n/locales";
4
4
  import { routeSlugs } from "../shared/route-slugs";
5
5
 
6
6
  interface PageRoute {
@@ -24,7 +24,28 @@ export function removeBlogPages(pages: PageRoute[], blogEnabled: boolean) {
24
24
 
25
25
  export default defineNuxtModule({
26
26
  meta: { name: "ginko-docs-feature-routing" },
27
- setup(_options, nuxt) {
27
+ async setup(_options, nuxt) {
28
+ const fallback = locales.find((locale) => locale.code === defaultLocale);
29
+ if (!fallback) throw new Error(`Missing locale definition for ${defaultLocale}.`);
30
+ const configuredLocales = nuxt.options.i18n?.locales;
31
+ if (!Array.isArray(configuredLocales) || configuredLocales.length === 0) {
32
+ nuxt.options.i18n = {
33
+ ...nuxt.options.i18n,
34
+ locales: [{ code: fallback.code, language: fallback.language, name: fallback.name }],
35
+ };
36
+ } else if (configuredLocales.length > 1) {
37
+ const fallbackIndex = configuredLocales.findIndex(
38
+ (locale) =>
39
+ typeof locale === "object" &&
40
+ locale !== null &&
41
+ locale.code === fallback.code &&
42
+ locale.language === fallback.language &&
43
+ locale.name === fallback.name,
44
+ );
45
+ if (fallbackIndex >= 0) configuredLocales.splice(fallbackIndex, 1);
46
+ }
47
+ await installModule("@nuxtjs/i18n");
48
+
28
49
  let blogEnabled = false;
29
50
 
30
51
  nuxt.hook("content:context", (context) => {
package/nuxt.config.ts CHANGED
@@ -1,17 +1,29 @@
1
1
  import { fileURLToPath } from "node:url";
2
2
  import { dirname, join } from "node:path";
3
+ import { readFileSync } from "node:fs";
3
4
  import tailwindcss from "@tailwindcss/vite";
4
5
  import { transformerNotationDiff, transformerNotationHighlight } from "@shikijs/transformers";
5
6
  import darkPlus from "shiki/dist/themes/dark-plus.mjs";
6
7
  import lightPlus from "shiki/dist/themes/light-plus.mjs";
7
8
  import { contentComponentPolicy, contentComponentTags } from "./tags";
8
9
  import { i18nPages } from "./i18n/routes";
9
- import { localeCodes, localizedPath } from "./i18n/locales";
10
+ import { defaultLocale, localeCodes, locales, localizedPath } from "./i18n/locales";
10
11
  import { routeSlugs } from "./shared/route-slugs";
11
12
  import { layerIconCollections, layerIconNames } from "./icon-bundle";
12
13
 
13
14
  const root = dirname(fileURLToPath(import.meta.url));
14
15
  const app = join(root, "app");
16
+ const publicSansDirectory = join(root, "public/fonts/public-sans");
17
+ const publicSansFamilies = [400, 500, 600, 700].map((weight) => ({
18
+ name: "Public Sans",
19
+ global: true,
20
+ display: "swap" as const,
21
+ weight,
22
+ style: "normal",
23
+ src: `data:font/woff;base64,${readFileSync(
24
+ join(publicSansDirectory, `public-sans-${weight}-normal-latin.woff`),
25
+ ).toString("base64")}`,
26
+ }));
15
27
 
16
28
  export default defineNuxtConfig({
17
29
  build: {
@@ -25,10 +37,10 @@ export default defineNuxtConfig({
25
37
  join(root, "modules/feature-routing"),
26
38
  "@nuxt/icon",
27
39
  "@nuxt/fonts",
28
- "@nuxtjs/i18n",
29
40
  "@lupinum/ginko-content",
30
41
  "@nuxt/image",
31
42
  "@nuxt/scripts",
43
+ join(root, "modules/analytics-boundary"),
32
44
  "nuxt-og-image",
33
45
  "@nuxtjs/sitemap",
34
46
  "@nuxtjs/robots",
@@ -43,7 +55,7 @@ export default defineNuxtConfig({
43
55
  },
44
56
  mcp: {
45
57
  name: "Ginko Docs",
46
- version: "0.3.0-rc.3",
58
+ version: "0.3.0-rc.5",
47
59
  },
48
60
  components: {
49
61
  dirs: [
@@ -101,17 +113,24 @@ export default defineNuxtConfig({
101
113
  },
102
114
  },
103
115
  fonts: {
104
- defaults: {
105
- weights: [400, 500, 600, 700],
106
- styles: ["normal"],
107
- subsets: ["latin", "latin-ext"],
116
+ families: publicSansFamilies,
117
+ providers: {
118
+ adobe: false,
119
+ bunny: false,
120
+ fontshare: false,
121
+ fontsource: false,
122
+ google: false,
123
+ googleicons: false,
124
+ npm: false,
108
125
  },
109
- families: [{ name: "Public Sans", provider: "google", global: true }],
110
126
  },
111
127
  i18n: {
112
128
  customRoutes: "config",
113
129
  defaultLocale: "en",
114
130
  detectBrowserLanguage: false,
131
+ locales: locales
132
+ .filter((locale) => locale.code === defaultLocale)
133
+ .map(({ code, language, name }) => ({ code, language, name })),
115
134
  pages: i18nPages,
116
135
  strategy: "prefix_except_default",
117
136
  vueI18n: join(root, "i18n/i18n.config.ts"),
@@ -189,17 +208,6 @@ export default defineNuxtConfig({
189
208
  },
190
209
  },
191
210
  vite: {
192
- optimizeDeps: {
193
- include: [
194
- "@vueuse/core",
195
- "class-variance-authority",
196
- "clsx",
197
- "motion-v",
198
- "reka-ui",
199
- "tailwind-merge",
200
- "zod",
201
- ],
202
- },
203
211
  resolve: {
204
212
  dedupe: ["@lupinum/ginko-content", "vue", "vue-router"],
205
213
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lupinum/ginko-docs",
3
- "version": "0.3.0-rc.3",
3
+ "version": "0.3.0-rc.5",
4
4
  "description": "A Nuxt documentation layer powered by Ginko Content.",
5
5
  "keywords": [
6
6
  "content",
@@ -14,6 +14,7 @@
14
14
  "url": "https://github.com/lupinum-dev/ginko-docs/issues"
15
15
  },
16
16
  "license": "MIT",
17
+ "author": "Lupinum OG <info@lupinum.com> (https://lupinum.com)",
17
18
  "repository": {
18
19
  "type": "git",
19
20
  "url": "git+https://github.com/lupinum-dev/ginko-docs.git",
@@ -23,6 +24,7 @@
23
24
  "app",
24
25
  "i18n",
25
26
  "modules",
27
+ "public",
26
28
  "runtime",
27
29
  "server",
28
30
  "shared",
@@ -83,8 +85,8 @@
83
85
  "zod": "^4.4.3"
84
86
  },
85
87
  "peerDependencies": {
86
- "@lupinum/ginko-content": ">=0.4.0-rc.1 <0.5.0",
87
- "nuxt": ">=4.4.7 <5",
88
+ "@lupinum/ginko-content": ">=0.4.0-rc.2 <0.5.0",
89
+ "nuxt": ">=4.5.1 <5",
88
90
  "vue": "^3.5.35",
89
91
  "vue-router": "^5.1.0"
90
92
  },
@@ -0,0 +1,93 @@
1
+ Copyright 2015 The Public Sans Project Authors (https://github.com/uswds/public-sans) PublicSans-Italic[wght].ttf: Copyright 2015 The Public Sans Project Authors (https://github.com/uswds/public-sans)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,12 @@
1
+ # Public Sans
2
+
3
+ These Latin-subset WOFF files are copied from `@fontsource/public-sans@5.3.0`:
4
+
5
+ - `public-sans-latin-400-normal.woff`
6
+ - `public-sans-latin-500-normal.woff`
7
+ - `public-sans-latin-600-normal.woff`
8
+ - `public-sans-latin-700-normal.woff`
9
+
10
+ They are renamed to the convention expected by the Nuxt Fonts local provider.
11
+ The upstream package is available at <https://fontsource.org/fonts/public-sans>.
12
+ Public Sans is licensed under the SIL Open Font License 1.1; see `LICENSE`.
@@ -71,6 +71,8 @@ export interface GinkoDocsAppConfig {
71
71
  logo: { light: string; dark: string };
72
72
  docsSidebarSwitcher: "dropdown" | "list" | "tabs";
73
73
  lupinumAttribution: boolean;
74
+ /** Legal and company links rendered in the footer. */
75
+ legalLinks: GinkoDocsLink[];
74
76
  };
75
77
  nav: {
76
78
  /** "auto" derives Docs (+ Blog when blog routes exist); an array overrides entirely. */