AirWire is a high resolution signal RX/TX over the air. Signal with 16-bit resolution in/out at min 1 kHz. CAN 2.0 RX/TX at all speeds.
Upstream reference: seipv/AirWire
Sphinx turns plain text (mostly reStructuredText, .rst) into a static HTML site. GitHub Pages hosts that HTML; GitHub Actions builds it on every push to main and publishes it.
The workflow lives in .github/workflows/sphinx-pages.yml. It installs dependencies from docs/requirements.txt, runs sphinx-build, adds a .nojekyll file (so GitHub Pages does not ignore Sphinx folders like _static), then uploads the built site to Pages.
| Path | Role |
|---|---|
docs/source/conf.py |
Sphinx settings (title, theme, extensions). |
docs/source/index.rst |
Home page content and table of contents. |
docs/requirements.txt |
Python packages CI uses to build. |
.github/workflows/sphinx-pages.yml |
Builds HTML and deploys to Pages. |
.gitignore |
Ignores docs/_build/ (build output) and local venv. |
Install Python 3 first. Then pick the section for your OS, run the commands from the repository root.
python3 -m venv .venv-docs
source .venv-docs/bin/activate
pip install -r docs/requirements.txt
sphinx-build -b html docs/source docs/_build/htmlServe the build:
python3 -m http.server --directory docs/_build/htmlWhen installing Python from python.org, tick Add python.exe to PATH so py and python work in any new terminal.
py -m venv .venv-docs
.\.venv-docs\Scripts\Activate.ps1
pip install -r docs\requirements.txt
sphinx-build -b html docs\source docs\_build\htmlIf Activate.ps1 is blocked with “running scripts is disabled on this system,” allow local scripts once for your user, then activate again:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSignedServe the build (PowerShell does not have a --directory shortcut limitation; this works as-is):
py -m http.server --directory docs\_build\htmlpy -m venv .venv-docs
.venv-docs\Scripts\activate.bat
pip install -r docs\requirements.txt
sphinx-build -b html docs\source docs\_build\html
py -m http.server --directory docs\_build\htmlEither open docs/_build/html/index.html directly in a browser, or after starting the server above, visit http://localhost:8000/.
Edit docs/source/index.rst for the home page. Add more .rst files under docs/source/, then list them under the .. toctree:: block in index.rst.
- Push this repository to GitHub.
- In the repo: Settings → Pages.
- Under Build and deployment, set Source to GitHub Actions (not “Deploy from a branch”).
- The first push to
**main** runs Build & Deploy Sphinx to GitHub Pages. When the deploy job finishes, the workflow summary shows the live URL (oftenhttps://<username>.github.io/AirWire/for a project site, depending on account and repo name).
- Wrong branch: In
sphinx-pages.yml, theon.push.brancheslist must include your default branch (mainvsmaster). - Pages permission: For a private organization repository, Pages may need to be allowed in organization policy.
- First deploy: Approve the github-pages environment if GitHub prompts for environment approval.
- Build locally with the commands above until the docs look right.
- Commit and push to
main. - Check the Actions tab for a green run and open the URL from the deploy job summary.