File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ ignoreFiles:
1616 - " .github/release-trigger.yml"
1717 - " .github/header-checker-lint.yml"
1818 - " .github/sync-repo-settings.yaml"
19+ - " .github/workflows/docs.yml"
1920 - " .kokoro/**"
2021 - " **/requirements.txt"
2122 - " **/requirements*.txt"
Original file line number Diff line number Diff line change 1+ on :
2+ pull_request :
3+ branches :
4+ - main
5+ name : docs
6+ permissions :
7+ contents : read # This applies to all jobs
8+ jobs :
9+ docs :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
14+ - name : Setup Python
15+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
16+ with :
17+ python-version : " 3.10"
18+ - name : Install nox
19+ run : |
20+ python -m pip install --upgrade setuptools pip wheel
21+ python -m pip install nox
22+ - name : Run docs
23+ run : |
24+ nox -s docs
25+ docfx :
26+ runs-on : ubuntu-latest
27+ steps :
28+ - name : Checkout
29+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
30+ - name : Setup Python
31+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
32+ with :
33+ python-version : " 3.10"
34+ - name : Install nox
35+ run : |
36+ python -m pip install --upgrade setuptools pip wheel
37+ python -m pip install nox
38+ - name : Run docfx
39+ run : |
40+ nox -s docfx
You can’t perform that action at this time.
0 commit comments