Capture and publish output for every Capy documentation example

This commit is contained in:
root committed 2026-10-15 14:47:12 +00:00
1 parent e9f6e0bda5
commit 372f811aa9
603 files changed
+13836 -1109

No files matched your search

+5 -3
View File
@@ -6,8 +6,10 @@ python3 scripts/test_capy_doc_generators.py
python3 scripts/check_capy_doc_links.py --self-test
python3 scripts/build_site_highlighter.py --check
node scripts/test_site_highlighter.js
python3 scripts/test_capy_api_outputs.py --self-test
python3 scripts/test_capy_api_outputs.py --verify
python3 scripts/test_doc_example_results.py
python3 scripts/test_run_doc_examples.py
python3 scripts/test_doc_example_contexts.py
python3 scripts/run_doc_examples.py --check
host="${BEARER_TEST_HTTP_HOST:-bearer.openfu.com}"
base="${BEARER_TEST_HTTP_BASE:-http://127.0.0.1}/examples/capy-reference"
@@ -113,5 +115,5 @@ for page in landing index component_page singlepage search all_wrapper search_wr
[[ "${!page}" == *'rel="icon" type="image/png" href="/favicon.png"'* ]] || { echo "$page omitted the favicon" >&2; exit 1; }
done
curl -fsS --max-time 30 -H "Host: $host" "${BEARER_TEST_HTTP_BASE:-http://127.0.0.1}/favicon.png" | cmp - site/favicon.png
scripts/test_capy_guide_examples.sh
python3 scripts/test_doc_example_pages.py
echo "Capy reference pages and canonical documentation routes passed"