mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-04-09 09:03:40 +00:00
Switched Giscus mapping from 'pathname' to 'og:title' with strict=1. Discussions are now titled after the readable page title (e.g. 'Chart Examples | Tibber Prices Integration') instead of the URL path, making them immediately identifiable in the GitHub Discussions list. Added a small hint above every comment box pointing users to open a dedicated Discussion on GitHub for new questions/ideas, so page-specific comments don't accumulate unrelated threads. Note: Existing Discussion #94 (pathname-mapped) will no longer appear on chart-examples — a new og:title-mapped discussion will be created on the next comment. #94 remains visible on GitHub. Impact: Maintainer can identify discussion origin at a glance. Users are guided toward proper Discussion threads for new topics. |
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| static | ||
| versioned_docs | ||
| .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.