bonitasoft / bonita-documentation-site

The sources of the Bonita Documentation site
https://documentation.bonitasoft.com/
GNU General Public License v2.0
9 stars 5 forks source link

"Publish PR preview" comments: don't include extra files in the list of pages #534

Closed tbouffard closed 6 months ago

tbouffard commented 1 year ago

1st use case: only update navigation files

This has been detected during implementation of #516 to fix #511. It was reproduced with https://github.com/bonitasoft/bonita-central-doc/pull/7 and https://github.com/bonitasoft/bonita-doc/pull/2318

When navigation files change, they are present in the list of URL to check, in the PR comment. However, this file are not generated as standalone pages, so the links lead to a HTTP 404. So they should remove from this list.

ℹ️ Possible future improvements: #677

2nd use case: only update the workflow generating the preview

An extra undefined/undefined link is created. See https://github.com/bonitasoft/bonita-doc/pull/2417

image

3rd use case: only update AsciiDoc attributes

Update the antora.yml file An extra undefined/undefined link is created. See https://github.com/bonitasoft/bonita-doc/pull/2415