Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: update sidebar link formatting#2577

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Koooooo-7 merged 5 commits intodocsifyjs:developfromsy-records:fix/ptag
Jul 28, 2025

Conversation

@sy-records
Copy link
Member

Summary

There are some issues with clicking on awesome and changelog.https://preview.docsifyjs.org/#/awesome

The solution is to remove the p tag from the top level<li><p><a></a></p></li>.

Related issue, if any:

What kind of change does this PR introduce?

Bugfix

For any code change,

  • Related documentation has been updated, if needed
  • Related tests have been added or updated, if needed

Does this PR introduce a breaking change?

Yes

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge

@vercel
Copy link

vercelbot commentedJul 24, 2025
edited
Loading

The latest updates on your projects. Learn more aboutVercel for Git ↗︎

NameStatusPreviewCommentsUpdated (UTC)
docsify-preview✅ Ready (Inspect)Visit Preview💬Add feedbackJul 28, 2025 11:27am

Copy link
Member

@Koooooo-7Koooooo-7 left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think the root cause may be the styling since thedisplay:none apply to all the nona elements.
As a single line in_sidebar.md , which does't as a group but a link, we need reconsider how to structure the sidebar and refine the css selector.

&.collapse {>:not(a) {display: none;      }    }

cc@jhildenbiddle

@sy-records
Copy link
MemberAuthor

- [UI Kit](ui-kit.md)- [Awesome docsify](awesome.md)- [Changelog](changelog.md)<ul>  <li><a href="#/ui-kit" title="UI Kit">UI Kit</a></li>  <li><a href="#/awesome" title="Awesome docsify">Awesome docsify</a></li>  <li><a href="#/changelog" title="Changelog">Changelog</a></li></ul>
- Guide  - [UI Kit](ui-kit.md)- [Awesome docsify](awesome.md)- [Changelog](changelog.md)<ul>  <li><p>Guide</p>    <ul>      <li><a href="#/ui-kit" title="UI Kit">UI Kit</a></li>    </ul>  </li>  <li><p><a href="#/awesome" title="Awesome docsify">Awesome docsify</a></p></li>  <li><p><a href="#/changelog" title="Changelog">Changelog</a></p></li></ul>

@sy-recordssy-records changed the titlefix: unwrap <p> tags around <a> in top-level sidebar itemsdocs: update sidebar link formattingJul 28, 2025
@Koooooo-7Koooooo-7 merged commit5a49729 intodocsifyjs:developJul 28, 2025
8 checks passed
@sy-recordssy-records deleted the fix/ptag branchJuly 29, 2025 00:40
@sy-recordssy-records mentioned this pull requestSep 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@Koooooo-7Koooooo-7Koooooo-7 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@sy-records@Koooooo-7

[8]ページ先頭

©2009-2025 Movatter.jp