meowpress 0.3.0-alpha.1 → 0.3.0-alpha.11

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/README.md CHANGED
@@ -1,30 +1,221 @@
1
1
  # Meowpress
2
2
 
3
- `meowpress` provides content reading, page rendering, themes and the build pipeline for static sites.
4
- Consumers own the site configuration and content and build through this package; the package does not own the application's posts or output directory.
3
+ Meowpress builds a static blog from Markdown and MDX, with a built-in Journal-based theme for posts, short notes
4
+ and public skills. A project can supply its own theme or page map through `meowpress/build`.
5
5
 
6
- Published history: `0.1.1-alpha.0` was accepted from the registry, followed by `0.1.1-alpha.1` with the English site and CLI defaults; `latest` remained `0.1.0`. The current workspace package is `0.2.0-alpha.0`, and its required CSS and JSX peer ranges accept `^0.2.0-alpha.0`. The host selects the shared CSS/JSX modules, and this package does not privately install another CSS copy; it does not depend on Meowtail or MeowSlides. Out-of-package builds and theme identity acceptance are bound to exact package archives, and peer contracts are not bypassed through overrides. Publishing requires separate explicit authorization.
6
+ The built-in theme renders functional icons as inline SVG through Meowtail's Lucide-backed
7
+ `Icon`, not font glyphs. Custom pages can use `Icon` or `IconSource` from `meowtail/icons`
8
+ and the full Lucide set from `meowtail/icons/lucide`; brand artwork such as `GithubIcon`
9
+ stays separate. Icons render at build time and need no browser script or icon font.
7
10
 
8
- This package is a standalone content publishing library with source in `packages/meowpress`; it already has a public build entry, independent tests and typechecking,
9
- and does not depend on Assistant, WorkCell, Deno or the content and runtime state of a specific Blog. Style generation comes from `meowcss`,
10
- and HTML rendering comes from `meowjsx/web`; MeowUI does not need to be installed.
11
+ ## Build and preview a site
11
12
 
12
- ## Entries
13
+ Use Bun and install this version of `meowpress` with compatible `meowcss` and `meowjsx` peers.
14
+ When trying a workspace build, install the archives from `bun run build` and `bun run pack` in your
15
+ project. From that project, add your first post and build the site.
13
16
 
14
- - `meowpress/build`: `meowSite()` defines configuration and `buildSite()` performs the build; this is the only public export.
15
- Content reading, page rendering, skill indexing and themes are internal package modules.
16
- - `meowpress --config ./site.config.ts`: Bun CLI that loads the consumer-provided configuration and builds.
17
+ ```sh
18
+ mkdir -p content/posts
19
+ printf '# First post\n\nHello from Meowpress.\n' > content/posts/first.md
20
+ bunx --no-install meowpress build
21
+ ```
22
+
23
+ Meowpress builds `dist/index.html` and `dist/posts/first/index.html`. Put short notes in
24
+ `content/thoughts/` and public skills in `skills/<name>/SKILL.md`. `llms.txt` and `agents.md`
25
+ describe the generated site. The default theme includes `404.html` for static hosts that serve a
26
+ custom error page.
27
+
28
+ Run `bunx --no-install meowpress preview` to serve the built files at `http://127.0.0.1:4173`.
29
+ Run the build again after editing content. Deploy the `dist/` directory to a static host.
30
+
31
+ ## Configure an existing repository
32
+
33
+ Place `meowpress.config.ts` in the project root when your content lives outside the default
34
+ folders or when you want to change the site name. This example uses `blog/` for posts, `notes/`
35
+ for short notes and `blog/assets/images/` for the homepage image.
17
36
 
18
37
  ```ts
19
38
  import { meowSite } from "meowpress/build";
20
39
 
21
40
  export default meowSite({
22
- content: [{ directory: "/path/to/content" }],
23
- skillsDirectory: "/path/to/workspace",
24
- outputDirectory: "/path/to/dist",
41
+ content: {
42
+ directory: ".",
43
+ postsDirectory: "blog",
44
+ thoughtsDirectory: "notes",
45
+ assetsDirectory: "blog/assets",
46
+ },
47
+ site: {
48
+ name: "My site",
49
+ images: { hero: "images/cover.svg" },
50
+ },
51
+ });
52
+ ```
53
+
54
+ The directory names in `content` are relative to its `directory`. Posts from `blog/` still have
55
+ URLs under `/posts/`, and notes still have URLs under `/thoughts/`. Meowpress copies `posts/assets/`
56
+ to `/posts/assets/`. Set `postAssetsDirectory` to change the source of those files. Posts and assets
57
+ whose paths contain a file or folder name starting with `_` are treated as drafts.
58
+
59
+ Pass a project path after `build` or `preview` to run from another directory. The project root
60
+ defaults to the current directory and is the base for relative config paths and output.
61
+ The CLI looks for `meowpress.config.ts`, then `site.config.ts`. Use `--config <file>` to choose a
62
+ file explicitly. `meowpress` and `meowpress --config ./site.config.ts` also build, and `preview`
63
+ accepts `--port <port>`.
64
+
65
+ Builds replace the generated output after they succeed. Meowpress reuses a nonempty default
66
+ `dist/` only when it contains the previous build's `agents.md` and `llms.txt`. If another tool
67
+ owns `dist/`, set `outputDirectory` to a separate directory and reserve it for generated files.
68
+
69
+ `includeProjectSkills: true` opts in to publishing `.agents/skills/`. Set `projectRootDirectory`
70
+ to choose the root for those skills. Set `notFound: false` to omit the built-in `404.html`, or
71
+ supply `notFound: { title, message, homeLabel }` to change its copy.
72
+
73
+ A skill's `SKILL.md` may declare the language of its material: `lang: zh` in the frontmatter, or
74
+ `lang: zh` under `metadata`. The build then marks the skill's material with that language on
75
+ every page that shows it, so a page in another language says what the material is written in. A
76
+ skill that declares no language keeps the page's own.
77
+
78
+ ## Site URL and time zone
79
+
80
+ `site.url` is the public origin of the site, without a path, such as `https://example.com`. It is
81
+ validated and stored without a trailing slash; the build does not use it for output yet. `site.timeZone`
82
+ is an IANA time zone, `Asia/Shanghai` by default. It decides the day key and the `HH:mm` label of a
83
+ post or thought whose date has no calendar date in its text (a date from the file's modified time,
84
+ or text such as `September 1, 2026 23:30 UTC`). A date written as `2026-09-01` or as an ISO
85
+ timestamp keeps its written day. An invalid value fails when the config is resolved.
86
+
87
+ ## Languages
88
+
89
+ Without `locales`, a site has one locale, English, unprefixed routes and no catalogs. Setting
90
+ `locales` publishes the theme and the content in more languages.
91
+
92
+ ```ts
93
+ export default meowSite({
94
+ locales: {
95
+ source: "en",
96
+ targets: { fr: { label: "Français" } },
97
+ untranslated: "link",
98
+ stale: "notice",
99
+ disclosure: true,
100
+ },
25
101
  });
26
102
  ```
27
103
 
104
+ - `source` is the language the content and the site-owned copy are written in. It keeps today's
105
+ unprefixed routes. Each `targets` tag is published under `/<tag>/`, with the tag in lower case
106
+ (`zh-Hant` becomes `/zh-hant/`); `<html lang>` keeps the canonical tag, and `dir="rtl"` is added
107
+ for right-to-left scripts. `label` is the language's own name. A target equal to the source, an
108
+ invalid tag, or two tags that are the same after canonicalisation fail when the config is
109
+ resolved.
110
+ - The theme's own sentences are written in English and declared in one table, exported as
111
+ `themeMessages`. Every locale other than English takes them from `locales/<tag>.json`, a flat
112
+ object from the English sentence to its translation (a sentence with a `context` maps to an
113
+ object from context to translation). `localesDirectory` changes the directory, which resolves
114
+ against the project directory. `locales.catalogs.<tag>` supplies the same format inline and wins
115
+ over the file. A missing file is an empty catalog; invalid JSON, or a file that is not an object
116
+ of strings, fails the build and names the file. The source locale needs a catalog too when it is
117
+ not English.
118
+ - A sentence with no translation shows its English text. After the build, one line per locale
119
+ reports how many sentences fell back and which file to fill. A site without `locales` prints
120
+ nothing.
121
+ - Site-owned copy is translated through the same catalogs, keyed by the text as written in
122
+ `source`: `site.name`, `site.description`, `site.about.heading`, `paragraphs`, `linksHeading` and
123
+ each link `label`, and the three `notFound` strings. The source tree prints them as written.
124
+ `agentGuide` is not translated.
125
+ - Each target gets `/<tag>/` (home), `/<tag>/about/`, `/<tag>/posts/`, `/<tag>/thoughts/`,
126
+ `/<tag>/skills/` with a page per skill, `/<tag>/404.html` (a host decides whether it serves the
127
+ file) and a page for every content item written in that language. Dates follow the page locale.
128
+ Every internal link goes through one helper that points a route to the tree that publishes it.
129
+ - Skill files are repository material and are not translated: every tree publishes the same skill
130
+ pages, with the theme in that tree's language and the material in the language the skill
131
+ declares. The source tree links the root agent indexes; a target links its own.
132
+ - With more than one locale the header shows a script-free language switch that points to the same
133
+ page where the translation exists and to that locale's home otherwise. With `site.url`, pages
134
+ also carry `<link rel="canonical">`, one `<link rel="alternate" hreflang>` per version and
135
+ `x-default` for the source; without `site.url` neither is emitted and the build says so once.
136
+ - A target's tag may not equal a top-level route, content asset directory, slug prefix or
137
+ consumer page path; the build fails and names the tag. A `pages` provider still owns the whole
138
+ site map: no locale tree is written for it, and it receives the resolved `locales` in its
139
+ context.
140
+
141
+ ### Translated content
142
+
143
+ A file name may carry a locale suffix. `content/posts/first.fr.md` is the French translation of
144
+ `content/posts/first.md`; `only-fr.fr.md` without a `only-fr.md` is an original written in French.
145
+ The suffix is read only for a configured locale, so `notes.v2.md` keeps its slug, and it uses the
146
+ canonical tag in lower case. Files that share a kind and slug are one translation set; the member
147
+ in the source locale is the original, and a set without one is a set of originals, one per
148
+ language. `first.md` next to `first.en.md` is an error, because both claim the same slug in the
149
+ source locale.
150
+
151
+ A translation records what it was translated from:
152
+
153
+ ```yaml
154
+ ---
155
+ title: Premier billet
156
+ translation:
157
+ source: 3f9a1c2e
158
+ reviewed: false
159
+ ---
160
+ ```
161
+
162
+ `translation.source` is the first 12 hex characters of SHA-256 over the original's resolved title,
163
+ a newline and its body with line endings normalised to LF. `reviewed: true` marks a translation a
164
+ person has checked. Both fields are optional; a translation without a recorded hash counts as
165
+ stale. From that the build knows three states without anyone maintaining them: **current** (the
166
+ recorded hash matches the original), **stale** (the original changed since) and **missing**.
167
+
168
+ - A current or stale translation is published under `/<tag>/<kind>s/<slug>/`.
169
+ - A stale translation is still published, with a notice that the original has changed and a link
170
+ to it. `stale: "fail"` makes it a build error instead, for a site that would rather not publish
171
+ it.
172
+ - A translation without `reviewed: true` carries a quiet line saying it is a translation and
173
+ linking the original; `disclosure: false` removes that line.
174
+ - A missing translation produces no page. In the target's timeline and archives the original is
175
+ listed with its language marked and `lang` on the entry, linking the original's URL;
176
+ `untranslated: "omit"` leaves it out instead.
177
+ - A translation inherits `date`, `tags` and `category` from its original unless it sets them. A
178
+ file whose name used to be its slug (`notes.fr.md` used to publish at `/posts/notes.fr/`) now
179
+ reads as a suffix, and the build reports the URL that changed.
180
+
181
+ ### The work list
182
+
183
+ ```sh
184
+ meowpress locales # one line per missing or stale item
185
+ meowpress locales --json # the same list as a contract
186
+ meowpress locales stamp content/posts/first.fr.md
187
+ ```
188
+
189
+ The report holds, for each target locale, the interface messages the audit finds missing, unused
190
+ or invalid (theme sentences and site copy), and the content items that are missing or stale with
191
+ the original's file, URL and current hash, the target file and, for a stale item, the hash it was
192
+ translated from. `stamp` writes the original's current hash into a translation's frontmatter after
193
+ it has been written or revised, and adds frontmatter to a file that has none. The loop for "add
194
+ French to this blog" is: configure the locale, run `locales`, write what it names, stamp, run
195
+ `locales` again until it is empty, then build. A site without `locales` refuses both commands.
196
+
197
+ ### Agents as readers
198
+
199
+ `/translations.json` is published when `locales` is configured and is reserved like `agents.md`:
200
+ it is the same report the work list prints, so an agent can read one file to know what exists and
201
+ what to trust. The root `/llms.txt` and `/agents.md` index the originals, each in its
202
+ own language with that language marked, then link each target's index. A target tree gets
203
+ `/<tag>/llms.txt` and `/<tag>/agents.md` next to its pages; they list that tree's
204
+ pages and the originals it shows untranslated, marked with their language and linked to the source
205
+ URL. A `pages` provider that sets `locale` and `original` on a `SitePage` enters the manifest and
206
+ the per-locale index; its Markdown copy starts with `<!-- lang: fr; original: /guides/ -->`.
207
+
208
+ A right-to-left target is laid out in that direction: the theme's chrome and Meowtail's prose
209
+ mirror through logical properties, dates follow the page locale, and code blocks stay
210
+ left-to-right. Inline code inside right-to-left prose is still subject to the Unicode bidi
211
+ algorithm, as on any site. The default faces cover Latin, Cyrillic and Greek; other scripts use
212
+ system fonts unless the site lists faces in `fonts`.
213
+
214
+ ## Build from code
215
+
216
+ `meowSite()` resolves configuration and `buildSite()` writes the site. Both are exported from
217
+ `meowpress/build`. Use trusted local configuration and MDX, which execute code during a build.
218
+
28
219
  ## Pages a consumer owns
29
220
 
30
221
  A consumer that supplies `pages` owns the whole site map. The provider receives the content that was
@@ -50,13 +241,23 @@ export default meowSite({
50
241
 
51
242
  - `pages` is a provider of complete HTML documents. A path that resolves above the site root is
52
243
  refused rather than clamped.
244
+ - `SitePageContext` carries the resolved `locales` and `pageLocale(tag)`, the locale instance the
245
+ built-in pages use, with the site's catalogs, time zone and missing-message reporting. A page
246
+ that sets `locale` and `original` enters `/translations.json` and the per-locale index.
247
+ - A page's optional `markdown` is the same page for agents. It is published next to the route
248
+ (`components/button.md` for `/components/button/`, `index.md` for the root), and `llms.txt`
249
+ and `agents.md` link it instead of the HTML. `llms.txt` follows the
250
+ [llms.txt](https://llmstxt.org/) shape: the site summary, then one section of links per page
251
+ `group` with each page's `description`. `llms-full.txt` holds every Markdown copy in one file.
252
+ - `agentGuide` is Markdown that opens `llms.txt` and `llms-full.txt` after the summary: what an
253
+ agent must know before following any link, such as how to install and set up the documented
254
+ packages.
53
255
  - `mdxComponents` adds named components to the MDX content pages; the built-in `Callout` stays
54
256
  available.
55
257
  - `themeStylesheet` names the theme stylesheet the build writes, so a consumer page can link it. It
56
258
  applies to the built-in pages as well, so a renamed stylesheet never leaves a page linking a file
57
259
  that was not written.
58
260
 
59
- Directories in the configuration are provided explicitly by the application; the default theme resolves from this package and does not depend on the startup directory.
60
261
  The whole theme can be replaced with `theme: defineTheme(...)`; all static pages output that theme's root attributes and default options.
61
262
  The build writes `theme.cssText` to a temporary CSS file, then lets Bun handle the other assets, and finally delivers through a stylesheet link,
62
263
  so the theme applies without client-side JavaScript.
@@ -67,24 +268,16 @@ each package's weight-axis `woff2` files into `fonts/` with a content hash, puts
67
268
  rules first in the theme stylesheet with each subset's `unicode-range`, and copies each license to
68
269
  `licenses/<name>-OFL.txt`. A browser fetches only the files a page's text and families use, and
69
270
  nothing for a family the page does not use, so a site with a theme switch pays only for the active
70
- theme. The default Blog theme defaults to `blogFonts` (Geist); any other theme defaults to none.
271
+ theme. The built-in blog theme defaults to `blogFonts`, which shares Journal’s font list:
272
+ Newsreader (normal and italic), Inter,
273
+ and JetBrains Mono. Any other theme defaults to no fonts; set `fonts` explicitly to provide them,
274
+ or set `fonts: []` to omit font assets.
71
275
  Install the listed packages in the site; nothing depends on an external font service.
72
- Default illustrations use in-package vectors and CSS and require no business images. The `hero`, `feed` and `about` keys of `site.images`
276
+ The default pages need no images. The `hero`, `feed` and `about` keys of `site.images`
73
277
  can explicitly set decorative image paths, for example `images/cover.svg`; paths are relative to the content root's `assets/`, the library handles each page depth,
74
278
  and assets are delivered along the existing asset build flow. When no About image is set, the first letter of the site name is used.
75
- The content source contains `posts/`, `thoughts/` and optional assets; drafts whose names start with an underscore do not enter the published output.
76
- The site has its own theme and does not implicitly install MeowUI's application theme.
77
-
78
- ## Verification and build
79
-
80
- After installing `meowpress` and its `meowcss` and `meowjsx` dependencies, run in the consumer directory:
81
-
82
- ```sh
83
- bunx --no-install meowpress --config ./site.config.ts
84
- ```
85
-
86
- The CLI requires Bun, and the output location is determined by `outputDirectory`. Font packages resolve from the startup directory first, then from
87
- this package, which carries the default Geist, so consumers are not required to copy source, install workspace-root dependencies or access an external font service.
279
+ Font packages resolve from the project root first, then from this package, which carries the
280
+ three default font families.
88
281
 
89
282
  ## Independent verification
90
283
 
@@ -92,3 +285,34 @@ Once repository dependencies are ready, run `bun run --cwd packages/meowpress te
92
285
  `bun run --cwd packages/meowpress typecheck`. Tests live in `tests/unit/`; real build tests create temporary content, themes and images through the public
93
286
  `meowpress/build` entry,
94
287
  covering Markdown, MDX, Thought output and draft page/asset exclusion, without reading Blog content or invoking the Blog build.
288
+
289
+ After `bun run build`, run `bun run --cwd packages/meowpress test:browser` for the Journal
290
+ browser regressions. The fixture server builds a temporary site through `meowpress/build` and
291
+ cleans it up on exit. The suite covers desktop and mobile widths in light and dark schemes,
292
+ repeated feed and skill-browser interactions, clipboard copy, deep 404 stylesheets, no-JavaScript
293
+ content, and wide-content containment. Screenshots are written to `packages/meowpress/test-results/`.
294
+
295
+ ## Documentation sites
296
+
297
+ Use `meowDocs` to build a documentation home, grouped sidebar, and Markdown copies:
298
+
299
+ ```ts
300
+ import { meowDocs } from "meowpress/build";
301
+
302
+ export default meowDocs({
303
+ site: { name: "Example", url: "https://example.com" },
304
+ docs: {
305
+ home: { hero: { subtitle: "Get started with Example." } },
306
+ items: [
307
+ {
308
+ slug: "intro",
309
+ title: "Introduction",
310
+ group: "Getting started",
311
+ markdown: "# Introduction\n\nWelcome.",
312
+ },
313
+ ],
314
+ },
315
+ });
316
+ ```
317
+
318
+ Supply `locales` in `docs` for separate language trees, or pass an async function as `docs` to load the content during the build.
@@ -1,49 +1,80 @@
1
1
  import { type ThemeDefinition } from "meowcss";
2
2
  import { type SiteFont } from "./fonts.js";
3
- import { type SiteIdentity } from "./identity.js";
3
+ import { type SiteIdentity, type SiteNotFound } from "./identity.js";
4
+ import { type ResolvedLocales, type SiteLocales } from "./locales.js";
4
5
  import { type ContentSourceInput, type MdxComponent } from "./content.js";
5
6
  import { type SitePageProvider } from "./pages.js";
7
+ export { sitePageMarkdownFile } from "./pages.js";
6
8
  export type { SitePage, SitePageContext, SitePageProvider } from "./pages.js";
7
- export type { ContentItem } from "./content.js";
9
+ export type { ContentItem, ContentSource, ContentSourceInput } from "./content.js";
8
10
  export type { SiteFont } from "./fonts.js";
9
- export type { SiteIdentity } from "./identity.js";
11
+ export type { SiteIdentity, SiteNotFound } from "./identity.js";
12
+ export type { ResolvedLocaleTarget, ResolvedLocales, SiteLocales } from "./locales.js";
10
13
  export interface SiteConfig {
11
- /** One or more roots containing `posts/`, `thoughts/`, and optional assets. */
12
- content: ContentSourceInput | readonly ContentSourceInput[];
13
- /** Workspace root used to discover public `skills/` and project `.agents/skills/`. */
14
- skillsDirectory: string;
15
- /** Static output directory for the generated site. */
16
- outputDirectory: string;
17
- /** Defaults to this package's own Blog theme. */
14
+ /** Roots containing posts, thoughts and optional assets. Defaults to `content/`. */
15
+ content?: ContentSourceInput | readonly ContentSourceInput[];
16
+ /** Root used to discover public `skills/`. Defaults to the current project directory. */
17
+ skillsDirectory?: string;
18
+ /** Static output directory for the generated site. Defaults to `dist/`. */
19
+ outputDirectory?: string;
20
+ /** Defaults to the Journal-based Blog theme. */
18
21
  theme?: ThemeDefinition;
19
- /** Optional project root when project Skills live outside `skillsDirectory`. */
22
+ /** Include project `.agents/skills/` in the public build. Defaults to false. */
23
+ includeProjectSkills?: boolean;
24
+ /** Alternate root for `.agents/skills/` when `includeProjectSkills` is enabled. */
20
25
  projectRootDirectory?: string;
21
26
  /** Site name, description, repository links and About copy; unset fields use neutral defaults. */
22
27
  site?: Partial<SiteIdentity>;
23
- /** Consumer-supplied pages; the site writes and indexes them next to its own. */
28
+ /** Consumer-supplied pages replace the built-in site map. */
24
29
  pages?: SitePageProvider;
30
+ /** Copy for the built-in root `404.html`, or false to omit it. */
31
+ notFound?: SiteNotFound | false;
32
+ /**
33
+ * Markdown that opens `llms.txt` and `llms-full.txt` after the site summary: what an agent must
34
+ * know before following any link, such as how to install and set up what the site documents.
35
+ */
36
+ agentGuide?: string;
25
37
  /** Extra components available to MDX content pages. */
26
38
  mdxComponents?: Record<string, MdxComponent>;
27
39
  /** Stylesheet file name for the theme; defaults to "blog-theme.css". */
28
40
  themeStylesheet?: string;
29
41
  /**
30
- * Web fonts the theme names, published as separate files with their licenses. Defaults to Geist
42
+ * Web fonts the theme names, published as separate files with their licenses. Defaults to Journal fonts
31
43
  * for the default Blog theme and to none for any other theme.
32
44
  */
33
45
  fonts?: readonly SiteFont[];
46
+ /**
47
+ * Languages the site publishes. The source locale keeps today's unprefixed routes and each
48
+ * target is published under `/<tag>/`. Without it the site has one locale, English, and its
49
+ * output does not change.
50
+ */
51
+ locales?: SiteLocales | ResolvedLocales;
52
+ /**
53
+ * Directory of `<tag>.json` interface catalogs, one per configured locale, resolved against the
54
+ * project directory. Defaults to `locales/`.
55
+ */
56
+ localesDirectory?: string;
34
57
  }
35
58
  export interface ResolvedSiteConfig {
36
59
  content: readonly ContentSourceInput[];
37
60
  skillsDirectory: string;
38
61
  outputDirectory: string;
39
62
  theme: ThemeDefinition;
63
+ includeProjectSkills?: boolean;
40
64
  projectRootDirectory?: string;
41
65
  site: SiteIdentity;
42
66
  pages?: SitePageProvider;
67
+ notFound?: SiteNotFound | false;
68
+ agentGuide?: string;
43
69
  mdxComponents: Record<string, MdxComponent>;
44
70
  themeStylesheet: string;
45
71
  fonts: readonly SiteFont[];
72
+ locales?: ResolvedLocales;
73
+ localesDirectory: string;
46
74
  }
47
75
  /** Define a site config in the app package without taking on the build pipeline. */
48
- export declare function meowSite(config: SiteConfig): ResolvedSiteConfig;
49
- export declare function buildSite(input: SiteConfig | ResolvedSiteConfig): Promise<void>;
76
+ export declare function meowSite(config?: SiteConfig): ResolvedSiteConfig;
77
+ export declare function buildSite(input?: SiteConfig | ResolvedSiteConfig): Promise<void>;
78
+ export { meowDocs, createDocsPages, renderDocsMarkdown } from "./docs.js";
79
+ export type { DocsAction, DocsHero, DocsFeature, DocsNavLink, DocsFooter, DocsUiLabels, DocsItem, DocsHomeConfig, DocsLocaleConfig, DocsSiteOptions, DocsSiteConfig, } from "./docs.js";
80
+ export { docsTheme, docsStyles, DEFAULT_DOCS_STYLESHEET } from "./docs-theme.js";