This is the documentation website for Bitfocus Companion, built using Docusaurus, a modern static website generator.
The documentation is available at /user-guide with a landing page
yarnyarn startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Warning: Do NOT edit the files inside of user-guide directly. These are directly synced from the main branch of companion, and should be edited there instead.
yarn buildThis command generates static content into the build directory and can be served using any static contents hosting service.
This happens automatically on pushes to the main branch
This documentation site supports versioning To create a new version:
yarn docusaurus docs:version <version-name>This will:
- Copy the current docs to
versioned_docs/version-<version-name>/ - Create a versioned sidebar at
versioned_sidebars/version-<version-name>-sidebars.json - Update
versions.jsonwith the new version