puppeteer/website
Alex Rudenko 29b948197d
chore: fix website URLs (#9490)
GitHub Pages appends trailing slashes which might break docusaurus
links.
2023-01-11 15:51:39 +01:00
..
src docs: use counter for search bar query (#9429) 2022-12-16 18:15:49 +01:00
static chore: fix website URLs (#9490) 2023-01-11 15:51:39 +01:00
versioned_docs/version-19.5.0 chore: release main (#9466) 2023-01-09 10:58:41 +01:00
versioned_sidebars chore: release main (#9466) 2023-01-09 10:58:41 +01:00
archive.js chore: remove old website versions and point to md docs instead (#8757) 2022-08-09 11:13:05 +00:00
babel.config.js feat: add documentation (#8593) 2022-07-01 11:52:39 +00:00
docusaurus.config.js chore: fix website URLs (#9490) 2023-01-11 15:51:39 +01:00
package-lock.json chore(deps): Bump json5 from 2.2.1 to 2.2.3 in /website (#9475) 2023-01-11 15:49:30 +01:00
package.json docs: use a number of documented versions for indexing (#9424) 2022-12-16 14:01:19 +01:00
README.md feat: add documentation (#8593) 2022-07-01 11:52:39 +00:00
sidebars.js docs: various doc improvements (#9396) 2022-12-09 13:57:39 +01:00
versions.json chore: release main (#9466) 2023-01-09 10:58:41 +01:00
versionsArchived.json chore: release main (#9466) 2023-01-09 10:58:41 +01:00

Website

This website is built using Docusaurus 2.

Installation

$ npm install

Local Development

$ npm start

This command starts a local development server and opens 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

Using SSH:

$ USE_SSH=true npm run deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> npm run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.