pure/site
dependabot[bot] b4e89646f3
chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /site (#940)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 08:06:23 -08:00
..
components doc: update docusaurus deps (#866) 2021-07-06 10:58:53 -07:00
lib fix: encoding value to match spec 2021-01-09 21:05:56 -08:00
src fix: add button icons fixes #938 2022-01-04 13:22:20 -08:00
static fix: use https from tumblr 2021-09-25 09:41:07 -07:00
.gitignore refactor: upgrade normalize, remove bower, remove old ie hacks (#790) 2020-05-05 08:15:25 -07:00
docusaurus.config.js fix: add button icons fixes #938 2022-01-04 13:22:20 -08:00
package-lock.json chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /site (#940) 2022-01-27 08:06:23 -08:00
package.json chore(deps): bump @docusaurus/plugin-content-pages in /site (#944) 2022-01-27 08:05:48 -08:00
README.md refactor: upgrade normalize, remove bower, remove old ie hacks (#790) 2020-05-05 08:15:25 -07:00

Pure Documentation

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ npm install

Local Development

$ npm run start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

$ npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

$ GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy

The site is hosted on Vercel and will automatically deploy when commits are merged to master.

Including Pure

We want to use the locally built version of Pure so that the layout examples are always using the master version, previously they had used a hardcoded CDN link.

To get Docusaurus to register the css as static, they have to exist in the static/ directory before the site is built. Therefore, we copy the Pure build/ in manually and .gitignore them. Once Docusaurus builds, they resolve as proper CSS files.