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

sidebar_class_name dont provided #10864

Closed
1 of 2 tasks
splincode opened this issue Jan 24, 2025 · 1 comment · Fixed by #10909
Closed
1 of 2 tasks

sidebar_class_name dont provided #10864

splincode opened this issue Jan 24, 2025 · 1 comment · Fixed by #10909
Labels
bug An error in the Docusaurus core causing instability or issues with its execution closed: can't repro This bug is because of some local setup that can't be reproduced.

Comments

@splincode
Copy link

Have you read the Contributing Guidelines on issues?

Description

I add sidebar_class_name

---
id: page is hidded
title: 'Hidden page'
hide_title: true
sidebar_label: 'Hidden page 🔐'
sidebar_position: 1
sidebar_class_name: hello
---

But it doesn't work, please help me.

I dont see my css class

Image

Sidebar is autogenerated

Image

Self-service

  • I'd be willing to address this documentation request myself.
@splincode splincode added documentation The issue is related to the documentation of Docusaurus status: needs triage This issue has not been triaged by maintainers labels Jan 24, 2025
@slorber
Copy link
Collaborator

slorber commented Feb 6, 2025

@splincode I'm not able to reproduce your issue, please provide a minimal runnable repro using docusaurus.new.

As you can see in #10909, the propagation of that className to sidebar items works, as our deploy preview proves.

This issue was opened as "documentation" but it looks like a bug report in disguise that I can't reproduce, so I'm going to close until you provide an actual repro.

@slorber slorber closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2025
@slorber slorber added bug An error in the Docusaurus core causing instability or issues with its execution closed: can't repro This bug is because of some local setup that can't be reproduced. and removed documentation The issue is related to the documentation of Docusaurus status: needs triage This issue has not been triaged by maintainers labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution closed: can't repro This bug is because of some local setup that can't be reproduced.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants