Skip to content
Draft
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
21 changes: 21 additions & 0 deletions .github/workflows/docbook.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Validate/build docs

on:
Expand Down Expand Up @@ -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
Expand All @@ -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]
Expand Down
1 change: 1 addition & 0 deletions DC-concept-bci
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion xml/concept-bci.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
<info>
<title>Introduction to &slsa; &bci;</title>
<dm:docmanager xmlns:dm="urn:x-suse:ns:docmanager">
Expand Down