Skip to content

docs: fix mkdocstrings refs after terratorch-iterate merge#320

Merged
romeokienzler merged 1 commit into
mainfrom
fix-docs-benchmark-refs
Jun 30, 2026
Merged

docs: fix mkdocstrings refs after terratorch-iterate merge#320
romeokienzler merged 1 commit into
mainfrom
fix-docs-benchmark-refs

Conversation

@romeokienzler

Copy link
Copy Markdown
Member

Problem

The v0.5.0 versioned-docs deploy failed (and mkdocs build was failing locally too) with:

mkdocstrings: ... accessing 'benchmark' raises ModuleNotFoundError: No module named 'benchmark'
Could not collect 'benchmark.backbone_benchmark.benchmark_backbone'

The terratorch-iterate merge moved those modules from the benchmark package to terratorch_iterate, but the mkdocstrings ::: directives in the docs still pointed at benchmark.*.

Fix

Update all stale directives to terratorch_iterate.* across:

  • docs/index.md (backbone_benchmark, benchmark_types.*)
  • docs/ray.md (benchmark_ray.benchmark_backbone)
  • docs/repeating_experiments.md (repeat_best_experiment.rerun_best_from_backbone)

Verified locally: mkdocs build now exits 0 and produces site/index.html.

Follow-up

After merge, the docs workflow will re-publish dev cleanly. I'll also re-run the v0.5.0 docs deploy via workflow_dispatch so the released version's docs build (it failed on release because of this bug).

🤖 Generated with Claude Code

The terratorch-iterate merge moved its modules from the 'benchmark'
package to 'terratorch_iterate', but the mkdocstrings ::: directives in
the docs still referenced 'benchmark.*'. This broke 'mkdocs build' (and
therefore the versioned docs deploy) with ModuleNotFoundError.

Update all directives in index.md, ray.md, and repeating_experiments.md
to 'terratorch_iterate.*'. Verified 'mkdocs build' now succeeds.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Romeo Kienzler <romeo.kienzler1@ibm.com>
@romeokienzler romeokienzler merged commit 91de190 into main Jun 30, 2026
7 of 9 checks passed
@romeokienzler romeokienzler deleted the fix-docs-benchmark-refs branch June 30, 2026 09:31
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.

1 participant