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
8 changes: 4 additions & 4 deletions .github/workflows/docs-branch-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,24 @@ jobs:
docs-build:
if: ${{ inputs.html || github.event_name == 'push' }}
name: Generate HTML
uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v1.2.0
uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v2.0.0-rc-1
with:
retain-artifacts: 14
deploy-id: 0

docs-verify:
name: Verify HTML
needs: docs-build
uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v1.2.0
uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v2.0.0-rc-1

docs-links:
if: ${{ inputs.links || github.event_name == 'push' }}
name: Check links
needs: docs-build
uses: neo4j/docs-tools/.github/workflows/reusable-docs-links.yml@v1.2.0
uses: neo4j/docs-tools/.github/workflows/reusable-docs-links.yml@v2.0.0-rc-1

docs-lint:
if: ${{ inputs.lint || github.event_name == 'push' }}
name: Lint docs
uses: neo4j/docs-tools/.github/workflows/reusable-docs-lint.yml@v1.2.0
uses: neo4j/docs-tools/.github/workflows/reusable-docs-lint.yml@v2.0.0-rc-1

7 changes: 4 additions & 3 deletions .github/workflows/docs-pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ jobs:

# Generate HTML
docs-build-pr:
uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v1.2.0
uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v2.0.0-rc-1
with:
deploy-id: ${{ github.event.number }}
retain-artifacts: 14
antora-extensions-exclude: "@neo4j-antora/xref-hash-validator" # Exclude the xref hash validator extension

# Parse the json log output from the HTML build, and output warnings and errors as annotations
# Optionally, fail the build if there are warnings or errors
# By default, the job fails if there are errors, passes if there are warnings only.
docs-verify-pr:
needs: docs-build-pr
uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v1.2.0
uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v2.0.0-rc-1
with:
failOnWarnings: true

Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
docs-updates-comment-pr:
if: needs.docs-build-pr.outputs.pages-listed == 'success'
needs: [docs-build-pr, docs-changes-pr]
uses: neo4j/docs-tools/.github/workflows/reusable-docs-pr-changes.yml@v1.2.0
uses: neo4j/docs-tools/.github/workflows/reusable-docs-pr-changes.yml@v2.0.0-rc-1
with:
pages-modified: ${{ needs.docs-changes-pr.outputs.pages-modified }}
pages-added: ${{ needs.docs-changes-pr.outputs.pages-added }}