Skip to content

Commit d886d20

Browse files
gilesknapclaude
andcommitted
fix(readme): use raw HTML for README-CLAUDE link
The previous absolute URL pointed at the example repo's main branch, which won't have README-CLAUDE.md until the example is regenerated with add_claude=yes — chicken-and-egg, so linkcheck 404s. Raw <a href="./README-CLAUDE.md"> works in both renderers without that dependency: - myst: passes through as inline HTML, no xref_missing warning. - sphinx linkcheck: doesn't follow raw HTML hrefs (verified locally), so no 404. - GitHub: renders as a normal clickable link to the file in the repo. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 297e25b commit d886d20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

template/README.md.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ how it does it, and why people should use it.
1616
{% if pypi %}PyPI | `pip install {{distribution_name}}`
1717
{% endif %}{% if docker %}Docker | `docker run ghcr.io/{{github_org | lower}}/{{repo_name}}:latest`
1818
{% endif %}{% if sphinx %}Documentation | <{{docs_url}}>
19-
{% endif %}{% if add_claude %}Claude sandbox | [README-CLAUDE.md]({{repo_url}}/blob/main/README-CLAUDE.md)
19+
{% endif %}{% if add_claude %}Claude sandbox | <a href="./README-CLAUDE.md">README-CLAUDE.md</a>
2020
{% endif %}Releases | <{{repo_url}}/releases>
2121

2222
This is where you should put some images or code snippets that illustrate

0 commit comments

Comments
 (0)