Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

docs: restructure documentation

Timothy Yind34e802f8402
diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts
index 92b0ee16..9bd2c9fc 100644
--- a/docs/.vitepress/config.ts
+++ b/docs/.vitepress/config.ts
@@ -25,14 +25,17 @@ export default defineConfig({
{
text: 'Configuration',
items: [
- { text: 'Storage Providers', link: '/guide/storage-providers' },
+ {
+ text: 'Storage Providers',
+ link: '/configuration/storage-providers',
+ },
],
},
{
text: 'Development',
items: [
- { text: 'Contributing Guide', link: '/guide/contributing' },
- { text: 'API Documentation', link: '/guide/api' },
+ { text: 'Contributing Guide', link: '/development/contributing' },
+ { text: 'API Documentation', link: '/development/api' },
],
},
],
diff --git a/docs/guide/storage-providers.md b/docs/configuration/storage-providers.md
similarity index 100%
rename from docs/guide/storage-providers.md
rename to docs/configuration/storage-providers.md
diff --git a/docs/guide/api.md b/docs/development/api.md
similarity index 100%
rename from docs/guide/api.md
rename to docs/development/api.md
diff --git a/docs/guide/contributing.md b/docs/development/contributing.md
similarity index 100%
rename from docs/guide/contributing.md
rename to docs/development/contributing.md
diff --git a/docs/zh/config.ts b/docs/zh/config.ts
index 4ec9543b..5b0008c5 100644
--- a/docs/zh/config.ts
+++ b/docs/zh/config.ts
@@ -24,14 +24,14 @@ export default defineConfig({
{
text: '配置',
items: [
- { text: '存储提供器', link: '/zh/guide/storage-providers' },
+ { text: '存储提供器', link: '/zh/configuration/storage-providers' },
],
},
{
text: '开发',
items: [
- { text: '贡献指南', link: '/zh/guide/contributing' },
- { text: 'API 文档', link: '/zh/guide/api' },
+ { text: '贡献指南', link: '/zh/development/contributing' },
+ { text: 'API 文档', link: '/zh/development/api' },
],
},
],
diff --git a/docs/zh/guide/storage-providers.md b/docs/zh/configuration/storage-providers.md
similarity index 100%
rename from docs/zh/guide/storage-providers.md
rename to docs/zh/configuration/storage-providers.md
diff --git a/docs/zh/guide/api.md b/docs/zh/development/api.md
similarity index 100%
rename from docs/zh/guide/api.md
rename to docs/zh/development/api.md
diff --git a/docs/zh/guide/contributing.md b/docs/zh/development/contributing.md
similarity index 100%
rename from docs/zh/guide/contributing.md
rename to docs/zh/development/contributing.md