Skip to content

swup/docs

Repository files navigation

Swup Docs

📘 Documentation Website for swup

Contributing

Something to add? Found a typo? Help your future self and others by updating the docs. Simply edit the appropriate markdown files, the docs will be re-generated automatically ✨

Install locally

git clone [email protected]:swup/docs.git
cd ./docs
npm install

Develop & Preview

This site makes use of Eleventy for compiling the markdown files to HTML. WebPack takes care of bundling and transpiling the assets (SCSS, JavaScript).

npm run watch

This will start watch modes for both Eleventy and WebPack. Your terminal will print the exact localhost URL where you can preview your work.

Build

npm run build