feat: list each declared doc kind as its own homepage card

- compute per-kind home URLs (lib/, api/, wiki/) via _find_home_for_kind
- emit one card per declared kind so multi-kind repos (e.g. doc-forge
  with lib + wiki) appear in each matching homepage section
- declare the doc-forge wiki kind and refresh its vendored site with the
  combined lib + wiki build
This commit is contained in:
2026-09-11 23:38:31 +05:30
parent a32eeaf2b4
commit 42e5ed290e
70 changed files with 58518 additions and 1106 deletions

View File

@@ -9,8 +9,10 @@
# Served layout (flat, one dir per repo; no redirects):
# lib -> /<repo>/lib/
# api -> /<repo>/api/ (or /<repo>/ when the site has a root index.html)
# wiki -> /<repo>/
# wiki -> /<repo>/ when the wiki is the whole site (e.g. mongo-ops)
# -> /<repo>/wiki/ in combined sites (e.g. doc-forge with lib + wiki)
# mcp -> MCP server on its configured port
# The docs homepage lists a repo once per declared kind (lib, api, wiki).
service:
name: aetos-docs
@@ -31,6 +33,7 @@ repos:
title: Doc Forge
description: Renderer-agnostic Python documentation compiler powering MkDocs and MCP generation across Aetoskia projects.
docs:
wiki: site
lib: site
mcp: { bundle: docs/mcp, server: docforge, port: 8001 }