Skip to content

refactor: Migrate to sphinxnotes-render#5

Open
SilverRainZ wants to merge 2 commits into
masterfrom
codex/migrate-to-render
Open

refactor: Migrate to sphinxnotes-render#5
SilverRainZ wants to merge 2 commits into
masterfrom
codex/migrate-to-render

Conversation

@SilverRainZ
Copy link
Copy Markdown
Member

  • Replace custom directive and Jinja2 Environment with render's extra context
  • Register @extra_context('recentupdates') accepting *args, **kwargs for count
  • Register @filter('strftime') via render's filter system
  • roles filter now provided by render, removing duplicate
  • Drop recentupdate_count and recentupdate_template config values
  • Remove RecentUpdateDirective and custom Environment class
  • Update docs to show new load_extra('recentupdates', 10) usage

SilverRainZ and others added 2 commits May 14, 2026 17:22
…e rendering

- Replace custom directive and Jinja2 Environment with render's extra context
- Register @extra_context('recentupdates') accepting *args, **kwargs for count
- Register @filter('strftime') via render's filter system
- roles filter now provided by render, removing duplicate
- Drop recentupdate_count and recentupdate_template config values
- Remove RecentUpdateDirective and custom Environment class
- Update docs to show new load_extra('recentupdates', 10) usage

Co-authored-by: DeepSeek <service@deepseek.com>
…naming consistency

Co-authored-by: DeepSeek <service@deepseek.com>
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.

1 participant