π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Format markdown files with Prettier for consistent styling
Manav Rathi63744e60c0be
diff --git a/docs/CLAUDE.md b/docs/CLAUDE.mdindex c748fe5fea..2036ab0f98 100644--- a/docs/CLAUDE.md+++ b/docs/CLAUDE.md@@ -19,6 +19,7 @@ This is the documentation repository for Ente's products (Photos, Auth, and self## Development Commands### Local development+```bashyarn install # Install dependenciesyarn dev # Start local dev server (runs vitepress dev docs)@@ -27,6 +28,7 @@ yarn preview # Preview production build```### Code formatting+```bashyarn pretty # Format all files with Prettieryarn pretty:check # Check formatting without modifying files@@ -43,12 +45,14 @@ yarn pretty:check # Check formatting without modifying files### Content StructureDocumentation is organized by product:+- `docs/photos/` - Ente Photos documentation (features, FAQ, migration guides)- `docs/auth/` - Ente Auth 2FA app documentation- `docs/self-hosting/` - Self-hosting installation and administration guides- `docs/cli/` - CLI tool documentationEach product section typically contains:+- `index.md` - Product introduction- `features/` - Feature documentation organized by category- `faq/` - Frequently asked questions@@ -66,12 +70,14 @@ Each product section typically contains:The repository includes a comprehensive style guide at `docs/photos/STYLE_GUIDE.md`. Key requirements:#### Voice and Terminology+- Use imperative voice: "Open Settings" not "You can open Settings"- Use "Ente" or "Ente Photos" in documentation (not "we" unless offering support/commitments)- Capitalize UI elements: Settings, Preferences, Albums, Trash, Hidden, Archive- Platform names: iOS, Android, macOS, Windows, Linux#### Actions and Navigation+- **Tap** for mobile, **Click** for desktop/web- **Open** for UI elements, menus, settings (NOT "Go to" or "Navigate to")- **Select** for choosing options@@ -79,37 +85,47 @@ The repository includes a comprehensive style guide at `docs/photos/STYLE_GUIDE.- Settings paths: `` `Settings > Backup > Folders` `` (code-formatted with `>` separator)#### Platform-Specific Instructions+Always use bold headers:+```markdown**On mobile:**+1. Open `Settings > Backup`**On desktop:**+1. Open `Preferences > Backup`**On web:**+1. Click the menu icon```Variations: `**On iOS:**`, `**On Android:**`, `**On web/desktop:**`, etc.#### FAQ Requirements+ALL FAQ questions MUST:+1. Be H3 headings with unique anchor IDs: `### Question? {#unique-anchor-id}`2. Have descriptive anchor IDs (lowercase, hyphens only): `{#enable-face-recognition-ml}` NOT `{#faq1}`3. Be unique across ALL FAQ files (not just within one file)Check for duplicate anchors:+```bashgrep -rh "{#[a-z0-9-]*}" docs/photos/faq/*.md | sed 's/.*{#\([^}]*\)}.*/\1/' | sort | uniq -d```#### Links and Cross-References+- Use "Learn more" consistently (NOT "See more", "For more details", "Read more")- Link text should be descriptive and use title case- Always cross-link related features from FAQ and vice versa#### Formatting+- H1: Page title only- H2: Major sections- H3: Subsections / FAQ questions (auto-spaced via CSS)@@ -118,7 +134,9 @@ grep -rh "{#[a-z0-9-]*}" docs/photos/faq/*.md | sed 's/.*{#\([^}]*\)}.*/\1/' | s- Notes: `> **Note**: Text here` (use blockquotes with bold labels)### Content Review Checklist+Before submitting documentation changes:+- [ ] Follow style guide terminology and voice- [ ] Use imperative voice for instructions- [ ] Platform headers are bolddiff --git a/docs/docs/photos/features/upcoming-changes.md b/docs/docs/photos/features/upcoming-changes.mdindex 7a437382cc..ff0a1aabd3 100644--- a/docs/docs/photos/features/upcoming-changes.md+++ b/docs/docs/photos/features/upcoming-changes.md@@ -14,6 +14,7 @@ This page tracks documentation updates that are pending release. Each entry incl**Status:** Pending release**Affects files:**+- `/docs/photos/features/sharing-and-collaboration/embed.md`- `/docs/photos/faq/sharing-and-collaboration.md`@@ -28,6 +29,7 @@ The mobile app now supports the "Copy embed HTML" feature, similar to the web ap**Location:** Under section "### Easy method - Using the web app" (lines 18-28)**Current text:**+```markdown### Easy method - Using the web app@@ -43,12 +45,14 @@ This copies ready-to-use iframe code that you can paste directly into your websi```**Replace with:**+```markdown### Easy method - Using the appThe simplest way to get the embed code is directly from Ente (web or mobile):**On web:**+1. Open the album in [web.ente.io](https://web.ente.io)2. Open the album's sharing settings3. Create a public link (if you haven't already)@@ -56,6 +60,7 @@ The simplest way to get the embed code is directly from Ente (web or mobile):5. Click the "Copy embed HTML" button**On mobile:**+1. Open the album in the Ente app2. Tap the share icon3. Create a public link (if you haven't already)@@ -70,6 +75,7 @@ This copies ready-to-use iframe code that you can paste directly into your websi**Location:** Under question "### How do I embed an album on my website?" (around line 430-455)**Current text:**+```markdown**Easy method:**@@ -77,6 +83,7 @@ Open the album in Ente's web app, create a public link, open link settings, and```**Replace with:**+```markdown**Easy method:**@@ -84,6 +91,7 @@ Open the album in Ente (web or mobile app), create a public link, open link sett```**Implementation notes:**+- The mobile app implementation follows the same flow as web- The button label is "Copy embed HTML" on both platforms- The copied HTML format is identical across platforms