Skip to content

Commit e376049

Browse files
Migrate docs app to Docia
1 parent c1ed77f commit e376049

7 files changed

Lines changed: 97 additions & 780 deletions

File tree

apps/documentation/docia.config.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
export default {
2+
srcDir: 'docs',
3+
outDir: 'doc_build',
4+
publicDir: 'docs/public',
5+
basePath: '/',
6+
prettyUrls: true,
7+
site: {
8+
title: 'Svelte Markdoc',
9+
description:
10+
'Bring the power of Markdoc right into your Svelte applications!',
11+
language: 'en',
12+
url: 'https://svelte-markdoc-preprocess.pages.dev',
13+
socials: {
14+
github:
15+
'https://github.com/TorstenDittmann/svelte-markdoc-preprocess',
16+
x: 'https://x.com/DittmannTorsten',
17+
},
18+
githubEditBaseUrl:
19+
'https://github.com/TorstenDittmann/svelte-markdoc-preprocess/edit/main/apps/documentation/docs',
20+
},
21+
};

apps/documentation/docs/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Svelte Markdoc Preprocess
2+
3+
Bring the power of Markdoc right into your Svelte applications.
4+
5+
`svelte-markdoc-preprocess` lets you author content in Markdoc while rendering with Svelte and SvelteKit.
6+
7+
## Highlights
8+
9+
- Works with Svelte and SvelteKit
10+
- Use Svelte components as Markdoc nodes and tags
11+
- Configure reusable layouts for pages
12+
- Auto-load partial files from a directory
13+
- TypeScript-friendly setup
14+
- Markdoc schema generation for VS Code support
15+
16+
## Quick links
17+
18+
- [Install](/guide/install/)
19+
- [Configuration](/guide/configuration/)
20+
- [GitHub](https://github.com/TorstenDittmann/svelte-markdoc-preprocess)

apps/documentation/docs/SUMMARY.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Summary
2+
3+
- [Introduction](README.md)
4+
- Guide
5+
- [Install](guide/install.md)
6+
- [Configuration](guide/configuration.md)
7+
- [Nodes](guide/nodes.md)
8+
- [Tags](guide/tags.md)
9+
- [Layouts](guide/layouts.md)
10+
- [Partials](guide/partials.md)
11+
- [Advanced](guide/advanced.md)

apps/documentation/docs/index.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

apps/documentation/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "rspress-doc-template",
2+
"name": "documentation",
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {
6-
"dev": "rspress dev",
7-
"build": "rspress build",
8-
"preview": "rspress preview"
6+
"dev": "docia dev",
7+
"build": "docia build",
8+
"check": "docia check"
99
},
1010
"dependencies": {
11-
"rspress": "^1.43.9"
11+
"docia": "^0.0.6"
1212
},
1313
"devDependencies": {
1414
"@types/node": "^22.13.14"

apps/documentation/rspress.config.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)