Skip to content

Documentation refresh: align first-read docs with what shipped in PR #6#7

Merged
ringof merged 1 commit into
mainfrom
claude/doc-refresh
May 15, 2026
Merged

Documentation refresh: align first-read docs with what shipped in PR #6#7
ringof merged 1 commit into
mainfrom
claude/doc-refresh

Conversation

@ringof
Copy link
Copy Markdown
Owner

@ringof ringof commented May 15, 2026

Summary

Documentation audit after the PR #6 chain (librx888 ABI sync, AM BCB audio demo, PulseAudio routing). The code shipped but the docs drifted through several rounds of fixes — this PR brings every first-read doc file back in line with what actually exists in main.

Stale claims fixed

File What was wrong
README.md "pre-alpha"; -DWITH_RX888=ON (option gone); ka9q/rx888-tools (wrong org); samprate=64.8e6 default; stream tags + status messages described as shipped (they're not yet); grc-demo "HF waterfall" entrypoint (it's AM BCB now).
examples/README.md Block diagram missed the chan_decim=10 stage; audio_decim=40 (should be 4); --device /dev/snd recipe (we moved to PulseAudio bind-mount).
MANIFEST.md Untouched gr_modtool template placeholders (Author Name, Copyright Owner 1, etc.).
docs/PLAN.md No indication that v0.2 has shipped. Status snapshot added at the top; original plan body unchanged.
docs/README.rx888 gr_modtool template using import rx888 instead of from gnuradio import rx888. Rewritten with correct C++/Python recipes.
docker/grc-demo.sh Header comment still mentioned the failed --device /dev/snd path.
include/gnuradio/rx888/source.h Doxygen example for samprate showed 64.8e6.
tests/mock/CMakeLists.txt LIBRX888_INCLUDE_DIRS still listed ${CMAKE_SOURCE_DIR}/tests/librx888 (deleted when librx888 went upstream).

Status section now reads

  • v0.1 (shipped) — scaffold + block stub.
  • v0.2 (shipped) — links librx888, streams real samples, sanitizer-clean.
  • v0.3 (in flight) — stream tags, status message port, switch to typed firmware API.

Test plan

Docs-only with two trivial code touches (header comment + CMake variable). Verified locally:

  • -DWITH_RX888_MOCK=ON build + ctest — both qa_source and qa_source_mock pass (the mock CMake change had no behavior effect because the now-stale path was just being prepended to the include path that already contained the canonical one).
  • CI green
  • Docs render correctly on GitHub

Generated by Claude Code

PR #6 grew through several rounds of fixes and the surrounding docs
ended up out of date. This pass walks every doc file and brings it
back in line with what actually ships:

README.md
  - Drop the "pre-alpha" / "-DWITH_RX888=ON gates a silent block"
    paragraph; v0.2 is in.
  - rx888-tools link points at ringof/, not ka9q/.
  - Block parameter table: samprate default 32e6 (was 64.8e6).
  - Stream tags / status messages are clearly marked as planned for
    a follow-up, not currently emitted.
  - grc-demo entrypoint description matches reality (AM BCB audio
    flowgraph + PulseAudio passthrough, not the old hf_waterfall +
    --device /dev/snd).
  - Status section reflects v0.1/v0.2 shipped + v0.3 in flight.

examples/README.md
  - am_bcb_audio_demo block diagram now includes the chan_decim=10
    stage we added; audio_decim is 4 (not the stale 40).
  - audio.sink note describes the ALSA-pulse-plugin routing through
    the host's PulseAudio, not --device /dev/snd.

MANIFEST.md
  - Real author / copyright / license / repo / tags instead of the
    gr_modtool template placeholders.

docs/PLAN.md
  - Live status snapshot at the top: librx888 shipped, gr-rx888 v0.2
    shipped, sanitizers green, what's next. Original plan body
    preserved unchanged.

docs/README.rx888
  - Was a gr_modtool template that imported `rx888` instead of
    `gnuradio.rx888`. Replaced with a brief, correct C++/Python
    import recipe and a pointer to the example flowgraphs.

docker/grc-demo.sh
  - Header comment updated: PulseAudio socket bind-mount is the
    audio recipe now, --device /dev/snd was the failed prior path.

include/gnuradio/rx888/source.h
  - Doxygen example for `samprate` shows 32e6 / 135e6 (the
    firmware-supported values), not 64.8e6.

tests/mock/CMakeLists.txt
  - LIBRX888_INCLUDE_DIRS dropped the stale ${CMAKE_SOURCE_DIR}/tests/librx888
    entry (that dir was deleted when librx888 went upstream).

No code behavior changes. Verified locally with -DWITH_RX888_MOCK=ON
build + ctest — both qa_source and qa_source_mock pass.
@ringof ringof marked this pull request as ready for review May 15, 2026 12:51
@ringof ringof merged commit 36c2eff into main May 15, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants