Skip to content

Add a GitHub Pages landing page - #5

Open
socrtwo wants to merge 2 commits into
mainfrom
ccr-1d2fb989-gqngh3
Open

socrtwo wants to merge 2 commits into
mainfrom
ccr-1d2fb989-gqngh3

Conversation

@socrtwo

@socrtwo socrtwo commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

What changed

Adds docs/index.html, a static landing page that shows the repository's description and README (fetched from the GitHub API when the page loads, so it needs no upkeep), and docs/.nojekyll. No existing file is modified and no module is touched.

Why

This repository has no GitHub Pages site, so https://socrtwo.github.io/adhush/ returns 404 and the socrtwo projects index cannot link to a live page for it. The same file is being added across the socrtwo repositories.

To publish: set Settings → Pages to deploy from branch main, folder /docs.

Verification

  • make lint type test passes: not run. The change is two static files under docs/; no Python is touched.
  • Replay fixtures added or updated for any detector change: not applicable, no detector change.
  • Device profiles touched are listed below with hardware actually tested: none touched.

The page was loaded in headless Chromium against live GitHub data at 1100px and 390px widths, from a local server, not from this repository's Pages address.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TaG2mqJquVLHLtDme47bTA

docs/index.html shows the repository's description and README, fetched
from the GitHub API when the page loads, so it needs no upkeep. Publish
it by setting GitHub Pages to deploy from main, /docs.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TaG2mqJquVLHLtDme47bTA

socrtwo commented Nov 17, 2026

Copy link
Copy Markdown
Owner Author

The failing check job is not caused by this PR. It fails at the lint step on three RUF100 findings (unused # noqa: DTZ001 directives) in tests/unit/test_detectors.py, a file this PR does not touch. The same job is already red on main (run 30, 19 Oct 2026).

The fix is to remove those unused noqa directives, or enable the DTZ rules they refer to. That belongs in a separate change.


Generated by Claude Code

… test

- ruff flags three `# noqa: DTZ00x` comments as unused (RUF100) because the
  DTZ rules are not enabled. Remove the directives and keep the reason for
  the naive datetimes as an ordinary comment.
- test_open_without_ffmpeg_raises assumed the machine running the tests has
  no ffmpeg on PATH, so it failed wherever ffmpeg is installed. It now hides
  ffmpeg itself.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TaG2mqJquVLHLtDme47bTA

socrtwo commented Nov 19, 2026

Copy link
Copy Markdown
Owner Author

At the maintainer's request, this PR now also fixes the failing check job (commit "Fix the failing ci check"):

  • Lint: removed three unused # noqa: DTZ00x directives that ruff reports as RUF100 (one in src/adhush/detect/jingle.py, two in tests/unit/test_detectors.py). The reason for the naive datetimes is kept as an ordinary comment. No behaviour changes.
  • Test: test_open_without_ffmpeg_raises assumed the machine running the tests has no ffmpeg on PATH, so it failed wherever ffmpeg is installed. It now hides ffmpeg itself.

Run locally on Python 3.11: ruff check src tests clean, mypy src clean, pytest -q 305 passed, with ffmpeg both present and absent.


Generated by Claude Code

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