README

Documentation source

This directory contains the public documentation source for the DataAgent GitHub Pages site. The site uses MkDocs Material.

Goal English 中文
Product positioning Overview 产品概览
Local demo Quick start 快速开始
Capability scope Capabilities 能力全览
Web workbench Web workbench guide Web 工作台指南
TUI TUI guide TUI 指南
Local files Where data comes from 数据从哪里来
Supported inputs Supported inputs 支持的输入
REST and configuration REST API, Configuration REST API, 配置
Agent runtime Agent Runtime reference Agent Runtime 参考
Architecture Architecture overview 架构概览
Security Security 安全说明

Two documentation trees

Tree Reader Put here Leave out
docs/ Someone deploying or trying Web and TUI, or calling the HTTP API Product shape, deploy and first question, what each UI can do, the external request and response contract, local security expectations Plugin schemas, SDK lifecycle, hook order, bootstrap steps, file modes, dataagent/core maintenance
runtime/agentkit/docs/ Someone changing configuration fields, extensions, or the runtime Field table, Home layout, SDK, plugins, HTTP details used to change serve/, architecture and tests deploy.sh lifecycle, bilingual product tour, Web page layout

The public configuration page keeps only the files a deployer edits and the minimum model. The field table is runtime/agentkit/docs/reference/configuration.md.

When a public page and a runtime page both describe an HTTP path or a deployer-facing default, change them together. They must not disagree.

Documentation scope

docs/ is the GitHub Pages site. Historical plans, PRDs, and source-sensitive notes do not belong here.

Maintenance rules

  • Public docs must not link into runtime/agentkit/docs/.
  • When adding an external-facing capability, update both en/ and zh/.
  • Example credentials must use placeholder values such as replace-with-your-key.
  • Do not retain source-sensitive narrative.
  • After doc changes, run npm run docs:build and npm run smoke:docs.

Local preview and GitHub Pages

Local preview:

python -m venv .venv-docs
source .venv-docs/bin/activate
python -m pip install -r requirements-docs.txt
npm run docs:dev
npm run docs:build

After pushing to main, .github/workflows/docs.yml publishes the site to GitHub Pages:

https://datagallery-lab.github.io/datafoundry/

For private repositories, enable GitHub Pages first (Settings → Pages → Source: GitHub Actions), confirm your GitHub plan allows Pages on private repos, and control public visibility in Pages settings.