Skip to content

Commit caa8ffd

Browse files
Cleanup AI comments
1 parent 31b7aaf commit caa8ffd

2 files changed

Lines changed: 12 additions & 24 deletions

File tree

‎.github/workflows/generate-docs.yml‎

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,14 @@ name: Generate docs
22
permissions:
33
contents: read
44

5-
# Builds the Doxygen docs and uploads them as a workflow artifact (without
6-
# publishing). Two roles:
7-
#
8-
# 1. Dry-run on every PR that touches C++ code (or other Doxygen inputs) so
9-
# docs breakage is caught before merge. The artifact is attached to the
10-
# workflow run so reviewers can download a preview.
11-
# 2. Reusable workflow consumed by publish-docs.yml: builds the docs, prints
12-
# the resolved version, and uploads the docs/doxygen/html/ directory as an
13-
# artifact for a downstream publish job to consume. Avoids double-building
14-
# the docs.
15-
#
16-
# Artifact layout: actions/upload-artifact@v4+ uses the longest common path of
17-
# all uploaded files as the artifact root. With `path: docs/doxygen/html/`, the
18-
# artifact contains the *contents* of that directory at the artifact root
19-
# (index.html, favicon.ico, …) -- NOT nested under docs/doxygen/html/. The
20-
# `html/` prefix that publish-docs.yml relies on comes from the *download*
21-
# step's `path: html` parameter, not from the artifact itself. The
22-
# "Re-download artifact" + "Inspect downloaded artifact" steps below prove
23-
# this end-to-end on every run by re-downloading with `path: html` and
24-
# asserting `html/index.html` is present.
5+
# Generates Doxygen docs and uploads them as a workflow artifact.
6+
7+
# This workflow is used to validate documentation before merge, for example catching
8+
# things like broken @ref tags, missing @param tags, etc.
9+
10+
# The artifact is attached to the workflow run so reviewers can download a preview,
11+
# but also to verify the documentation artifact is valid for subsequent release runs
12+
# that will publish them to the LiveKit docs web page: https://docs.livekit.io/reference/client-sdk-cpp/
2513
on:
2614
pull_request:
2715
branches: ["main"]
@@ -41,7 +29,7 @@ on:
4129
required: false
4230
type: string
4331
upload_artifact:
44-
description: 'Upload the built docs/doxygen/html/ tree as a workflow artifact'
32+
description: 'Upload the generated docs folder as a workflow artifact'
4533
required: false
4634
type: boolean
4735
default: true
@@ -51,7 +39,7 @@ on:
5139
type: string
5240
default: livekit-cpp-docs
5341
artifact_retention_days:
54-
description: 'Retention (days) for the uploaded docs artifact. Default tuned for PR-preview use.'
42+
description: 'Retention (days) for the uploaded docs artifact'
5543
required: false
5644
type: number
5745
default: 7

‎.github/workflows/publish-docs.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: 'Documentation version (for example, 0.1.0 or v0.1.0)'
7+
description: 'Documentation version (e.g. v0.1.0)'
88
required: false
99
type: string
1010
workflow_call:
1111
inputs:
1212
version:
13-
description: 'Documentation version (for example, 0.1.0 or v0.1.0)'
13+
description: 'Documentation version (e.g. v0.1.0)'
1414
required: false
1515
type: string
1616

0 commit comments

Comments
 (0)