The ideal scenario could be when the code PR is merged:
If the docs PR is already approved
It automatically merges it (docs PR)
If the docs PR is still opened
The proper message will be set in the docs PR. So when the docs PR is closed we can manually merge it if the code PR is already merged