Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,18 @@
from = "/reference/solid-web/server-functions/observe-calls"
to = "/reference/solid-js/advanced/diagnostics-dev-hooks/observe"
status = 301

# Solid 2.0 docs on docs.solidjs.com (merge only once docs.solidjs.com points at
# this Netlify site). Production builds then emit docs.solidjs.com URLs in the
# sitemap and llms files and drop the `X-Robots-Tag: noindex` header that
# non-canonical hosts get. Deploy previews keep their own URL and noindex.
[context.production.environment]
SITE_URL = "https://docs.solidjs.com"

# The release-candidate host stays as an alias: dev warnings, JSDoc links and
# older posts point at v2.solidjs.com, so send each path to its canonical page.
[[redirects]]
from = "https://v2.solidjs.com/*"
to = "https://docs.solidjs.com/:splat"
status = 301
force = true
2 changes: 1 addition & 1 deletion scripts/extract-diagnostics.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ One console entry per finding:
[STRICT_READ_UNTRACKED] Reactive value "title" read directly in <TodoRow> will not update. Move it into a tracking scope (JSX, a memo, or an effect's compute function).
in <App> › <TodoList> › <TodoRow>
at http://localhost:5173/src/components/TodoRow.tsx:18:3
[STRICT_READ_UNTRACKED] what it means and how to fix it: https://v2.solidjs.com${ROUTE_BASE}/strict-read-untracked
[STRICT_READ_UNTRACKED] what it means and how to fix it: https://docs.solidjs.com${ROUTE_BASE}/strict-read-untracked
[STRICT_READ_UNTRACKED] agent repair guide: ${SKILL_INSTALLED}#strict_read_untracked — ${SKILL_URL}#strict_read_untracked
\`\`\`

Expand Down
2 changes: 1 addition & 1 deletion scripts/llms-small/primer.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ Also:
`costs`, `end`).
- Lint: `eslint-plugin-solid`, config `v2`
(`import solid from "eslint-plugin-solid/configs/v2"`) or `v2-strict`.
- Docs: https://v2.solidjs.com (Solid 2.0 docs; `/llms.txt` and
- Docs: https://docs.solidjs.com (Solid 2.0 docs; `/llms.txt` and
`/llms-full.txt` for agents). Migration guide: `documentation/solid-2.0/MIGRATION.md`
in the repository.
2 changes: 1 addition & 1 deletion src/routes/(0)index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "What Solid is, what these docs cover, and where to start reading."
---

:::note[These docs cover Solid 2.0]
For Solid 1.x and SolidStart, see the [Solid 1.x documentation](https://docs.solidjs.com/).
For Solid 1.x and SolidStart, see the [Solid 1.x documentation](https://v1.solidjs.com/).
:::

Solid is a framework for building user interfaces on the web.
Expand Down
4 changes: 2 additions & 2 deletions src/routes/(5)guides/(17)ai-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Each report carries a stable code in brackets, an `in` line naming the owners th
The first report of each code ends with a footer: a line for a person, linking the code's page in the [diagnostics reference](/reference/solid-js/diagnostics), then a line for an assistant, naming the installed repair guide and the same file on GitHub, anchored to that code:

```
[REACTIVE_WRITE_IN_OWNED_SCOPE] what it means and how to fix it: https://v2.solidjs.com/reference/solid-js/diagnostics/reactive-write-in-owned-scope
[REACTIVE_WRITE_IN_OWNED_SCOPE] what it means and how to fix it: https://docs.solidjs.com/reference/solid-js/diagnostics/reactive-write-in-owned-scope
[REACTIVE_WRITE_IN_OWNED_SCOPE] agent repair guide: node_modules/solid-js/skills/reactivity-diagnostics/SKILL.md#reactive_write_in_owned_scope — https://github.com/solidjs/solid/blob/next/packages/solid/skills/reactivity-diagnostics/SKILL.md#reactive_write_in_owned_scope
```

Expand Down Expand Up @@ -193,7 +193,7 @@ Tooling:
- Verify a reactive change with `captureArtifact` and `expectNoDiagnostics` from `@solidjs/diagnostics`,
or `POST /__solid/diagnostics` on the dev server with `{"method":"begin"}` ... `{"method":"end"}`.
- Lint with `eslint-plugin-solid/configs/v2` (or `v2-strict`).
- Docs: https://v2.solidjs.com/llms.txt; append `.md` to any page URL for its Markdown.
- Docs: https://docs.solidjs.com/llms.txt; append `.md` to any page URL for its Markdown.
```

Every name in the block is checked against the installed cheatsheet; when the cheatsheet and this page disagree, the cheatsheet matches your version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ One console entry per finding:
[STRICT_READ_UNTRACKED] Reactive value "title" read directly in <TodoRow> will not update. Move it into a tracking scope (JSX, a memo, or an effect's compute function).
in <App> › <TodoList> › <TodoRow>
at http://localhost:5173/src/components/TodoRow.tsx:18:3
[STRICT_READ_UNTRACKED] what it means and how to fix it: https://v2.solidjs.com/reference/solid-js/diagnostics/strict-read-untracked
[STRICT_READ_UNTRACKED] what it means and how to fix it: https://docs.solidjs.com/reference/solid-js/diagnostics/strict-read-untracked
[STRICT_READ_UNTRACKED] agent repair guide: node_modules/solid-js/skills/reactivity-diagnostics/SKILL.md#strict_read_untracked — https://github.com/solidjs/solid/blob/next/packages/solid/skills/reactivity-diagnostics/SKILL.md#strict_read_untracked
```

Expand Down
Loading