gansheer commented on PR #7891:
URL: https://github.com/apache/camel-quarkus/pull/7891#issuecomment-3443593279
> > Would there be an point to have more complete documentation check that
could be executed before or at the beginning of a release process ? (or on
demand)
>
> It'd maybe be too late at that stage. Usually if we break the website we
get notified pretty quickly and fix it before releases etc.
>
> Do we know how long a full docs build (with link checks etc) would take?
The full docs build with a complete check would take approximatively 40min
to run and would look like this:
```
- name: Validate documentation
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
cd camel-website
yarn workspaces foreach --all install
cd ../camel-quarkus/docs
yarn install
./local-build.sh full
cd ../../camel-website
yarn build:hugo
yarn checks
```
It does not work correctly yet because I am missing some configuration and
as a result the checks get too strict. Also the full build involves building
the documentation from all repositories and would end up in failure with any
error if any of the other repositories has its own error.
There are improvments to be made in the full build and check process I think
before adding it to a sub-repo.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]