pure/site
dependabot[bot] 1a64fa1c63
Some checks failed
Deploy / deploy (push) Has been cancelled
Testing / test (push) Has been cancelled
chore(deps): bump path-to-regexp from 1.8.0 to 1.9.0 in /site (#1370)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 10:30:00 -08:00
..
components chore: rename to main (#1342) 2024-10-07 10:52:34 -07:00
lib docs: switch cdn from unpkg to jsdelivr (#1034) 2022-07-13 16:12:28 -07:00
src chore: rename to main (#1342) 2024-10-07 10:52:34 -07:00
static Update index.html (#1368) 2024-12-09 10:22:22 -08:00
.gitignore 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 path-to-regexp from 1.8.0 to 1.9.0 in /site (#1370) 2024-12-09 10:30:00 -08:00
package.json chore(deps): bump the docusaurus group across 1 directory with 4 updates (#1362) 2024-12-09 10:25:16 -08:00
README.md chore: rename to main (#1342) 2024-10-07 10:52:34 -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 main.

Including Pure

We want to use the locally built version of Pure so that the layout examples are always using the main 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.