yarn pretty

This commit is contained in:
Manav Rathi 2024-03-11 10:31:07 +05:30
parent 8f384247ba
commit e1e0c45d88
17 changed files with 62 additions and 46 deletions

View file

@ -13,7 +13,6 @@ changes in a few minutes after your pull request is merged.
## 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.

View file

@ -7,7 +7,7 @@ export default defineConfig({
description: "Documentation and help for Ente's products",
head: [["link", { rel: "icon", type: "image/png", href: "/favicon.png" }]],
cleanUrls: true,
ignoreDeadLinks: 'localhostLinks',
ignoreDeadLinks: "localhostLinks",
themeConfig: {
// We use the default theme (with some CSS color overrides). This
// themeConfig block can be used to further customize the default theme.

View file

@ -84,8 +84,14 @@ export const sidebar = [
text: "Guides",
items: [
{ text: "Introduction", link: "/self-hosting/guides/" },
{ text: "Configure custom server", link: "/self-hosting/guides/custom-server/" },
{ text: "Mobile build", link: "/self-hosting/guides/mobile-build" },
{
text: "Configure custom server",
link: "/self-hosting/guides/custom-server/",
},
{
text: "Mobile build",
link: "/self-hosting/guides/mobile-build",
},
{
text: "System requirements",
link: "/self-hosting/guides/system-requirements",

View file

@ -11,9 +11,9 @@ Ente is a end-to-end encrypted platform for privately, reliably, and securely
storing your data on the cloud. On top of this platform, Ente offers two
products:
* **Ente Photos** - An alternative to Google Photos and Apple Photos
- **Ente Photos** - An alternative to Google Photos and Apple Photos
* **Ente Auth** - A free 2FA alternative to Authy
- **Ente Auth** - A free 2FA alternative to Authy
Both these apps are available for all desktop (Linux, Mac, Windows) and mobile
(Android, iOS and F-Droid) platforms. They also work directly in your web
@ -60,8 +60,8 @@ how we're building Ente, you can read our [blog](https://ente.io/blog) (or
subscribe to it via [RSS](https://ente.io/blog/rss.xml))
To suggest new features and/or offer your perspective on how we should design
planned and upcoming features, use our [GitHub
discussions](https://github.com/ente-io/ente/discussions)
planned and upcoming features, use our
[GitHub discussions](https://github.com/ente-io/ente/discussions)
Or if you'd just like to hang out, join our
[Discord](https://discord.gg/z2YVKkycX3), follow us on

View file

@ -1,6 +1,8 @@
---
title: Migrating to Ente Auth
description: Guides for migrating your existing 2FA tokens from other products into Ente Auth
description:
Guides for migrating your existing 2FA tokens from other products into Ente
Auth
---
# Migrating to Ente Auth

View file

@ -4,9 +4,8 @@ title: Home
# Welcome!
This site contains documentation and help for Ente Photos and Ente Auth.
It describes various features, and also offers various troubleshooting
suggestions.
This site contains documentation and help for Ente Photos and Ente Auth. It
describes various features, and also offers various troubleshooting suggestions.
Use the **sidebar** menu to navigate to information about the product (Photos or
Auth) you'd like to know more about. Or use the **search** at the top to try and

View file

@ -39,11 +39,11 @@ Chromecast TVs or other Internet-connected large screen devices.
</div>
On Google Chrome and other Chromium browsers, you will see a button labeled
"Auto Pair". This option will prompt you to select a Chromecast supported device
on your local network. Note: this option requires connecting to Google servers
to load necessary dependencies. This option does not transmit any sensitive data
through Google servers, such as your photos. Once your Chromecast device is
connected, you're all set.
"Auto Pair". This option will prompt you to select a Chromecast supported
device on your local network. Note: this option requires connecting to
Google servers to load necessary dependencies. This option does not transmit
any sensitive data through Google servers, such as your photos. Once your
Chromecast device is connected, you're all set.
On all browsers, you'll see the option to "Pair with PIN". This option works
with all devices, Chromecast-enabled or not. You'll be required to load up

View file

@ -1,6 +1,7 @@
---
title: Family plans
description: Share your Ente Photos plan with your family members with no extra cost
description:
Share your Ente Photos plan with your family members with no extra cost
---
# Family plans

View file

@ -1,6 +1,8 @@
---
title: Public links
description: Share photos with your friends and family without them needing to install Ente Photos
description:
Share photos with your friends and family without them needing to install
Ente Photos
---
# Public Links

View file

@ -1,6 +1,8 @@
---
title: Referral plan
description: Earn and expand your storage by referring Ente Photos to your friends and family
description:
Earn and expand your storage by referring Ente Photos to your friends and
family
---
# Referral plan

View file

@ -1,6 +1,7 @@
---
title: Sharing
description: Ente allows you to share albums and collaborate with your loved ones
description:
Ente allows you to share albums and collaborate with your loved ones
---
# Sharing
@ -36,4 +37,5 @@ same album - someone can be added as a `Collaborator`, while someone else as a
If you wish to collect photos from folks who are not Ente, you can do so with
our Links. Simply tick the box that says "Allow uploads", and anyone who has
access to the link will be able to add photos to your album. [Read more](https://ente.io/blog/collect-photos/)
access to the link will be able to add photos to your album.
[Read more](https://ente.io/blog/collect-photos/)

View file

@ -1,6 +1,7 @@
---
title: Files not uploading
description: Troubleshooting when files are not uploading from your Ente Photos app
description:
Troubleshooting when files are not uploading from your Ente Photos app
---
# Files not uploading

View file

@ -8,9 +8,9 @@ description: Getting the OTP for a self host Ente
The self-hosted Ente by default does not send out emails, so you can pick the
verification code by:
* Getting it from the server logs, or
- Getting it from the server logs, or
* Reading it from the DB (otts table)
- Reading it from the DB (otts table)
You can also set pre-defined hardcoded OTTs for certain users when running
locally by creating a `museum.yaml` and adding the `internal.hardcoded-ott`

View file

@ -1,13 +1,15 @@
---
title: Building mobile apps
description: Connecting to your custom self-hosted server when building the Ente mobile apps from source
description:
Connecting to your custom self-hosted server when building the Ente mobile
apps from source
---
# Mobile: Build and connect to self-hosted server
The up to date instructions to build the mobile apps are in the [Ente
Photos](https://github.com/ente-io/ente/tree/main/mobile#readme) and [Ente
Auth](https://github.com/ente-io/ente/tree/main/auth#readme) READMEs. When
The up to date instructions to build the mobile apps are in the
[Ente Photos](https://github.com/ente-io/ente/tree/main/mobile#readme) and
[Ente Auth](https://github.com/ente-io/ente/tree/main/auth#readme) READMEs. When
building or running, you can use the
```sh

View file

@ -10,5 +10,5 @@ very light weight - it's just a single go binary, and it doesn't do any server
side ML, so I feel it should be able to run on anything reasonable.
We've used the server quite easily on small cloud instances, old laptops etc. A
community member also reported being able to run the server on [very low-end
embedded devices](https://github.com/ente-io/ente/discussions/594).
community member also reported being able to run the server on
[very low-end embedded devices](https://github.com/ente-io/ente/discussions/594).

View file

@ -10,9 +10,9 @@ the same code we use for our own cloud service.
> [!TIP]
>
> To get some context, you might find our [blog
> post](https://ente.io/blog/open-sourcing-our-server/) announcing the open
> sourcing of our server useful.
> To get some context, you might find our
> [blog post](https://ente.io/blog/open-sourcing-our-server/) announcing the
> open sourcing of our server useful.
## Getting started
@ -39,24 +39,24 @@ will be connecting to the server running on your local machine at
localhost:8080.
For the mobile apps, you don't even need to build, and can install normal Ente
apps and configure them to use your [custom self-hosted
server](guides/custom-server).
apps and configure them to use your
[custom self-hosted server](guides/custom-server).
> If you want to build from source, see the instructions
[here](guides/mobile-build).
> [here](guides/mobile-build).
## Next steps
* More details about the server are in its
[README](https://github.com/ente-io/ente/tree/main/server#readme)
- More details about the server are in its
[README](https://github.com/ente-io/ente/tree/main/server#readme)
* More details about running the server (with or without Docker) are in
[RUNNING](https://github.com/ente-io/ente/blob/main/server/RUNNING.md)
- More details about running the server (with or without Docker) are in
[RUNNING](https://github.com/ente-io/ente/blob/main/server/RUNNING.md)
* If you have questions around self-hosting that are not answered in any of the
existing documentation, you can ask in our [GitHub
Discussions](https://github.com/ente-io/ente/discussions). **Please remember
to search first if the query has been already asked and answered.**
- If you have questions around self-hosting that are not answered in any of
the existing documentation, you can ask in our
[GitHub Discussions](https://github.com/ente-io/ente/discussions). **Please
remember to search first if the query has been already asked and answered.**
## Contributing!

View file

@ -7,4 +7,4 @@ description: Fixing yarn install errors when trying to self host Ente
If your `yarn install` is failing, make sure you are using Yarn Classic
* https://classic.yarnpkg.com/lang/en/docs/install
- https://classic.yarnpkg.com/lang/en/docs/install