profilerpedia icon indicating copy to clipboard operation
profilerpedia copied to clipboard

"Ui platforms" is capitalised strangely.

Open mhansen opened this issue 4 years ago • 3 comments

In the top left it's wrong. In the bottom right it's capitalised correctly.

Probably will have to file an upstream bug on Docsy?

image

mhansen avatar Oct 24 '21 06:10 mhansen

Here's the trouble: this 'humanize' call:

https://github.com/google/docsy/blob/134fb96db883f73c16ffbf1f1f27131ad04486bc/layouts/partials/taxonomy_terms_article.html#L5

mhansen avatar Oct 24 '21 06:10 mhansen

Here's where it's done the other way:

https://github.com/google/docsy/blob/134fb96db883f73c16ffbf1f1f27131ad04486bc/layouts/partials/taxonomy_terms_clouds.html#L5

mhansen avatar Oct 24 '21 06:10 mhansen

We'd need to probably introduce some extra parallel array for taxonomy titles on page. like taxonomyPageHeaderTitle. It's getting a bit out of hand and duplicative though.

https://github.com/google/docsy/blob/c36be07b2dcb9aa5aa01bad6ed0f8e111dd0452c/layouts/_default/content.html#L8

mhansen avatar Oct 24 '21 06:10 mhansen