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

feat: add previous and next button in content.html #763

Merged
merged 11 commits into from
Sep 21, 2023
Merged

Conversation

malone6
Copy link
Contributor

@malone6 malone6 commented Sep 18, 2023

If this PR is related to coding or code translation, please fill out the checklist and paste the console outputs to the PR.

  • I've tested the code and ensured the outputs are the same as the outputs of reference codes.
  • I've checked the codes (formatting, comments, indentation, file header, etc) carefully.
  • The code does not rely on a particular environment or IDE and can be executed on a standard system (Win, macOS, Ubuntu).

malone6 and others added 8 commits September 13, 2023 16:55
栈空的时候不能再 peek() 。另外由于 pop() 复用了 peek() ,栈空时返回的 None 会传递到 pop() 中的 num ,导致后续的继续执行 
 self.peek.next 报错等后续问题
fix: linkedlist_stack.py 中的peek方法需要判空raise Error
@vercel
Copy link

vercel bot commented Sep 18, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
hello-algo ⬜️ Ignored (Inspect) Visit Preview Sep 21, 2023 10:38am

@krahets krahets changed the title feat: Move the pagination nav above the comments feat: add previous and next button in content Sep 21, 2023
@krahets krahets changed the title feat: add previous and next button in content feat: add previous and next button in content.html Sep 21, 2023
@krahets krahets added the enhancement Brand new feature label Sep 21, 2023
@malone6
Copy link
Contributor Author

malone6 commented Sep 21, 2023

footer中翻页也要同时保留是吧

Copy link
Owner

@krahets krahets left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@krahets krahets merged commit 1657418 into krahets:main Sep 21, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Brand new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants