okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-clean-3 (321794636): docs and history (cleanup step 3, items 3.0-3.10); release manifest and capability table with checks, history/ with pointers, link check, tools/ split, bench index; owner OK'd the wording 11-082b36e8a02

main
2.2 KiB72 linesraw
1name: Docs
2
3# The documentation checks (python tools/check --only docs): every local link in the current pages resolves, the version lines and
4# installer names agree with docs/data/release.json, the capability table and its summaries are what docs/data/capabilities.json says, and the
5# settings page matches the register.  Python standard library only; nothing is built, downloaded or run on a GPU.
6# Archived pages (history/, release notes, bench/results) are not checked; their baseline is history/LINK-BASELINE.md.
7
8on:
9  push:
10    branches: [main]
11    paths:
12      - .github/workflows/docs.yml
13      - '**/*.md'
14      - docs/data/release.json
15      - docs/data/capabilities.json
16      - data/settings-register.json
17      - tools/check
18      - tools/check_links.py
19      - tools/doc_pages.py
20      - tools/release_manifest.py
21      - tools/capability_table.py
22      - tools/settings_register.py
23      - strata_cli/__init__.py
24      - CMakeLists.txt
25      - apps/host/package.json
26      - apps/desktop/package.json
27  pull_request:
28    paths:
29      - .github/workflows/docs.yml
30      - '**/*.md'
31      - docs/data/release.json
32      - docs/data/capabilities.json
33      - data/settings-register.json
34      - tools/check
35      - tools/check_links.py
36      - tools/doc_pages.py
37      - tools/release_manifest.py
38      - tools/capability_table.py
39      - tools/settings_register.py
40      - strata_cli/__init__.py
41      - CMakeLists.txt
42      - apps/host/package.json
43      - apps/desktop/package.json
44
45permissions:
46  contents: read
47
48concurrency:
49  group: docs-${{ github.ref }}
50  cancel-in-progress: true
51
52jobs:
53  docs:
54    name: Links, release manifest, capability table
55    runs-on: ubuntu-24.04
56    timeout-minutes: 10
57    steps:
58      - uses: actions/checkout@v4
59        with:
60          persist-credentials: false
61      - uses: actions/setup-python@v5
62        with:
63          python-version: '3.12'
64      - name: tools/check docs
65        run: python tools/check --only docs --keep --scratch "$RUNNER_TEMP/check" --json "$RUNNER_TEMP/check/result.json"
66      - name: Log
67        if: ${{ failure() }}
68        uses: actions/upload-artifact@v4
69        with:
70          name: docs-check
71          path: ${{ runner.temp }}/check/*.log
72          retention-days: 7