Generate docs for all PRs without publishing them
|Target version:||Current Sprint|
generate-documentation script checks a few conditions:
- Branch is master
- A PR is being built
- We want to publish the docs
If all of these are true docs are generated and published. Conversely we won't know about problems with docs until after changes have been merged, if these checks do work as specified.
#2188 optimizes the decision to (not) run the script.
We can take it one step further by enabling a job to generate, or generate and publish, in the cases we care for and have the script do one or both. And while we're at it, let's remove the second-guessing from the docs script, and have the logic in one place.
#6 Updated by andriinikitin 4 months ago
- Status changed from Blocked to In Progress
The request "Generate docs for all PRs" was fixed by https://github.com/os-autoinst/openQA/pull/2405 , and documentation is being built in every CI run.
I don't see how " let's remove the second-guessing from the docs script " can be beneficial, so I am not implementing it at the moment.
So I mark this ticket as Resolved, and feel free to reassign it and reopen or create another ticket if you think more work must be done.