Skip to content

Commit cffec1f

Browse files
docs: complete public documentation site at /docs (+ README link)
Turn the short in-app docs into a comprehensive, PUBLIC documentation page (moved out of the authenticated app group, with its own clean header + language switcher and a sticky table of contents). Bilingual FR/EN, ~15 sections covering every feature with what-it-is / what-you-can-do / how: overview, spaces & vaults, files & versions, navigation & selection, keyboard shortcuts, sharing, Quick-Upload, Remote-Upload, REST API, webhooks, WebDAV, security & privacy, account, admin, and mobile/PWA. README now points to it as the primary docs (linkable on any instance, no login). The app sidebar still links to /docs.
1 parent 1a42914 commit cffec1f

4 files changed

Lines changed: 516 additions & 195 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ the source.
1111

1212
## 📚 Documentation
1313

14-
- **In-app guide** — once running, open **Documentation** in the app sidebar (`/docs`):
15-
spaces & vaults, Quick-Upload, API tokens, webhooks, WebDAV and keyboard shortcuts.
14+
- **Full documentation (website)** — a complete, public guide lives at **`/docs`** on any
15+
instance (no login). It covers every feature with “what it is / what you can do / how”:
16+
spaces & vaults, files & versions, sharing, Quick-Upload, Remote-Upload, the REST API,
17+
webhooks, WebDAV, security, account & admin, mobile/PWA, and the keyboard shortcuts.
1618
- **[REST API & integrations](docs/API.md)** — personal API tokens, the `/api/v1` endpoints,
1719
outgoing webhooks, and mounting the Drive over **WebDAV** (with `curl`/`rclone` examples).
1820
- **[Deployment](docs/DEPLOYMENT.md)** — bare-metal (PM2) and Docker, behind nginx.

‎apps/web/src/app/(app)/docs/page.tsx‎

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

‎apps/web/src/app/docs/layout.tsx‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import type { Metadata } from 'next';
2+
3+
export const metadata: Metadata = {
4+
title: 'Documentation',
5+
description:
6+
'Documentation complète d’OpenCoperLock : espaces & coffres, fichiers, partage, Quick-Upload, API REST, webhooks, WebDAV, sécurité.',
7+
};
8+
9+
export default function DocsLayout({ children }: { children: React.ReactNode }) {
10+
return children;
11+
}

0 commit comments

Comments
 (0)