π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add sidebar for photos features
Neeraj Gupta2ec760c4d183
diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mtsindex b79fb82a66..29267ae466 100644--- a/docs/.vitepress/config.mts+++ b/docs/.vitepress/config.mts@@ -11,18 +11,63 @@ export default defineConfig({{ text: 'Authenticator', link: '/authenticator/index' }],- sidebar: [- {- text: 'Examples',- items: [- { text: 'Markdown Examples', link: '/markdown-examples' },- { text: 'Runtime API Examples', link: '/api-examples' }- ]- }- ],+ sidebar: {+ '/': sidebarphotos(),+ '/photos/': sidebarphotos(),+ '/common/': sidebarphotos(),+ '/authenticator/': sidebarAuth()+ },+socialLinks: [{ icon: 'github', link: 'https://github.com/ente-io/' }]}})++function sidebarphotos() {+ return [+ {+ text: 'Examples',+ items: [+ { text: 'Markdown Examples', link: '/markdown-examples' },+ { text: 'Runtime API Examples', link: '/api-examples' }+ ]+ },+ {+ text: 'User Guide',+ items: [+ {+ text: 'Features',+ collapsed: true,+ // link: '/photos/features/',+ items: [+ { text: 'Archive', link: '/photos/features/archive' },+ { text: 'Hidden', link: '/photos/features/hidden' },+ { text: 'Family Plan', link: '/photos/features/family-plan' },+ { text: 'Map', link: '/photos/features/map' },+ { text: 'Location Tags', link: '/photos/features/location' },+ { text: 'Collect Photos', link: '/photos/features/collect' },+ { text: 'Public link', link: '/photos/features/public-link' },+ { text: 'Quick link', link: '/photos/features/quick-link' },+ { text: 'Referral Plan', link: '/photos/features/referral' },+ { text: 'Live & Motion Photos', link: '/photos/features/live-photos' },++ ]+ },+ ]+ },+ ]+}++function sidebarAuth() {+ return [+ {+ text: 'Examples',+ items: [+ { text: 'Markdown Examples', link: '/markdown-examples' },+ { text: 'Runtime API Examples', link: '/api-examples' }+ ]+ }+ ]+}\ No newline at end of filediff --git a/docs/index.md b/docs/index.mdindex b3c304a09c..b07c769708 100644--- a/docs/index.md+++ b/docs/index.md@@ -9,10 +9,10 @@ hero:actions:- theme: brandtext: Photos- link: /markdown-examples+ link: /photos/- theme: brandtext: Authenticator- link: /api-examples+ link: /authenticator/features:- title: Privatediff --git a/docs/photos/features/archive.md b/docs/photos/features/archive.mdnew file mode 100644index 0000000000..6f1aebb64a--- /dev/null+++ b/docs/photos/features/archive.md@@ -0,0 +1 @@+# Archive\ No newline at end of filediff --git a/docs/photos/features/collect.md b/docs/photos/features/collect.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/photos/features/family-plan.md b/docs/photos/features/family-plan.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/photos/features/hidden.md b/docs/photos/features/hidden.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/photos/features/live-photos.md b/docs/photos/features/live-photos.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/photos/features/location.md b/docs/photos/features/location.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/photos/features/map.md b/docs/photos/features/map.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/photos/features/public-link.md b/docs/photos/features/public-link.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/photos/features/quick-link.md b/docs/photos/features/quick-link.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/photos/features/referral.md b/docs/photos/features/referral.mdnew file mode 100644index 0000000000..e69de29bb2