From c42a9faad8d84f7bd05457d5f8e1fe45d6eecfa2 Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 8 Oct 2024 13:29:57 -0700 Subject: Overhaul docgen tool and setup CI to generate stdlib reference. (#5232) * Overhaul docgen tool and setup CI to generate stdlib reference. * Fix build error. * Write parsed doc for all decls. * fix. * fix callout. * Fix. * Fix comment. * Fix. * Delete obsolete doc tests. * Fix. * Categorize functions and types. * Fix CI. * Update comments. --- .github/workflows/release.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to '.github') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7cbb04f83..6681837b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -194,3 +194,21 @@ jobs: ${{ steps.notarize.outputs.SLANG_NOTARIZED_DIST }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Checkout stdlib reference + if: matrix.os == 'windows' && matrix.platform == 'x86_64' + uses: actions/checkout@v3 + with: + repository: shader-slang/stdlib-reference + path: docs/stdlib-reference/ + token: ${{ secrets.UPDATE_STDLIB_REFERENCE_PAT }} + - name: Update stdlib reference + if: matrix.os == 'windows' && matrix.platform == 'x86_64' + shell: powershell + run: | + cd docs/ + ls + & ".\build_reference.ps1" + env: + GITHUB_TOKEN: ${{ secrets.UPDATE_STDLIB_REFERENCE_PAT }} + -- cgit v1.2.3