Skip to content

docs: add the documentation website and agent instructions - #25

Merged
koenvanexem merged 4 commits into
mainfrom
docs/website
Oct 19, 2026
Merged

koenvanexem merged 4 commits into
mainfrom
docs/website

Conversation

@koenvanexem

Copy link
Copy Markdown
Member

Adopts the Allors documentation standard for Allors Excel.

  • A docs/ website built with Astro and Starlight, with twelve pages for users and maintainers: a tutorial run against a clone of the repository, an explanation of the virtual workbook, how-to guides for hosting a program in Excel and for binding cells, an API reference, a packages page, terminology, and maintainer pages on architecture, build and test, writing documentation and the decision record.
  • Markdown exports and an llms.txt index generated from the same pages, and a Documentation workflow that validates the /excel/ and / deployment paths without publishing.
  • AGENTS.md with agent instructions that point to the human documentation, and a README reduced to an introduction with absolute links, because it is packed into the NuGet packages. The README says that the published 1.0.73 packages predate the renames on main.
  • The CI workflow skips changes limited to docs/, the documentation workflow and AGENTS.md; its two legs install Office and take a quarter of an hour each.

The tooling is copied from the Allors Documents adoption at 62794a7, which carries the fixes made since the Allors3 original: forward-slash link-checker messages, focusable code blocks and the version label from version.json. The export integration reads the index title and description from site.mjs, so it holds no project text. The decision record lists every project-specific change and the findings for the shared-tooling question.

Validation on 2026-10-19, from docs/ for both base paths: npm test (21 tests), npm run check, npm run build (12 pages), npm run check:links (703 links, 0 errors) and npm run test:browser (14 tests). The tutorial was run from a clean directory and its page shows the observed output. task test built every project; the headless pass and the chunk tests passed, and the two Excel passes failed on a machine whose Excel opens with the Microsoft 365 privacy dialog, as Build and test records. CI passes all 149 tests.

Recorded in the documentation, not fixed: the text colour of a Style is never written to Excel, the VSTO sample ribbon names callbacks its class does not implement, the headless worksheet's custom properties are null, the package metadata's project URL points at the Documents repository, and the Excel test fixture leaks its instance when its constructor fails.

Adopts the Allors documentation standard for Allors Excel: a docs/
website built with Astro and Starlight, with twelve pages for users and
maintainers, Markdown exports and an llms.txt index generated from the
same pages, and a documentation workflow that validates the /excel/ and
/ deployment paths without publishing.

The tooling is copied from the Allors Documents adoption at 62794a7,
which carries the fixes made since the Allors3 original (forward-slash
link-checker messages, focusable code blocks, the version label from
version.json). The export integration reads the index title and
description from site.mjs so that it holds no project text; the
decision record lists every project-specific change.

Validated on 2026-10-19 from docs/ for both base paths: npm test,
npm run check, npm run build, npm run check:links and
npm run test:browser. The tutorial was run from a clean directory
against a clone of the repository; the repository build and tests were
run with task test, and the Excel passes' failure on a machine whose
Excel shows the Microsoft 365 privacy dialog is recorded in Build and
test.
AGENTS.md points agents at the human documentation, the writing guide
and the build and test instructions. The README becomes an introduction
with absolute links to the pages, because it is packed into the NuGet
packages, and says that the published 1.0.73 packages predate the
renames on main.
The two CI legs install Office and take a quarter of an hour each.
Changes limited to docs/, the documentation workflow or AGENTS.md are
validated by the Documentation workflow instead. README.md still runs
CI because it is part of every package.
The Excel-DNA and VSTO excerpts now match the source line for line,
with the omitted error handling named instead of silently dropped.
@github-actions

Copy link
Copy Markdown

Test Results (Excel64)

  5 files  ±0    8 suites  ±0   4m 16s ⏱️ - 2m 48s
149 tests ±0  149 ✅ ±0  0 💤 ±0  0 ❌ ±0 
160 runs  ±0  160 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 1f31bd3. ± Comparison against base commit 10d15c6.

@github-actions

Copy link
Copy Markdown

Test Results (Excel32)

  5 files  ±0    8 suites  ±0   10m 31s ⏱️ + 2m 19s
149 tests ±0  149 ✅ ±0  0 💤 ±0  0 ❌ ±0 
160 runs  ±0  160 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 1f31bd3. ± Comparison against base commit 10d15c6.

@koenvanexem
koenvanexem merged commit 18047d8 into main Oct 19, 2026
10 checks passed
@koenvanexem
koenvanexem deleted the docs/website branch October 19, 2026 12:25
koenvanexem added a commit that referenced this pull request Oct 19, 2026
Follow up on the review of #25. Distinguish awaited and discarded callback Tasks, document headless range-parser and cell-coordinate limitations, and describe decimal conversion bounds and exceptions without promising type preservation. These changes document existing runtime behaviour rather than altering the library.

Wait for Mermaid rendering before both keyboard-navigation overflow assertions so the checks do not measure the unrendered diagram source.

Validated on 2026-10-19: 21 tooling tests; Astro check with no diagnostics; builds, 718 links and 14 browser tests at both / and /excel/; 20 repeated keyboard-navigation checks; task compile; 46 headless tests; chunk tests on net462 and net10.0 plus the net462 console runner. Real Excel tests were not rerun because the existing Microsoft 365 privacy dialog blocks unattended execution.
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.

1 participant