Currently docs-builder hides the sidebar footer if the languages list is empty. But in the case where there are no translations but PDF output is enabled, this means the sidebar footer is hidden and the PDF link is inaccessible.
We should fix the logic that controls visibility of the sidebar footer so that it shows it if the languages list is non-empty OR the formats list is non-empty (and conditionally show the individual sections depending on their presence).