GitLab Docs Live on Branches
A GitLab repository is not one document — it is a tree of documents at a particular commit. Exporting the wrong ref produces a correct PDF of the wrong release.
MarkdownGo Blog
Run the free check first — it applies the same preflight as the PDF/UA export, so you see what would fail before you spend a conversion.