Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ land a change.

```sh
# Requires Node 22+ and pnpm.
git clone --recurse-submodules https://github.com/baseballyama/word-kit
cd word-kit
git clone --recurse-submodules https://github.com/office-kit/docx
cd docx
pnpm install
```

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"word",
"wordprocessingml"
],
"homepage": "https://github.com/baseballyama/word-kit#readme",
"homepage": "https://github.com/office-kit/docx#readme",
"bugs": {
"url": "https://github.com/baseballyama/word-kit/issues"
"url": "https://github.com/office-kit/docx/issues"
},
"license": "MIT",
"author": "Yuichiro Yamashita",
"repository": {
"type": "git",
"url": "git+https://github.com/baseballyama/word-kit.git"
"url": "git+https://github.com/office-kit/docx.git"
},
"files": [
"dist",
Expand Down
6 changes: 3 additions & 3 deletions packages/preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"word",
"wordprocessingml"
],
"homepage": "https://github.com/baseballyama/word-kit#readme",
"homepage": "https://github.com/office-kit/docx#readme",
"bugs": {
"url": "https://github.com/baseballyama/word-kit/issues"
"url": "https://github.com/office-kit/docx/issues"
},
"license": "MIT",
"author": "Yuichiro Yamashita",
"repository": {
"type": "git",
"url": "git+https://github.com/baseballyama/word-kit.git",
"url": "git+https://github.com/office-kit/docx.git",
"directory": "packages/preview"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion site/src/lib/components/SiteHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{ path: '/docs/recipes', label: 'Recipes' },
{ path: '/playground', label: 'Playground' },
{ path: '/api', label: 'API' },
{ path: 'https://github.com/baseballyama/word-kit', label: 'GitHub', external: true },
{ path: 'https://github.com/office-kit/docx', label: 'GitHub', external: true },
];

function resolve(link: (typeof links)[number]): string {
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="footer-grid">
<div class="cell">
<span class="label">Project</span>
<a href="https://github.com/baseballyama/word-kit">word-kit</a>
<a href="https://github.com/office-kit/docx">word-kit</a>
</div>
<div class="cell">
<span class="label">License</span>
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<a href="{base}/playground" class="btn ghost">Open playground</a>
<a href="{base}/docs/recipes" class="btn ghost">Recipes</a>
<a href="{base}/api" class="btn ghost">API reference</a>
<a href="https://github.com/baseballyama/word-kit" class="btn ghost">
<a href="https://github.com/office-kit/docx" class="btn ghost">
GitHub <span class="ext">↗</span>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/api/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
applicable) and is side-effect-free at the module level, so bundlers can tree-shake
anything you don't import. For full signatures and parameter shapes, see
<code>src/index.ts</code> and the
<a href="https://github.com/baseballyama/word-kit">repository</a>.
<a href="https://github.com/office-kit/docx">repository</a>.
</p>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/docs/getting-started/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<li><a href="{base}/docs/recipes">Recipes</a> — common scenarios, copy-paste ready</li>
<li><a href="{base}/api">API reference</a> — every public export, grouped by area</li>
<li><a href="{base}/playground">Playground</a> — drop a .docx and see preview</li>
<li><a href="https://github.com/baseballyama/word-kit">GitHub</a> — source + issues</li>
<li><a href="https://github.com/office-kit/docx">GitHub</a> — source + issues</li>
</ul>
</article>

Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/llms-full.txt/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const PREAMBLE = `# word-kit — full documentation

This file is the concatenation of every page on the word-kit docs site, intended for LLM ingestion in a single fetch. Page boundaries are marked with H1 headings prefixed by the source path. The companion index at \`/llms.txt\` lists the same pages with one-line descriptions.

Source repo: https://github.com/baseballyama/word-kit
Source repo: https://github.com/office-kit/docx
`;

const PROJECT_OVERVIEW = `OOXML-compliant (ECMA-376 Part 1 — WordprocessingML) Word \`.docx\` library for Node 22+ and modern browsers. Function-first API: every operation is a standalone, tree-shakeable export, never a method on a class. Lossless round-trip for every element the library does not yet model, so hand-designed templates survive intact.
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/llms.txt/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Pre-1.0. Core (\`openDocx\` / \`createDocx\` / \`toUint8Array\`) is stable and l

## Source

- [GitHub repository](https://github.com/baseballyama/word-kit)
- [GitHub repository](https://github.com/office-kit/docx)
- [Sibling project: xlsx-kit](https://github.com/baseballyama/xlsx-kit)
`;

Expand Down
Loading