Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 11 additions & 19 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,18 @@ concurrency:
cancel-in-progress: true

jobs:
policy:
uses: QuantStrategyLab/.github/.github/workflows/docs-acceptance.yml@b4966bdd8780cad3ae5154ae50d8b98259a16dc6
with:
policy-revision: b4966bdd8780cad3ae5154ae50d8b98259a16dc6
mode: enforce

docs:
name: Documentation check
needs: policy
if: always()
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 2
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
persist-credentials: false
path: target
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
repository: QuantStrategyLab/.github
ref: cbfe3aedf927a9cf73dfb7813e872b38d432b5a1
persist-credentials: false
path: policy
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.12"
- name: Test the documentation checker
working-directory: policy
run: python scripts/test_style.py
- name: Check documentation rules
run: python policy/scripts/check_style.py --root target --phase 2
- name: Require documentation policy acceptance
run: test "${{ needs.policy.result }}" = "success"
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ uv run --no-sync python -m pytest -q

CI also verifies the locked shared refs, the QPK pin and the package build.

Organization documentation rules are checked by `python scripts/check_style.py --phase 2` (`Documentation check` in CI).
Organization documentation rules run in CI via `QuantStrategyLab/.github/.github/workflows/docs-acceptance.yml` (`Documentation check`), or offline with a sibling `QuantStrategyLab/.github` checkout (`git clone https://github.com/QuantStrategyLab/.github ../.github && python3 ../.github/scripts/check_style.py --root . --phase 2`).

## Naming and documentation

Expand Down
2 changes: 0 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

- [Saved account history](account-archive-history.md)
- [Configurable display names](display-names.md)
- [交易差异说明:FirstradePlatform](naming-trading-diff.zh-CN.md)
- [Firstrade isolated paper command consumer](paper-execution-command-consumer.md)
- [Shared dependency test imports](shared-test-imports.md)
- [Statement reconciliation: fee split and valuation basis](statement-reconciliation.md) · [简体中文](statement-reconciliation.zh-CN.md)
- [Unified daily notification (code only)](unified-daily-notification.md)
- [交易差异审查:FirstradePlatform](unified-notification-trading-diff-review.zh-CN.md)
14 changes: 0 additions & 14 deletions docs/naming-trading-diff.zh-CN.md

This file was deleted.

25 changes: 0 additions & 25 deletions docs/unified-notification-trading-diff-review.zh-CN.md

This file was deleted.

Loading
Loading