Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Sidebar: many functions are not listed #10731

Closed
3 tasks done
estelle opened this issue Mar 19, 2024 · 0 comments · Fixed by #10679
Closed
3 tasks done

CSS Sidebar: many functions are not listed #10731

estelle opened this issue Mar 19, 2024 · 0 comments · Fixed by #10679
Labels
has PR Issues that already have a PR p2 We want to address this but may have other higher priority items. sidebar/toc Sidebar and table of contents

Comments

@estelle
Copy link
Member

estelle commented Mar 19, 2024

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

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 19, 2024
@caugner caugner added p2 We want to address this but may have other higher priority items. sidebar/toc Sidebar and table of contents has PR Issues that already have a PR and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has PR Issues that already have a PR p2 We want to address this but may have other higher priority items. sidebar/toc Sidebar and table of contents
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants