pure/site
dependabot[bot] 4dc933fdd5
chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 in /site (#1260)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 14:42:27 -07:00
..
components fix: company name 2022-01-27 09:10:41 -08:00
lib docs: switch cdn from unpkg to jsdelivr (#1034) 2022-07-13 16:12:28 -07:00
src chore: clean up IE css references 2022-10-26 11:29:07 -07:00
static chore: clean up IE css references 2022-10-26 11:29:07 -07:00
.gitignore refactor: upgrade normalize, remove bower, remove old ie hacks (#790) 2020-05-05 08:15:25 -07:00
README.md refactor: upgrade normalize, remove bower, remove old ie hacks (#790) 2020-05-05 08:15:25 -07:00
docusaurus.config.js site: add trailingSlash config 2022-07-11 10:45:41 -07:00
package-lock.json chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 in /site (#1260) 2024-04-01 14:42:27 -07:00
package.json chore(deps): bump js-beautify from 1.14.9 to 1.15.1 in /site (#1255) 2024-04-01 14:42:16 -07:00

README.md

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.