doc-suse-com / site

Issue Tracker for documentation.suse.com
https://github.com/SUSEdoc/documentation.suse.com-issues/issues
5 stars 0 forks source link

Choosing some language selection buttons make 'HTML' option disappear #49

Open taroth21 opened 3 years ago

taroth21 commented 3 years ago

When checking the translations for SLE 15 SP3, Julia and me stumbled across the following issue:

After selecting Magyar as language version for the Installation Quick Start, the button for the HTML output format disappears from the page. Screenshot_20210924_isse_dsc

This happens for both SLES and SLED (and also for older product versions, SLE 15 SP2 or SLE 12 SP5 for example). We could not spot errors in the docserv-conf files for those products, so it seems to be a bug.

When checking the SLE 12 SP5 docs page, I noticed that the issue is not limited to selecting 'Magyar' but also happens for the following languages:

ghost commented 3 years ago

It's not pretty but basically ~intentional:

I guess there may be a way to add in a second link to Single-HTML, and label it HTML..? I have not thought about this too much and am unsure how I would implement it.

One thing I am planning to do, however, is following James's suggestion from #47 of linking the document name instead of making people click on the small format-specific links. This may ease the situation somewhat, but you'd still see one of the links vanish when going to another language.

Ascii art of what I have in mind ([...] indicates a link)

Current situation

en-us view: Document Title               [HTML] [Single HTML] [PDF] [EPUB]

hu-hu view: Document Title               [Single HTML] [PDF] [EPUB]

Proposed new situation

en-us view: [Document Title]->HTML       [Single HTML] [PDF] [EPUB]

hu-hu view: [Document Title]->Single     [PDF] [EPUB]

Tell me what you think.

jfaltenbacher commented 3 years ago

discussed offline, let's discuss and try the new approach