diff --git a/.github/workflows/docbook.yml b/.github/workflows/docbook.yml index 0735e0a73..b56fedda4 100644 --- a/.github/workflows/docbook.yml +++ b/.github/workflows/docbook.yml @@ -1,3 +1,4 @@ +--- name: Validate/build docs on: @@ -50,6 +51,9 @@ jobs: validate: runs-on: ubuntu-latest needs: select-dc-files + outputs: + failed-dc-files: ${{ steps.gha-validate.outputs.failed-dc-files }} + successful-dc-files: ${{ steps.gha-validate.outputs.successful-dc-files }} strategy: # don't cancel all validation runners when one of them fails, we want full results fail-fast: false @@ -59,10 +63,27 @@ jobs: - uses: actions/checkout@v3 - name: Validating DC file(s) ${{ matrix.dc-files }} uses: openSUSE/doc-ci@gha-validate + id: gha-validate with: dc-files: ${{ matrix.dc-files }} + summary: + runs-on: ubuntu-latest + needs: [validate] + if: ${{ always() }} + steps: + - name: Collecting files for job summary + run: | + echo '### Validation results' >> $GITHUB_STEP_SUMMARY + for file in ${{ job.validate.outputs.failed-dc-files }}; do + echo '* :negative_squared_cross_mark:' "$file" >> $GITHUB_STEP_SUMMARY + done + for file in ${{ job.validate.outputs.successful-dc-files }}; do + echo '* :heavy_check_mark:' "$file" >> $GITHUB_STEP_SUMMARY + done + + build-html: runs-on: ubuntu-latest needs: [select-dc-files, validate] diff --git a/DC-concept-bci b/DC-concept-bci index b6998a264..022e727df 100644 --- a/DC-concept-bci +++ b/DC-concept-bci @@ -1,5 +1,6 @@ # This file originates from the project https://github.com/openSUSE/doc-kit # This file can be edited downstream. +# MAIN="concept-bci.xml" ROOTID="concept-bci" diff --git a/xml/concept-bci.xml b/xml/concept-bci.xml index bc366f10b..3cd59d4e9 100644 --- a/xml/concept-bci.xml +++ b/xml/concept-bci.xml @@ -31,7 +31,7 @@ e.g. concept-fencing--> xmlns="http://docbook.org/ns/docbook" version="5.1" xmlns:its="http://www.w3.org/2005/11/its" xmlns:xi="http://www.w3.org/2001/XInclude" - xmlns:xlink="http://www.w3.org/1999/xlink"> + xmlns:xlink="http://www.w3.org/1999/xlink" Introduction to &slsa; &bci;