mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-04-09 09:03:40 +00:00
versioned_docs/ was already tracked but versioned_sidebars/ was never committed. Docusaurus requires both to render sidebar navigation for old versions — without the sidebar files, all versioned pages show no navigation. Adds sidebar snapshots for user and developer docs: v0.21.0, v0.22.0, v0.22.1, v0.23.0, v0.23.1, v0.24.0, v0.27.0, v0.28.0 Future versions: CI (docusaurus.yml) runs docs:version on each stable tag push, which generates both versioned_docs/ and versioned_sidebars/. The workflow should be updated to commit these files back, or they need to be added manually after each release. Impact: Sidebar navigation now appears correctly for all existing versioned documentation pages. |
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| static | ||
| versioned_docs | ||
| versioned_sidebars | ||
| .gitignore | ||
| docusaurus.config.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| sidebars.ts | ||
| tsconfig.json | ||
| versions.json | ||
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn 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
yarn 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 yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn 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.