Repository navigation
docs(rules): replace three unknown card icons and deploy the article-toc redirect #476 - #477
Merged
Merged
Conversation
…toc redirect #476 markdown, file-contract and hexagon-exclamation are not lucide icons, so tangly rendered a question mark. The /rules/content/article-toc redirect lived only in docs.json, which the build does not copy into _redirects. Closes #476 Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
docs/rule-index-icons-redirect
branch
from
October 6, 2026 00:13
cc85de5 to
1223768
Compare
nc9
marked this pull request as ready for review
October 6, 2026 00:17
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #476
What was wrong
Three card icons are not lucide names, so tangly rendered a question mark and logged
[tangly] Unknown icon "...", falling back to HelpCircle.:markdownandfile-contractindocs/rules/ax/index.mdx;hexagon-exclamationtwice indocs/rules/perf/index.mdx.A fourth,
brackets-curlyon the entity-map index, was already fixed onmainby docs(entity-map): move the entity map under guides with its own section #466 #467, which also moved that page./rules/content/article-tocwas redirected only indocs.json. The build does not copydocs.jsonredirects intodist/_redirects, which is the file the Cloudflare static-assets deploy serves, so the old URL returned 404.The fix
markdown->file-code,file-contract->file-signature,hexagon-exclamation->octagon-alert. All three resolve in the lucide 1.49.0 that tangly 0.5.0 bundles._redirectsgains/rules/content/article-toc /rules/content 301. Thedocs.jsonentry stays.Evidence
bun x [email protected] buildon the original base, before: 4Unknown iconwarnings (file-contract, hexagon-exclamation, brackets-curly, markdown). After: 0.main(which added the entity-map redirects), the build still logs 0 unknown icons. The builtdist/_redirectsbefore had no article-toc line. After, it carries/rules/content/article-toc /rules/content 301, anddist/rules/content/index.htmlexists.bun x [email protected] check --strictpasses.dist/and.tangly/were removed after the build.No CHANGELOG entry needed (docs only).