a614c6dc65
Bumps the docusaurus group with 4 updates in the /site directory: [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus), [@docusaurus/plugin-content-pages](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-content-pages), [@docusaurus/plugin-google-analytics](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-google-analytics) and [@docusaurus/theme-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-theme-classic). Updates `@docusaurus/core` from 3.5.2 to 3.6.2 - [Release notes](https://github.com/facebook/docusaurus/releases) - [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/docusaurus/commits/v3.6.2/packages/docusaurus) Updates `@docusaurus/plugin-content-pages` from 3.5.2 to 3.6.2 - [Release notes](https://github.com/facebook/docusaurus/releases) - [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/docusaurus/commits/v3.6.2/packages/docusaurus-plugin-content-pages) Updates `@docusaurus/plugin-google-analytics` from 3.5.2 to 3.6.2 - [Release notes](https://github.com/facebook/docusaurus/releases) - [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/docusaurus/commits/v3.6.2/packages/docusaurus-plugin-google-analytics) Updates `@docusaurus/theme-classic` from 3.5.2 to 3.6.2 - [Release notes](https://github.com/facebook/docusaurus/releases) - [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/docusaurus/commits/v3.6.2/packages/docusaurus-theme-classic) --- updated-dependencies: - dependency-name: "@docusaurus/core" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docusaurus - dependency-name: "@docusaurus/plugin-content-pages" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docusaurus - dependency-name: "@docusaurus/plugin-google-analytics" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docusaurus - dependency-name: "@docusaurus/theme-classic" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docusaurus ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
components | ||
lib | ||
src | ||
static | ||
.gitignore | ||
docusaurus.config.js | ||
package-lock.json | ||
package.json | ||
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 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.