Skip to content

Show sidebar footer if languages list is non-empty OR formats list is non-empty #42

Description

@chrispcampbell

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

improvementInternal improvement or refactoring

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions