Extras
Additional information and resources for SimpleBLE.
Building documentation
The documentation for SimpleBLE is built using Fumadocs, a Next.js-based documentation framework.
Prerequisites
- Node.js 18+ or Bun
- npm, pnpm, or bun package manager
Installation
First, install the dependencies:
cd <path-to-repository>/docs-new
npm install
# or
bun installDevelopment
To run the documentation site in development mode with hot reload:
npm run dev
# or
bun devThe documentation will be available at http://localhost:3000.
Building for Production
To build the documentation for production:
npm run build
# or
bun run buildTo preview the production build locally:
npm run start
# or
bun startContent Structure
- Content files: Located in
docs-new/content/docs/ - Components: Located in
docs-new/src/components/ - API documentation: Generated using custom React components in
docs-new/src/components/api/
Documentation is written in MDX (Markdown with JSX), allowing you to use React components within your documentation.
Release checklist
Before releasing a new version of the project, the following steps should be performed:
-
Ensure content parity between all readmes and the documentation.
README.rstLICENSE.mdsimplepyble/README.rstsimplersble/README.md
-
Review the version number in the following files, make sure they match:
VERSIONCargo.toml(Remove the -dev1 suffix)docs/content/docs/changelog.rst(Add the release date)
-
Commit the changes to the repository.
-
Tag the commit with the new version number.
-
Push the commit and the tag to the remote repository.
-
Create a new release on GitHub.
-
Wait for
ci_release.ymlto finish. -
Advance the version number in the following files:
VERSIONCargo.toml(and include a-dev1suffix)docs/content/docs/changelog.rst
-
Run
cargo buildto ensure thatCargo.tomlis correct. -
Run
minion deployto deploy the documentation. -
TODO: SOCIAL MEDIA
Hardware In The Loop - Recommended Tests
- Attempt connecting while already connected.
- Attempt disconnecting while not connected.
