-
Notifications
You must be signed in to change notification settings - Fork 182
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
Strikeout deprecated headings in sidemenu for docusaurus #747
Comments
Yes can do this. Will need to expose an additional flag to navigation via typedoc-plugin-markdown too. Will add to list for next release. |
Epic thanks @tgreyuk! |
This functionality is available in: |
Hi @tgreyuk thanks a lot for this! Not to sound ungrateful but is it possible to make the strikeout more apparent and have the line not miss any space please? ![]() ![]() It also looks like the font is changed from to when it is stricken out ![]() |
Thanks @DominicGBauer for feedback :) The issue here is that the strikethough has been created with the Unicode Was probably a bit hasty getting this out and I think a plan B is required here. New proposed solution is to add a class name to the relevant sidebar item. This could then be handled properly by css. Like so:
![]() Generated html: ![]()
![]()
![]() output: ![]() Does this seem reasonable? It gives users greater flexibility - could make the class name configurable if useful. |
Hi @tgreyuk yes please that would be brilliant! Thanks a lot :) |
This is perfect :D! Thank you very much @tgreyuk! |
What package is the feature request related to?
docusaurus-plugin-typedoc
Background
When using docusaurus plugin with sidemenu, the sidemenu title is not struck out when deprecated.

Proposed solution
It would really be nice if the sidemenu item is struck out when deprecated. Example from dart docs

The text was updated successfully, but these errors were encountered: