Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update docs

Manav Rathi258c69cd73fb
diff --git a/docs/.gitignore b/docs/.gitignore
index 5fb7262b94..58649e9ab8 100644
--- a/docs/.gitignore
+++ b/docs/.gitignore
@@ -4,7 +4,7 @@ node_modules/
# macOS
.DS_Store
-# VitePress' dev server cache
+# VitePress dev server cache
docs/.vitepress/cache
-# VitePress' production build
+# VitePress production build
docs/.vitepress/dist
diff --git a/docs/CLAUDE.md b/docs/CLAUDE.md
index 68b4cfa543..b66f777cc5 100644
--- a/docs/CLAUDE.md
+++ b/docs/CLAUDE.md
@@ -1,11 +1,11 @@
# CLAUDE.md
-Documentation for Ente's products (Photos, Auth, self-hosting), published at [ente.com/help](https://ente.com/help). Built with VitePress.
+Documentation for Ente's products published at [ente.com/help](https://ente.com/help). Built with VitePress.
## Development commands
```bash
-npm ci # Install dependencies from the committed lockfile
+npm ci # Install dependencies
npm run dev # Start local dev server
npm run build # Build for production
npm run pretty # Format all files with Prettier
diff --git a/docs/README.md b/docs/README.md
index 670a732d50..599a915c61 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,57 +1,26 @@
# Docs
-
Help and documentation for Ente's products.
-You can find the live version of these at
-**[ente.com/help](https://ente.com/help)**.
+The live version of these is at
+**[ente.com/help](https://ente.com/help)**. The
+live site updates within a few minutes of a PR being merged.
## Quick edits
-You can edit these files directly on GitHub and open a pull request.
-[ente.com/help](https://ente.com/help) will automatically get updated with your
-changes in a few minutes after your pull request is merged.
+For a typo or a small fix, just edit the file directly on GitHub and open a
+pull request.
## Running locally
-The above workflow is great since it doesn't require you to setup anything on
-your local machine. But if you plan on contributing frequently, you might find
-it easier to run things locally.
-
-Clone this repository
+For anything more involved, run a local preview:
```sh
git clone https://github.com/ente-io/ente
-```
-
-Change to this directory
-
-```sh
cd ente/docs
-```
-
-Install dependencies
-
-```sh
npm ci
-```
-
-Use plain `npm install` only when you are intentionally updating dependencies
-and reviewing the resulting `package-lock.json` changes.
-
-Then start a local server
-
-```sh
npm run dev
```
-For an editor, VSCode is a good choice. Also install the Prettier extension for
-VSCode, and set VSCode to format on save. This way the editor will automatically
-format and wrap the text using the project's standard, so you can just focus on
-the content. You can also format without VSCode by using the `npm run pretty`
-command.
-
## Have fun!
-If you're unsure about how to do something, just look around in the other files
-and copy paste whatever seems to match the look of what you're trying to do. And
-remember, writing docs should not be a chore, have fun!
+Writing docs should not be a chore, have fun!