rdoc icon indicating copy to clipboard operation
rdoc copied to clipboard

Refactor Darkfish implementation

Open st0012 opened this issue 11 months ago • 1 comments

Notable changes:

Avoid using block binding to capture template variables

Under the current implementation, the template variables are captured through the render_template method's block. This makes it hard to understand if a variable is intended to be used in the template or not.

This commit changes the render_template method to require passing a hash of local variables to the template. This makes the variable scope explicit and easier to reason about.

st0012 avatar Mar 01 '25 22:03 st0012

Deploying rdoc with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8373d70
Status: ✅  Deploy successful!
Preview URL: https://831c1cc1.rdoc-6cd.pages.dev
Branch Preview URL: https://refactor-pages-sidebar.rdoc-6cd.pages.dev

View logs