Website and documentation for uppy.io.
Code for uppy.io/blog lives in this repo.
Code for uppy.io/docs lives in
github.com/transloadit/uppy.
If you want to edit uppy.io/blog, just edit the files in this repo.
If you want to edit uppy.io/docs, then you should:
-
Clone both the uppy repo and uppy.io repo.
-
Then, from your
uppy.io
clone, run:ln -s /path-to-your-uppy-repo/docs docs
Now, treat /uppy/docs as your working directory, but run the build/lint scripts from your /uppy.io directory - /uppy.io will pick up your changes.
corepack yarn
corepack yarn dev
This command builds /uppy/docs and /uppy.io, and shows them in a browser. Most changes are reflected live without having to restart the server.
corepack yarn run format
corepack yarn lint
This command lints /uppy/docs and /uppy.io.
corepack yarn build
This command generates static content into the build
directory and can be
served using any static contents hosting service.
This website is built using Docusaurus 2, a modern static website generator.