Contributing
NextFloor is free and open source out of conviction. Whatever you add belongs to everyone, under the MIT licence.
Ideas and bugs#
- Ideas and questions: Discussions.
- Bugs: Issues. Include the version, what you did, what you expected and what you saw. A screenshot helps.
- Security problems go through private reporting, never a public issue.
Translations#
German and English are built in. Further languages are files in frontend/lang/<code>.json, with the keys of frontend/src/i18n.ts. They are fetched only when Home Assistant runs in that language, and a key a file lacks falls back to English. A pull request that completes a language is very welcome. This documentation also exists in German and English: the Markdown sources are in docs/content/en and docs/content/de.
Furniture and plugins#
- Furniture: build it in the browser builder and share it in the community store. See Furniture packs. Please use only sizes and shapes you made yourself.
- Plugins: see Write a plugin and the plugin store.
- 3D models you own stay on your own Home Assistant and never go into the repository. See Your own 3D models.
Before a pull request#
cd frontend
npm install
npm run typecheck
npm test
npm run build # the built bundles are committed; CI fails when they are stale
cd ..
ruff check . && ruff format --check .
pytest -q # the Home Assistant side
- Keep a change small and say what it is for.
- Commit messages follow Conventional Commits:
feat:,fix:,docs:,build:,test:. - Every change users notice goes into
CHANGELOG.mdunder Unreleased, in the same commit. - Work happens on
dev;mainis what HACS users receive and moves with releases.
The full guide is CONTRIBUTING.md.
Building this documentation#
The site is built from docs/content by tools/docs:
cd tools/docs
npm install
npm run build # writes tools/docs/dist
npm run check # fails on broken links, missing images or a page that exists in only one language
Every page exists in English and German. Callouts use > [!NOTE], > [!TIP], > [!WARNING] and > [!IMPORTANT]. A numbered list with three or more items becomes a step list.