Skip to content

docs: clarify link and slot data checks in the IDE docs - #464

Merged
JuroOravec merged 2 commits into
mainfrom
docs/ide-cold-read
Oct 28, 2026
Merged

JuroOravec merged 2 commits into
mainfrom
docs/ide-cold-read

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

A first-time-reader review of two sections added in #233, with every claim checked against the source.

Links to missing pages (docs_site/content/ide/template-linting.md)

  • Django apps that set FORCE_SCRIPT_NAME need no change; the turn-off advice now covers FastAPI root_path and Flask APPLICATION_ROOT only (contrib/django.py:233-254).
  • Says what the editor does when the framework raises (skips silently) or is slow (stops after 3 seconds in total), and how to recheck sooner (_path_checks.py:202, :215).
  • Lists the other unchecked cases: custom elements, srcset, <base href>, preconnect and dns-prefetch links (_registry_lint.py:1048, :1080, :1115-1127).
  • Names citry.template.unknown-url, splits the section into three subsections, and turns the Flask factory sentence into a code block.

Slot data in fills (docs_site/content/ide/vscode.md)

  • Defines the fill's data name before using it.
  • Adds c-bind fills to the unchecked cases, and says names starting with _ need brackets.
  • States that citry check --types reports the same errors (it goes through the same semantic_diagnostics path).

The docs build could not run locally (the shared environment's citry_core is from another checkout and needs a Rust rebuild), so the Docs check on this PR is the first full guard run. Code lines, em dashes and banned words were checked by hand.

🤖 Generated with Claude Code

JuroOravec and others added 2 commits October 27, 2026 18:40
Fold in a first-time-reader review of "Links to missing pages" and
"Slot data in fills":

- Django apps under FORCE_SCRIPT_NAME need no change for the link rule.
- State what the editor does when the framework raises or is slow
  (silent skip, 3-second total limit) and how to recheck sooner.
- List the other unchecked link cases: custom elements, srcset,
  <base href>, preconnect and dns-prefetch links.
- Slot data: c-bind fills are not checked, `_` names need brackets, and
  `citry check --types` reports the same errors.
- Split the links section into three subsections and name the
  diagnostic code.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JuroOravec
JuroOravec merged commit 4656a17 into main Oct 28, 2026
5 checks passed
@JuroOravec
JuroOravec deleted the docs/ide-cold-read branch October 28, 2026 10:45
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