Skip to content
Open
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
9 changes: 8 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ name: 'Documentation'
on:
pull_request:
workflow_dispatch:
inputs:
enable_public_features:
# Disabling this blocks the cookie banner from appearing on localhost and other domains
description: 'Enable public features (required for public publishing)'
default: false
required: true
type: boolean
workflow_call:
concurrency:
# Group by workflow name + PR number (for PRs) or ref (for branch/tag pushes)
Expand All @@ -27,7 +34,7 @@ jobs:
export GIT_SHA=$(git show-ref --hash HEAD)
- name: 'Build docs'
env:
NVTE_DOCS_DISABLE_PUBLIC_FEATURES: '1'
NVTE_DOCS_DISABLE_PUBLIC_FEATURES: ${{ inputs.enable_public_features && '0' || '1' }}
NVTE_DOCS_SWITCHER_JSON_URL: 'versions1.json'
run: | # SPHINXOPTS="-W" errors out on warnings
doxygen docs/Doxyfile
Expand Down
Loading