mdn / yari

The platform code behind MDN Web Docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS Sidebar: many functions are not listed

estelle opened this issue · comments

Summary

In the CSS sidebar, many of the function pages are not listed. For example, the color functions, which have the page type css-function but are nested in the color_value directory are not listed under the Functions header in the sidebar.

URL

https://developer.mozilla.org/en-US/docs/Web/CSS/calc

see that calc() is listed, but hsl() is not.

Reproduction steps

  1. visit any CSS page
  2. scroll to "functions" in the sidebar.
  3. Notice that many functions are missing.

Expected behavior

all the CSS functions should be listed under the Functions header -- all pages with page-type: css-function in the front matter.

Actual behavior

Only top level pages with the page-type: css-function frontmatter are displayed in the side bar. If a css function is nested under any contend other than directly in /CSS/, the function is not displayed in the sidebar.

Device

Desktop

Browser

Chrome

Browser version

Stable

Operating system

Android

Screenshot

No response

Anything else?

No response

Validations