pure/site
dependabot[bot] 648e4d18f1
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /site (#976)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:22:29 -07:00
..
components fix: company name 2022-01-27 09:10:41 -08:00
lib refactor(site): pull pure files from npm install 2022-03-14 15:44:15 -07:00
src feat: add xxl (1920px) media query (#965) 2022-03-14 16:54:01 -07:00
static refactor: remove custom grid 2022-03-14 14:55:49 -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 minimist from 1.2.5 to 1.2.6 in /site (#976) 2022-03-28 11:22:29 -07:00
package.json chore(site): use latest purecss 2022-03-14 17:05:08 -07: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.