rdoc
rdoc copied to clipboard
Refactor Darkfish implementation
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.
Deploying rdoc with
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 |