Skip to content

Sidebar index plugin api#422

Merged
redimp merged 13 commits intoredimp:mainfrom
Rengyr:sidebar-index-plugin-api
Mar 22, 2026
Merged

Sidebar index plugin api#422
redimp merged 13 commits intoredimp:mainfrom
Rengyr:sidebar-index-plugin-api

Conversation

@Rengyr
Copy link
Contributor

@Rengyr Rengyr commented Mar 20, 2026

Three things added in this PR for #420 (Add Sidebar page index plugin API)

  • Small cleanup/refactor of the sidebar.py
  • New plugin hooks for sidebar page index filter and sort
  • Example plugin for sidebar page index filter and sort
    • The example is simple to show and test the hooks. It filter files ending with "_hidden" unless it is the current file and sorts the index in reverse.

Copy link
Owner

@redimp redimp left a comment

Choose a reason for hiding this comment

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

Hey @Rengyr, thank you for this PR. Please address the issues that I found.

@Rengyr Rengyr force-pushed the sidebar-index-plugin-api branch from 84b090e to 39c6d2b Compare March 21, 2026 17:32
@Rengyr Rengyr requested a review from redimp March 21, 2026 17:35
Copy link
Owner

@redimp redimp 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 addressing the issues. Looks to to me.

I did some minor tweaks.

@redimp redimp merged commit 8a116bb into redimp:main Mar 22, 2026
@Rengyr Rengyr deleted the sidebar-index-plugin-api branch March 22, 2026 10:36
@redimp
Copy link
Owner

redimp commented Mar 22, 2026

Released in v2.18.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants