forked from NVIDIA/NemoClaw
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (34 loc) · 964 Bytes
/
docs.yaml
File metadata and controls
43 lines (34 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: docs
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- "docs/**"
- "README.md"
- "pyproject.toml"
- "uv.lock"
- ".github/workflows/docs.yaml"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Install doc dependencies
run: uv sync --group docs
- name: Build docs (strict)
run: uv run --group docs sphinx-build -W -b html docs docs/_build/html