mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Invert the docs convention so the Mintlify-published site lives under docs/public/ and internal artifacts (strategy docs, brainstorms, plans, etc.) sit at docs/ root or docs/internal/. Tools that default to writing into docs/ now land in the catch-all instead of leaking into the published tree. - Move Mintlify content (administration/, agents/, api-reference/, changelog/, core-concepts/, examples/, execution/, getting-started/, human-tools/, integrations/, languages/, reference/, tutorials/, workflows/, images/, logo/, docs.json, favicon.svg, dot-highlight.js) into docs/public/. - Collapse docs-internal/ into docs/internal/. - Update Rust path references (fabro-api/build.rs, fabro-server, fabro-dev), TypeScript generator arg, CI path filters, clippy.toml reasons, AGENTS.md/CLAUDE.md, and README.md image refs. Mintlify dashboard project root must be updated to docs/public/ in a follow-up. .mintignore move/trim and .claude/skills/ updates land in a separate commit.
100 lines
3.4 KiB
JSON
100 lines
3.4 KiB
JSON
{
|
|
"name": "dot",
|
|
"scopeName": "source.dot",
|
|
"fileTypes": ["dot", "DOT", "gv", "fabro"],
|
|
"firstLineMatch": "digraph.*",
|
|
"patterns": [
|
|
{
|
|
"match": " ?(digraph)[ \\t]+([A-Za-z0-9]+) ?(\\{)",
|
|
"captures": {
|
|
"1": { "name": "storage.type.dot" },
|
|
"2": { "name": "variable.other.dot" },
|
|
"3": { "name": "punctuation.section.dot" }
|
|
}
|
|
},
|
|
{
|
|
"match": "(<|-)(>|-)",
|
|
"name": "keyword.operator.dot"
|
|
},
|
|
{
|
|
"match": "\\b(node|edge|graph|digraph|subgraph|strict)\\b",
|
|
"name": "storage.type.dot"
|
|
},
|
|
{
|
|
"match": "\\b(bottomlabel|color|comment|distortion|fillcolor|fixedsize|fontcolor|fontname|fontsize|group|height|label|layer|orientation|peripheries|regular|shape|shapefile|sides|skew|style|toplabel|URL|width|z)\\b",
|
|
"name": "support.constant.attribute.node.dot"
|
|
},
|
|
{
|
|
"match": "\\b(arrowhead|arrowsize|arrowtail|color|comment|constraint|decorate|dir|fontcolor|fontname|fontsize|headlabel|headport|headURL|label|labelangle|labeldistance|labelfloat|labelcolor|labelfontname|labelfontsize|layer|lhead|ltail|minlen|samehead|sametail|splines|style|taillabel|tailport|tailURL|weight)\\b",
|
|
"name": "support.constant.attribute.edge.dot"
|
|
},
|
|
{
|
|
"match": "\\b(bgcolor|center|clusterrank|color|comment|compound|concentrate|fillcolor|fontname|fontpath|fontsize|label|labeljust|labelloc|layers|margin|mclimit|nodesep|nslimit|nslimit1|ordering|orientation|page|pagedir|quantum|rank|rankdir|ranksep|ratio|remincross|rotate|samplepoints|searchsize|size|style|URL)\\b",
|
|
"name": "support.constant.attribute.graph.dot"
|
|
},
|
|
{
|
|
"match": "\\b(box|polygon|ellipse|circle|point|egg|triangle|plaintext|diamond|trapezium|parallelogram|house|pentagon|hexagon|septagon|octagon|doublecircle|doubleoctagon|tripleoctagon|invtriangle|invtrapezium|invhouse|Mdiamond|Msquare|Mcircle|rect|rectangle|none|note|tab|folder|box3d|component|max|min|same)\\b",
|
|
"name": "variable.other.dot"
|
|
},
|
|
{
|
|
"begin": "\"",
|
|
"beginCaptures": {
|
|
"0": { "name": "punctuation.definition.string.begin.dot" }
|
|
},
|
|
"end": "\"",
|
|
"endCaptures": {
|
|
"0": { "name": "punctuation.definition.string.end.dot" }
|
|
},
|
|
"name": "string.quoted.double.dot",
|
|
"patterns": [
|
|
{
|
|
"match": "\\\\.",
|
|
"name": "constant.character.escape.dot"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"begin": "(^[ \\t]+)?(?=//)",
|
|
"beginCaptures": {
|
|
"1": { "name": "punctuation.whitespace.comment.leading.dot" }
|
|
},
|
|
"end": "(?!\\G)",
|
|
"patterns": [
|
|
{
|
|
"begin": "//",
|
|
"beginCaptures": {
|
|
"0": { "name": "punctuation.definition.comment.dot" }
|
|
},
|
|
"end": "\\n",
|
|
"name": "comment.line.double-slash.dot"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"begin": "(^[ \\t]+)?(?=#)",
|
|
"beginCaptures": {
|
|
"1": { "name": "punctuation.whitespace.comment.leading.dot" }
|
|
},
|
|
"end": "(?!\\G)",
|
|
"patterns": [
|
|
{
|
|
"begin": "#",
|
|
"beginCaptures": {
|
|
"0": { "name": "punctuation.definition.comment.dot" }
|
|
},
|
|
"end": "\\n",
|
|
"name": "comment.line.number-sign.dot"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"begin": "/\\*",
|
|
"captures": {
|
|
"0": { "name": "punctuation.definition.comment.dot" }
|
|
},
|
|
"end": "\\*/",
|
|
"name": "comment.block.dot"
|
|
}
|
|
],
|
|
"repository": {}
|
|
}
|