1
1
# Uppy.io
2
2
3
- Website and documentation for [ uppy] ( https://uppy.io/ ) .
3
+ Website and documentation for [ uppy.io ] ( https://uppy.io ) .
4
4
5
- This website is built using [ Docusaurus 2] ( https://docusaurus.io/ ) , a modern
6
- static website generator.
5
+ Code for [ uppy.io/blog] ( https://uppy.io/blog ) lives in this repo.
6
+ Code for [ uppy.io/docs] ( https://uppy.io/docs/quick-start ) lives in
7
+ [ github.com/transloadit/uppy] ( https://github.com/transloadit/uppy ) .
7
8
8
9
## Developer guide
9
10
10
- ### Installation
11
+ If you want to edit [ uppy.io/blog] ( https://uppy.io/blog ) , just edit the files in
12
+ this repo.
13
+
14
+ If you want to edit [ uppy.io/docs] ( https://uppy.io/docs/quick-start ) , then you
15
+ should:
16
+
17
+ 1 . Clone both the ** uppy** repo and ** uppy.io** repo.
18
+
19
+ 2 . Then, from your ` uppy.io ` clone, run:
20
+
21
+ ``` sh
22
+ ln -s /path-to-your-uppy-repo/docs docs
23
+ ```
24
+
25
+ Now, treat ** /uppy/docs** as your working directory, but run the build/lint
26
+ scripts from your ** /uppy.io** directory - ** /uppy.io** will pick up your
27
+ changes.
28
+
29
+ ### Install Dependencies
11
30
12
31
``` sh
13
32
corepack yarn
@@ -19,8 +38,17 @@ corepack yarn
19
38
corepack yarn dev
20
39
```
21
40
22
- This command starts a local development server and opens up a browser window.
23
- Most changes are reflected live without having to restart the server.
41
+ This command builds ** /uppy/docs** and ** /uppy.io** , and shows them in a
42
+ browser. Most changes are reflected live without having to restart the server.
43
+
44
+ ### Lint
45
+
46
+ ``` sh
47
+ corepack yarn run format
48
+ corepack yarn lint
49
+ ```
50
+
51
+ This command lints ** /uppy/docs** and ** /uppy.io** .
24
52
25
53
### Build
26
54
@@ -30,3 +58,8 @@ corepack yarn build
30
58
31
59
This command generates static content into the ` build ` directory and can be
32
60
served using any static contents hosting service.
61
+
62
+ ---
63
+
64
+ This website is built using [ Docusaurus 2] ( https://docusaurus.io/ ) , a modern
65
+ static website generator.
0 commit comments