Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ repos:
hooks:
- id: ruff
- id: ruff-format

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
4 changes: 2 additions & 2 deletions scripts/get_openstack_plaintext_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ deps =
"

echo "Generating the plain-text documentation for OpenStack $project"

echo "OS_API_DOCS is set to: $OS_API_DOCS"

# Clone the project's repository, if not present
Expand Down Expand Up @@ -272,7 +272,7 @@ deps =
mkdir -p "$project_output_dir"
# Only copy if text docs were built (skipped for neutron-lib)
[ -d "doc/build/text" ] && cp -r doc/build/text "$project_output_dir"/"$_output_version"_docs

# Copy API-Ref documentation only if OS_API_DOCS is enabled and build succeeded
if [ "$OS_API_DOCS" = "true" ] && [ -d "./api-ref/source" ] && \
[ "$api_ref_failed" != "true" ] && [ -d "api-ref/build/text" ]; then
Expand Down