Skip to content

Commit 201cf7b

Browse files
committed
docs(PWA)
1 parent 3982813 commit 201cf7b

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ bun www # or npm run www
341341
- `VITE_UI_DIR='ui/'`
342342
- `VITE_WORKER_FILE='websocket.js'`
343343

344+
> [!IMPORTANT]
345+
> `VITE_DOMAIN` is _only_ used for robots.txt and sitemap.xml generation, **all app urls are relative**
346+
344347
**Build Output Structure:**
345348

346349
```
@@ -369,10 +372,6 @@ dist/
369372
└── websocket.js # Web Worker (not hashed)
370373
```
371374

372-
> [!IMPORTANT]
373-
> `DOMAIN` is only used for robots.txt and sitemap.xml generation, all app urls are relative
374-
375-
376375
**Code Standards & Style**
377376

378377
- **HTML 5**: Semantic tagging

docs/install-pwa.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@
77
- [Offline Support](#offline-support)
88
- [File Handling](#file-handling)
99
- [Installation by Platform](#installation-by-platform)
10-
- [Desktop Chrome/Edge](#desktop-chromeedge)
10+
- [Desktop Chrome/Edge](#desktop-chrome)
1111
- [Desktop Safari (macOS)](#desktop-safari-macos)
1212
- [Desktop Firefox](#desktop-firefox)
13-
- [iPadOS (Safari)](#ipados-safari)
13+
- [iPadOS (Safari)](#ipados--ios-safari)
1414
- [Android (Chrome)](#android-chrome)
1515
- [Using File Handling Features](#using-file-handling-features)
1616
- [Desktop: "Open With" Integration](#desktop-open-with-integration)
1717
- [Android: Share Sheet](#android-share-sheet)
1818
- [iOS: Manual File Opening](#ios-manual-file-opening)
19+
- [Additional Information](#additional-information)
20+
- [Citations](#citations)
1921

2022
## What is a PWA?
2123

@@ -54,7 +56,7 @@ Once installed, teXt0wnz works completely offline.
5456

5557
This document provides step-by-step instructions for installing a Progressive Web App (PWA), like **teXt0wnz** across major platforms and browsers. PWAs offer app-like experiences directly from your browser, with offline support and native-like features.
5658

57-
## 1. Desktop Chrome
59+
## Desktop Chrome
5860

5961
![desktop install](https://raw.githubusercontent.com/wiki/xero/text0wnz/img/pwa-chrome.png)
6062

@@ -78,7 +80,7 @@ This document provides step-by-step instructions for installing a Progressive We
7880

7981
---
8082

81-
## 2. Desktop Safari (macOS)
83+
## Desktop Safari (macOS)
8284

8385
![safari install](https://raw.githubusercontent.com/wiki/xero/text0wnz/img/pwa-safari.png)
8486

@@ -99,7 +101,7 @@ This document provides step-by-step instructions for installing a Progressive We
99101

100102
---
101103

102-
## 3. Desktop Firefox
104+
## Desktop Firefox
103105

104106
**Steps:**
105107

@@ -113,7 +115,7 @@ This document provides step-by-step instructions for installing a Progressive We
113115

114116
---
115117

116-
## 4. iPadOS / iOS (Safari)
118+
## iPadOS / iOS (Safari)
117119

118120
![ipad install](https://raw.githubusercontent.com/wiki/xero/text0wnz/img/pwa-ios.png)
119121

@@ -137,7 +139,7 @@ This document provides step-by-step instructions for installing a Progressive We
137139

138140
---
139141

140-
## 5. Android (Chrome)
142+
## Android (Chrome)
141143

142144
![android install](https://raw.githubusercontent.com/wiki/xero/text0wnz/img/pwa-android.png)
143145

@@ -208,8 +210,6 @@ This document provides step-by-step instructions for installing a Progressive We
208210
- Some browsers and platforms may not fully support all PWA features or installation flows.
209211
> See: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest
210212
211-
---
212-
213213
## Citations
214214

215215
1. [Google Chrome Help: Install a Progressive Web App](https://support.google.com/chrome/answer/9658361?hl=en)

0 commit comments

Comments
 (0)