Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 38c41ea

Browse files
authored
Merge pull request #409 from jumpstarter-dev/fix-warnings-and-links
Fix doc warnings and add additional doc targets
2 parents e596937 + 1a70e0e commit 38c41ea

6 files changed

Lines changed: 45 additions & 14 deletions

File tree

.github/workflows/documentation.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,27 @@ jobs:
6868
with:
6969
path: ./docs/build
7070

71+
check-warnings:
72+
runs-on: ubuntu-latest
73+
steps:
74+
- uses: actions/checkout@v4
75+
with:
76+
fetch-depth: 0
77+
fetch-tags: true
78+
79+
- name: Install the latest version of uv
80+
uses: astral-sh/setup-uv@v1
81+
with:
82+
version: "latest"
83+
enable-cache: true
84+
cache-dependency-glob: "uv.lock"
85+
86+
- name: Install Python
87+
run: uv python install
88+
89+
- name: Build the documentation for the current version (no warnings allowed)
90+
run: make sync && make docs
91+
7192
# Deployment job
7293
deploy:
7394
environment:

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ PKG_TARGETS = $(subst packages/,,$(wildcard packages/*))
22

33
default: build
44

5+
docs-singlehtml:
6+
uv run --isolated --all-packages --group docs $(MAKE) -C docs singlehtml
7+
8+
docs:
9+
uv run --isolated --all-packages --group docs $(MAKE) -C docs html SPHINXOPTS="-W --keep-going -n"
10+
511
docs-all:
612
uv run --isolated --all-packages --group docs $(MAKE) -C docs multiversion
713

docs/source/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040

4141
mermaid_version = "10.9.1"
4242

43+
suppress_warnings = [
44+
"ref.class", # suppress unresolved Python class references (external references
45+
# are warnings otherwise)
46+
]
47+
4348
# -- Options for HTML output -------------------------------------------------
4449
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
4550

docs/source/introduction/adapters.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,4 @@ Unlike [Drivers](./drivers.md), which establish the foundational connections to
1717

1818
## Types of Adapters
1919

20-
```{include} ../api-reference/adapters/index.md
21-
:start-after: "## Types of Adapters"
22-
:end-before: "```{toctree}"
23-
```
20+
* 📡 [Network](../api-reference/adapters/network.md): Adapters that transform network connections and streams into different protocols or connection types.

docs/source/introduction/drivers.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,18 @@ patterns and examples, see the [Driver Classes and Architecture](../api-referenc
2222

2323
Drivers are often used with [Adapters](./adapters.md), which transform driver connections into different forms or interfaces for specific use cases.
2424

25-
## Types of Drivers
26-
27-
```{include} ../api-reference/drivers/index.md
28-
:start-after: "## Types of Drivers"
29-
:end-before: "```{toctree}"
30-
```
25+
## Driver Types
26+
27+
The API reference of the documentation provides a complete list of all drivers,
28+
you can find it here: [Driver API Reference](../api-reference/drivers/index.md).
29+
30+
Some categories of drivers include:
31+
*[System Control](../api-reference/drivers/index.md#system-control-drivers): Control power to devices, or general control.
32+
* 📡 [Communication](../api-reference/drivers/index.md#communication-drivers): Provide protocols for network communication, such as TCP/IP, Serial, CAN bus, etc.
33+
* 💾 [Storage And Data](../api-reference/drivers/index.md#storage-and-data-drivers): Control storage devices, such as SD cards or USB drives, and data.
34+
* 📹 [Media](../api-reference/drivers/index.md#media-drivers): Provide interfaces for media capture and playback, such as video or audio.
35+
* 🐞 [Debug and Programming](../api-reference/drivers/index.md#debug-and-programming-drivers): Provide interfaces for debugging and programming devices, such as JTAG or SWD, remote flashing, emulation, etc.
36+
* 🛠️ [Utility](../api-reference/drivers/index.md#utility-drivers): Provide utility functions, such as shell driver commands on a exporter.
3137

3238
### Composite Drivers
3339

packages/jumpstarter-driver-corellium/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ export:
2525
# device_build: "Critical Application Monitor (Baremetal)"
2626
```
2727

28-
## API Reference
29-
30-
For more examples, check the [examples folder](./examples).
31-
3228
### ExporterConfig Example
3329

3430
You can run an exporter by running: `jmp exporter shell -c $file`:

0 commit comments

Comments
 (0)