mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
* chore: update @docusaurus/core and @docusaurus/preset-classic dependencies to v3.4.0
* Revert "chore: update @docusaurus/core and @docusaurus/preset-classic dependencies to v3.4.0"
This reverts commit d5b38711a1.
* chore: npm audit fix
* chore: update @docusaurus/core and @docusaurus/preset-classic dependencies to v3.4.0 and react and react-dom to 18.3.1
* build: specify node.js version for Netlify
* doc: fix markdown linter warnings to trigger new Netlify build
* build: specify node.js version for Netlify in base dir
* doc: update changelog
* build: specify node.js version for Netlify in base dir as major version
* build: specify node.js version for Netlify in base dir as latest lts major version
* doc: update changelog
Website
This website is built using Docusaurus 2, a modern static website generator and automatically deployed to docs.teslamate.org.
Installation
$ npm i
Local Development
$ npm 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
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.