Skip to content

Remove the unused Read the Docs build config - #28

Merged
TomaSusi merged 1 commit into
mainfrom
claude/abtem-readthedocs-docs-fc28be
Sep 21, 2026
Merged

TomaSusi merged 1 commit into
mainfrom
claude/abtem-readthedocs-docs-fc28be

Conversation

@TomaSusi

Copy link
Copy Markdown
Member

abtem.readthedocs.io is a frozen April-2024 snapshot that has been quietly shadowing the real documentation at abtem.github.io/doc. This removes the build config that fed it.

Where the Read the Docs site actually came from

It was built from this repository, which is not obvious from the Read the Docs side — the project's stored repository URL still reads https://github.com/jacobjma/abTEM.git, a stale value from when the project was created in 2020 (it now redirects to abTEM/abTEM).

Confirmed via the Read the Docs public API:

  • Last build: 2024-04-26, commit 418d36f — a commit that exists in abTEM/doc and not in abTEM/abTEM.
  • That build ran jupyter-book config sphinx docs/ with docs/requirements.txt, i.e. exactly the recipe in .readthedocs.yml here.
  • Earlier builds sampled across 2023 (235df3fb, 4fc312c7) are likewise abTEM/doc commits only.

Why it went stale

The only Read the Docs webhook sits on abTEM/abTEM (readthedocs.org/api/v2/webhook/abtem/129424/) and is currently failing with HTTP 400. abTEM/doc has no webhook at all, so pushes here never triggered a rebuild. The April 2024 builds look hand-triggered from the dashboard — seven builds in ten minutes, six failing then one succeeding.

Why removing this is safe

Documentation is published by .github/workflows/deploy-book.yml to gh-pages on release or manual dispatch. That path is untouched. Read the Docs has not built since April 2024 and continues to serve its last successful build regardless, so nothing breaks at merge time.

Incoming links to abtem.readthedocs.io — of which there are a few years' worth in papers and citations — are preserved by a redirect configured on the Read the Docs project itself (/$rest → https://abtem.github.io/doc/), which is being set up separately by @TomaSusi. That is deliberately kept on the Read the Docs side rather than in this repo.

Scope

I grepped the whole repository: every remaining readthedocs reference points at a third-party project's docs (Black, blackdoc, hypothesis, ipycytoscape, zarr, numpydoc, PyFFTW, Py4DSTEM). Nothing here links to abtem.readthedocs.io, so no content changes were needed.

Two related leftovers in abTEM/abTEM are not addressed here and would need their own PR:

  • abTEM/abTEM/.readthedocs.yml — points at docs/source/conf.py, but that repo has no docs/ directory at all any more.
  • test/test_ionization.py:4 — a comment linking to abtem.readthedocs.io/en/latest/user_guide/tutorials/core_loss.html; the live equivalent is abtem.github.io/doc/user_guide/tutorials/core_loss.html.

The stale webhook on abTEM/abTEM also still needs deleting, which is a repository settings change rather than anything a PR can carry.

🤖 Generated with Claude Code

The Read the Docs project at abtem.readthedocs.io was built from this
repository, not from abTEM/abTEM as its stored repository URL suggests
(that field still reads jacobjma/abTEM, a stale value from 2020). Its
last build was on 2024-04-26 from commit 418d36f, using exactly this
file's recipe: `jupyter-book config sphinx docs/` plus
docs/requirements.txt.

Builds stopped because the only Read the Docs webhook lives on
abTEM/abTEM, where it now fails with HTTP 400; this repository has no
webhook at all. The result is a frozen April-2024 snapshot of the same
Jupyter Book that is published, current, at abtem.github.io/doc.

Documentation is published by .github/workflows/deploy-book.yml to
gh-pages on release or manual dispatch, so this config is dead weight.
Incoming links to abtem.readthedocs.io are preserved by a redirect
configured on the Read the Docs project itself rather than here.

No documentation content references abtem.readthedocs.io, so nothing
else needs updating.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@TomaSusi
TomaSusi merged commit 8b14c5d into main Sep 21, 2026
1 check passed
@TomaSusi
TomaSusi deleted the claude/abtem-readthedocs-docs-fc28be branch September 21, 2026 15:02
GHzytp pushed a commit to GHzytp/abTEM that referenced this pull request Sep 22, 2026
This repository still carried a .readthedocs.yml pointing at
docs/source/conf.py and docs/doc_requirements.txt, but it has had no
docs/ directory since 2fbc17a ("Remove unused documentation files",
2024-05-03). Documentation moved to abTEM/doc, created 2022-07-27, and
is published at abtem.github.io/doc.

The config was already inert before that: the Read the Docs project at
abtem.readthedocs.io was built from abTEM/doc, not from here, despite
its stored repository URL still reading jacobjma/abTEM. Its last build,
on 2024-04-26, used abTEM/doc commit 418d36f and that repository's
jupyter-book recipe. The file here would not have worked in any case,
since python.version was dropped from v2 of the Read the Docs schema.

Also repoints a comment in test/test_ionization.py from the frozen
Read the Docs copy of the core-loss tutorial to its live equivalent on
abtem.github.io, which serves the current page.

The companion removal on the documentation side is abTEM/doc#28. The
Read the Docs webhook still registered on this repository is failing
with HTTP 400 and needs deleting in the repository settings, which no
commit can do.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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