auto: docs sync 2026-07-12T00:00:23+00:00
Files changed: ", c.get(k))\nPY\n\\\"\n\"" engine/config.yaml engine/lib/lint.py engine/lib/vocab_gen.py engine/lint-report.md engine/sweep.sh vault/.obsidian/workspace.json vault/archive/projects/meshai-native-fire-severity-audit-cc-handoff.md vault/archive/projects/vaultwarden-plan.md vault/docs/matrix/matrix_host.md vault/docs/matrix/synapse.md vault/docs/services/services.md vault/docs/software/authentik.md vault/docs/software/caddy.md vault/docs/software/dns.md vault/docs/software/recon.md vault/docs/software/searxng.md vault/glossary.md vault/notes/echo6-landing-page-data-export.md vault/projects/matrix-synapse-deployment.md vault/projects/meshai.md vault/projects/meshtastic-headscale-runbook.md vault/projects/mmud-project.md vault/runbooks/add-peertube-channel.md vault/runbooks/authentik-access-groups.md vault/runbooks/authentik-create-invitation.md vault/runbooks/authentik-oidc-application.md vault/runbooks/authentik-upgrade.md vault/runbooks/expose-service-contabo.md vault/runbooks/lxc-service-migration.md vault/runbooks/mailcow-create-mailbox.md vault/runbooks/meshtastic-sidecar-node.md vault/runbooks/meshtasticd-sim-nodes-runbook.md vault/runbooks/proxmox-create-ubuntu-vm.md vault/runbooks/recon-operations.md vault/runbooks/recon-service-integration.md vault/runbooks/syncthing-add-node.md
This commit is contained in:
parent
4a7a41df93
commit
cce29c595d
37 changed files with 336 additions and 262 deletions
|
|
@ -290,7 +290,7 @@ def _normalize_name(name: str) -> str:
|
|||
def build_note_index(vault_dir: Path) -> dict[str, Path]:
|
||||
index: dict[str, Path] = {}
|
||||
for p in vault_dir.rglob("*.md"):
|
||||
if "archive" in p.parts:
|
||||
if "archive" in p.parts or ".trash" in p.parts:
|
||||
continue
|
||||
key = _normalize_name(p.stem)
|
||||
index[key] = p
|
||||
|
|
@ -328,7 +328,7 @@ def build_backlink_counts(
|
|||
) -> dict[str, int]:
|
||||
counts: dict[str, int] = {k: 0 for k in note_index}
|
||||
for p in vault_dir.rglob("*.md"):
|
||||
if "archive" in p.parts:
|
||||
if "archive" in p.parts or ".trash" in p.parts:
|
||||
continue
|
||||
try:
|
||||
_, body = parse_frontmatter(p)
|
||||
|
|
@ -386,7 +386,7 @@ def build_earned_a_doc_candidates(
|
|||
doc_mentions: dict[str, set] = defaultdict(set)
|
||||
|
||||
for p in vault_dir.rglob("*.md"):
|
||||
if "archive" in p.parts:
|
||||
if "archive" in p.parts or ".trash" in p.parts:
|
||||
continue
|
||||
try:
|
||||
text = p.read_text(encoding="utf-8", errors="replace")
|
||||
|
|
@ -448,7 +448,7 @@ def build_tag_coverage(
|
|||
tag_to_paths: dict[str, list[str]] = defaultdict(list)
|
||||
|
||||
for p in vault_dir.rglob("*.md"):
|
||||
if "archive" in p.parts:
|
||||
if "archive" in p.parts or ".trash" in p.parts:
|
||||
continue
|
||||
try:
|
||||
fm, _ = parse_frontmatter(p)
|
||||
|
|
@ -695,7 +695,7 @@ def run_lint(vault_dir: Path, engine_dir: Path) -> tuple[list[LintResult], dict]
|
|||
t0 = time.monotonic()
|
||||
|
||||
for path in all_paths:
|
||||
if "archive" in path.parts:
|
||||
if "archive" in path.parts or ".trash" in path.parts:
|
||||
continue
|
||||
findings: list[dict] = []
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue