Skip to content

docs: a documentation site, for people and for agents - #29

Merged
vaceslav merged 1 commit into
mainfrom
docs/site
Sep 26, 2026
Merged

vaceslav merged 1 commit into
mainfrom
docs/site

Conversation

@vaceslav

Copy link
Copy Markdown
Contributor

Closes #6.

What

  • Documentation site. MkDocs Material, published to GitHub Pages at https://triasdev.github.io/tabular/ by .github/workflows/documentation.yml, as Templify does.
  • The single-page guide is split by topic:
    • getting started, how it works, importing, formats, streams/cancellation/progress/cultures;
    • error codes, bounds, performance, benchmarks, known issues, ideas, ADR-0001.
  • docs/guide.md stays as a pointer to those pages, because the readme of the released 0.1.0 package links to it.
  • Getting started takes its code from samples/TriasDev.Tabular.Samples.Import, via --8<-- snippet markers. The build compiles that sample, so the code on the site cannot drift from the API.
  • For AI agents, the site follows llms.txt through mkdocs-llmstxt:
    • llms.txt is a hand-written map of the library: its flow, key types and the rules that are easy to get wrong;
    • llms-full.txt holds every page in one file;
    • every page also has a Markdown copy.

Guard rails

  • CI builds the site with mkdocs build --strict on every pull request, as part of CI Success. A broken link, a missing anchor or a snippet whose source is gone fails the PR, not the published site.

  • main is protected:

    • changes arrive only as pull requests;
    • CI Success must pass;
    • force pushes and deletion are blocked;
    • no approval is required.

    CONTRIBUTING says so.

  • Dependabot now also updates the pinned MkDocs packages.

Also

  • ErrorCodeCatalogTests reads the error-code table from docs/error-codes.md.
  • The readme's multi-line csv bound said four lines; it is a hundred.

The single-page guide becomes a MkDocs Material site published to GitHub
Pages, split by topic: getting started, how it works, importing, formats,
streams and cancellation, error codes, bounds, performance, benchmarks and
known issues. The code in getting started is included from the Import
sample, which the build compiles, so it cannot drift from the API.

For AI agents the site publishes llms.txt — a short, hand-written map of
the library, its flow and the rules that are easy to get wrong — with
llms-full.txt and a Markdown copy of every page (mkdocs-llmstxt).

CI builds the site strictly on every pull request, as part of CI Success,
so a broken link or a vanished snippet fails the change rather than the
published site. main is now protected; CONTRIBUTING says every change goes
through a pull request. docs/guide.md stays as a pointer for the links in
the released package's readme. The readme's multi-line csv bound read four
lines; it is a hundred.

Closes #6
@vaceslav
vaceslav merged commit 11ef414 into main Sep 26, 2026
9 checks passed
@vaceslav
vaceslav deleted the docs/site branch September 26, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User documentation site on GitHub Pages

1 participant