mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.0 to 1.25.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
MapillaryJS Documentation
This website is built using Docusaurus 2.
Development Workflow
After cloning MapillaryJS, run yarn install && yarn install-mjs in this directory to fetch the documentation dependencies. Then, you can run several commands:
yarn install-mjsbuilds themapillary-jslibrary and copies its distribution to thesrc/mapillary-jsdirectory. This step is required for building the docs.yarn cicheck for linting/formatting issues.yarn startstarts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. It omits the API and examples sections for faster iteration.yarn buildgenerates static content into thebuilddirectory and can be served using any static contents hosting service.yarn serveserves the static content in thebuilddirectory. Navigate tohttp://localhost:3000/mapillary-jsto view the documentation.yarn build-apibuilds the API reference in thedoc/apifolder spearately. Running this command is not needed for building the static documentation.yarn clearremoves the doc build output.
Deployment
Push to the gh-pages branch.
$ GIT_USER=<your GitHub username> yarn deploy