Skip to content

Delete dead resolve_docs_dir() cluster from settings.py - #170

Merged
coordt merged 1 commit into
mainfrom
166-delete-resolve-docs-dir
Aug 16, 2026
Merged

Delete dead resolve_docs_dir() cluster from settings.py#170
coordt merged 1 commit into
mainfrom
166-delete-resolve-docs-dir

Conversation

@coordt

@coordt coordt commented Aug 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Deletes resolve_docs_dir(), ResolvedConfig, _EnvSettings, _find_pyproject_docs_dir from wiki_toolkit/settings.py — ADR-0012 superseded this ADR-0007 resolver with build_context(), and nothing outside tests called it.
  • Deletes the 9 corresponding tests in tests/test_settings.py, trims the module docstring to describe build_context() only.
  • Notes the removal in ADR-0012's Consequences section (per code review) since it previously stated the cluster was intentionally retained.

Test plan

  • uv run pytest — 267 passed
  • uv run ruff check / ruff format --check — clean
  • uv run mypy wiki_toolkit/settings.py — clean
  • /code-review — one finding (stale ADR-0012 note), addressed

Fixes #166

ADR-0012 superseded this ADR-0007 resolver with build_context() and
named it as debt to remove separately. Nothing outside tests called it.

Fixes #166
@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callowayproject.github.io/wiki-toolkit/pr-preview/pr-170/

Built to branch gh-pages at 2026-08-16 13:26 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions

Copy link
Copy Markdown
Contributor

Version hint: minor
Current version: 0.28.3
New version (when merged): 0.29.0

Comment ID: Display version hint-auto-generated

@coordt
coordt merged commit 05816c3 into main Aug 16, 2026
7 checks passed
@coordt
coordt deleted the 166-delete-resolve-docs-dir branch August 16, 2026 13:28
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.

Delete dead resolve_docs_dir() cluster from settings.py

1 participant