fix: vendor per-kind sites in the hub; drop stale blog docs

- collect.py: when a kind points at the shared site root, copy only the
  per-kind subdir (site/lib -> <repo>/lib) instead of the whole site, so
  stray single-site build output never leaks into the hub
- Purge stale collected artifacts (404.html, assets/, search/, sitemaps,
  objects.inv, duplicate mcp/) from every repo dir, matching the cleaned
  source site/ roots
- Refresh collected output from source repos, incl. the khata-app app
- Remove the vendored Blog API docs (config.yml entry + blog/) and its card
This commit is contained in:
2026-10-11 23:12:19 +05:30
parent 74aaf2f53e
commit c5619bc5e8
526 changed files with 10 additions and 104714 deletions

View File

@@ -1,123 +0,0 @@
{
"module": "hexa.generate_abc",
"content": {
"path": "hexa.generate_abc",
"docstring": "Generate _abc.py source from a hexa PortNode tree.",
"objects": {
"annotations": {
"name": "annotations",
"kind": "alias",
"path": "hexa.generate_abc.annotations",
"signature": "<bound method Alias.signature of Alias('annotations', '__future__.annotations')>",
"docstring": null
},
"io": {
"name": "io",
"kind": "alias",
"path": "hexa.generate_abc.io",
"signature": "<bound method Alias.signature of Alias('io', 'io')>",
"docstring": null
},
"re": {
"name": "re",
"kind": "alias",
"path": "hexa.generate_abc.re",
"signature": "<bound method Alias.signature of Alias('re', 're')>",
"docstring": null
},
"Path": {
"name": "Path",
"kind": "alias",
"path": "hexa.generate_abc.Path",
"signature": "<bound method Alias.signature of Alias('Path', 'pathlib.Path')>",
"docstring": null
},
"NestedConfig": {
"name": "NestedConfig",
"kind": "attribute",
"path": "hexa.generate_abc.NestedConfig",
"signature": "<bound method Alias.signature of Alias('NestedConfig', 'hexa.model.NestedConfig')>",
"docstring": null
},
"PortNode": {
"name": "PortNode",
"kind": "class",
"path": "hexa.generate_abc.PortNode",
"signature": "<bound method Alias.signature of Alias('PortNode', 'hexa.model.PortNode')>",
"docstring": "A node in the hexa port tree.\n\nParameters\n----------\nname : str\n Slot name, e.g. ``\"parser\"``, ``\"amount_balance\"``.\nkind : str\n One of ``\"leaf\"``, ``\"port\"``, or ``\"parent\"``.\n - ``\"leaf\"``: no children (e.g. ``NumberPort``)\n - ``\"port\"``: has children (e.g. ``TransactionParserPort``)\n - ``\"parent\"``: the root of the tree (e.g. ``ExtractionPipeline``)\nport_cls : str\n ABC class name that gives this port its shape, e.g.\n ``\"TransactionParserPort\"``. Every port has a concrete typed shape.\nattributes : dict[str, ConfigValue]\n Annotated attributes: ``name -> type_expr`` for scalars, or a nested\n ``dict`` of sub-attributes (a struct) for grouped/structured values.\nchildren : list[PortNode]\n Nested port slots.\nmethods : dict[str, MethodSpec]\n Abstract methods keyed by method name.",
"members": {
"name": {
"name": "name",
"kind": "attribute",
"path": "hexa.generate_abc.PortNode.name",
"signature": "<bound method Alias.signature of Alias('name', 'hexa.model.PortNode.name')>",
"docstring": null
},
"port_cls": {
"name": "port_cls",
"kind": "attribute",
"path": "hexa.generate_abc.PortNode.port_cls",
"signature": "<bound method Alias.signature of Alias('port_cls', 'hexa.model.PortNode.port_cls')>",
"docstring": null
},
"kind": {
"name": "kind",
"kind": "attribute",
"path": "hexa.generate_abc.PortNode.kind",
"signature": "<bound method Alias.signature of Alias('kind', 'hexa.model.PortNode.kind')>",
"docstring": null
},
"attributes": {
"name": "attributes",
"kind": "attribute",
"path": "hexa.generate_abc.PortNode.attributes",
"signature": "<bound method Alias.signature of Alias('attributes', 'hexa.model.PortNode.attributes')>",
"docstring": null
},
"children": {
"name": "children",
"kind": "attribute",
"path": "hexa.generate_abc.PortNode.children",
"signature": "<bound method Alias.signature of Alias('children', 'hexa.model.PortNode.children')>",
"docstring": null
},
"methods": {
"name": "methods",
"kind": "attribute",
"path": "hexa.generate_abc.PortNode.methods",
"signature": "<bound method Alias.signature of Alias('methods', 'hexa.model.PortNode.methods')>",
"docstring": null
},
"find": {
"name": "find",
"kind": "function",
"path": "hexa.generate_abc.PortNode.find",
"signature": "<bound method Alias.signature of Alias('find', 'hexa.model.PortNode.find')>",
"docstring": "Find a direct child by slot name."
},
"walk": {
"name": "walk",
"kind": "function",
"path": "hexa.generate_abc.PortNode.walk",
"signature": "<bound method Alias.signature of Alias('walk', 'hexa.model.PortNode.walk')>",
"docstring": "Return all nodes in depth-first order (self first)."
},
"diff": {
"name": "diff",
"kind": "function",
"path": "hexa.generate_abc.PortNode.diff",
"signature": "<bound method Alias.signature of Alias('diff', 'hexa.model.PortNode.diff')>",
"docstring": "Return a list of human-readable difference strings.\n\nAn empty list means the trees are equal."
}
}
},
"generate_abc": {
"name": "generate_abc",
"kind": "function",
"path": "hexa.generate_abc.generate_abc",
"signature": "<bound method Function.signature of Function('generate_abc', 12, 88)>",
"docstring": "Generate ABC Python source from a :class:`PortNode` tree.\n\nParameters\n----------\nnode : PortNode\n The root of the parsed YAML (or generated) tree.\nout_path : str | Path | None\n Optional file path to write the generated source to.\n\nReturns\n-------\nstr\n The generated Python source code."
}
}
}
}